Searched refs:SHA1_DIGESTSIZE (Results 1 – 1 of 1) sorted by relevance
41 #define SHA1_DIGESTSIZE 20 macro371 unsigned char digest[SHA1_DIGESTSIZE]; in SHA1Type_digest_impl()376 return PyBytes_FromStringAndSize((const char *)digest, SHA1_DIGESTSIZE); in SHA1Type_digest_impl()389 unsigned char digest[SHA1_DIGESTSIZE]; in SHA1Type_hexdigest_impl()396 return _Py_strhex((const char *)digest, SHA1_DIGESTSIZE); in SHA1Type_hexdigest_impl()445 return PyLong_FromLong(SHA1_DIGESTSIZE); in sha1_get_digest_size()