Lines Matching refs:SHAobject
55 } SHAobject; typedef
85 static void SHAcopy(SHAobject *src, SHAobject *dest) in SHAcopy()
135 sha512_transform(SHAobject *sha_info) in sha512_transform()
254 sha512_init(SHAobject *sha_info) in sha512_init()
271 sha384_init(SHAobject *sha_info) in sha384_init()
291 sha512_update(SHAobject *sha_info, SHA_BYTE *buffer, Py_ssize_t count) in sha512_update()
331 sha512_final(unsigned char digest[SHA_DIGESTSIZE], SHAobject *sha_info) in sha512_final()
446 static SHAobject *
449 return (SHAobject *)PyObject_New(SHAobject, &SHA384type); in newSHA384object()
452 static SHAobject *
455 return (SHAobject *)PyObject_New(SHAobject, &SHA512type); in newSHA512object()
476 SHA512Type_copy_impl(SHAobject *self) in SHA512Type_copy_impl()
479 SHAobject *newobj; in SHA512Type_copy_impl()
500 SHA512Type_digest_impl(SHAobject *self) in SHA512Type_digest_impl()
504 SHAobject temp; in SHA512Type_digest_impl()
518 SHA512Type_hexdigest_impl(SHAobject *self) in SHA512Type_hexdigest_impl()
522 SHAobject temp; in SHA512Type_hexdigest_impl()
541 SHA512Type_update(SHAobject *self, PyObject *obj) in SHA512Type_update()
571 if (((SHAobject *)self)->digestsize == 64) in SHA512_get_name()
590 {"digest_size", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
597 sizeof(SHAobject), /*tp_basicsize*/
631 sizeof(SHAobject), /*tp_basicsize*/
677 SHAobject *new; in _sha512_sha512_impl()
717 SHAobject *new; in _sha512_sha384_impl()