Lines Matching refs:SHAobject
57 } SHAobject; typedef
86 static void SHAcopy(SHAobject *src, SHAobject *dest) in SHAcopy()
137 sha512_transform(SHAobject *sha_info) in sha512_transform()
254 sha512_init(SHAobject *sha_info) in sha512_init()
272 sha384_init(SHAobject *sha_info) in sha384_init()
293 sha512_update(SHAobject *sha_info, SHA_BYTE *buffer, int count) in sha512_update()
333 sha512_final(unsigned char digest[SHA_DIGESTSIZE], SHAobject *sha_info) in sha512_final()
448 static SHAobject *
451 return (SHAobject *)PyObject_New(SHAobject, &SHA384type); in newSHA384object()
454 static SHAobject *
457 return (SHAobject *)PyObject_New(SHAobject, &SHA512type); in newSHA512object()
474 SHA512_copy(SHAobject *self, PyObject *unused) in SHA512_copy()
476 SHAobject *newobj; in SHA512_copy()
494 SHA512_digest(SHAobject *self, PyObject *unused) in SHA512_digest()
497 SHAobject temp; in SHA512_digest()
508 SHA512_hexdigest(SHAobject *self, PyObject *unused) in SHA512_hexdigest()
511 SHAobject temp; in SHA512_hexdigest()
547 SHA512_update(SHAobject *self, PyObject *args) in SHA512_update()
577 if (((SHAobject *)self)->digestsize == 64) in SHA512_get_name()
596 {"digest_size", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
599 {"digestsize", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
606 sizeof(SHAobject), /*tp_basicsize*/
640 sizeof(SHAobject), /*tp_basicsize*/
681 SHAobject *new; in SHA512_new()
716 SHAobject *new; in SHA384_new()