Lines Matching refs:SHAobject
54 } SHAobject; typedef
76 static void SHAcopy(SHAobject *src, SHAobject *dest) in SHAcopy()
126 sha_transform(SHAobject *sha_info) in sha_transform()
229 sha_init(SHAobject *sha_info) in sha_init()
246 sha224_init(SHAobject *sha_info) in sha224_init()
266 sha_update(SHAobject *sha_info, SHA_BYTE *buffer, Py_ssize_t count) in sha_update()
306 sha_final(unsigned char digest[SHA_DIGESTSIZE], SHAobject *sha_info) in sha_final()
381 static SHAobject *
384 return (SHAobject *)PyObject_New(SHAobject, &SHA224type); in newSHA224object()
387 static SHAobject *
390 return (SHAobject *)PyObject_New(SHAobject, &SHA256type); in newSHA256object()
411 SHA256Type_copy_impl(SHAobject *self) in SHA256Type_copy_impl()
414 SHAobject *newobj; in SHA256Type_copy_impl()
435 SHA256Type_digest_impl(SHAobject *self) in SHA256Type_digest_impl()
439 SHAobject temp; in SHA256Type_digest_impl()
453 SHA256Type_hexdigest_impl(SHAobject *self) in SHA256Type_hexdigest_impl()
457 SHAobject temp; in SHA256Type_hexdigest_impl()
476 SHA256Type_update(SHAobject *self, PyObject *obj) in SHA256Type_update()
506 if (((SHAobject *)self)->digestsize == 32) in SHA256_get_name()
525 {"digest_size", T_INT, offsetof(SHAobject, digestsize), READONLY, NULL},
532 sizeof(SHAobject), /*tp_basicsize*/
566 sizeof(SHAobject), /*tp_basicsize*/
612 SHAobject *new; in _sha256_sha256_impl()
652 SHAobject *new; in _sha256_sha224_impl()