1 /* copyright: Steve Dekorte, 2002
2 * All rights reserved. See _BSDLicense.txt.
6 #define IOSHA1_DEFINED 1
12 #define ISSHA1(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSHA1_rawClone)
14 typedef IoObject IoSHA1
;
19 u_int8_t digest
[SHA1_DIGEST_LENGTH
];
23 IoSHA1
*IoSHA1_rawClone(IoSHA1
*self
);
24 IoSHA1
*IoSHA1_proto(void *state
);
25 IoSHA1
*IoSHA1_new(void *state
);
27 void IoSHA1_free(IoSHA1
*self
);
28 void IoSHA1_mark(IoSHA1
*self
);
30 /* ----------------------------------------------------------- */
32 IoObject
*IoSHA1_appendSeq(IoSHA1
*self
, IoObject
*locals
, IoMessage
*m
);
33 IoObject
*IoSHA1_sha1(IoSHA1
*self
, IoObject
*locals
, IoMessage
*m
);
34 IoObject
*IoSHA1_sha1String(IoSHA1
*self
, IoObject
*locals
, IoMessage
*m
);