Home
last modified time | relevance | path

Searched refs:digestlen (Results 1 – 2 of 2) sorted by relevance

/external/usrsctp/usrsctplib/netinet/
Dsctp_auth.c952 uint32_t digestlen; local
966 digestlen = sctp_get_hmac_digest_len(hmac_algo);
967 if (digestlen == 0)
977 keylen = digestlen;
1001 sctp_hmac_update(hmac_algo, &ctx, temp, digestlen);
1004 return (digestlen);
1012 uint32_t digestlen; local
1026 digestlen = sctp_get_hmac_digest_len(hmac_algo);
1027 if (digestlen == 0)
1037 keylen = digestlen;
[all …]
/external/python/cpython3/Modules/_sha3/
Dsha3module.c588 _SHAKE_digest(SHA3object *self, unsigned long digestlen, int hex) in _SHAKE_digest() argument
595 if (digestlen >= (1 << 29)) { in _SHAKE_digest()
602 digest = (unsigned char*)PyMem_Malloc(digestlen + SHA3_LANESIZE); in _SHAKE_digest()
616 res = SHA3_squeeze(&temp, digest, digestlen * 8); in _SHAKE_digest()
622 result = _Py_strhex((const char *)digest, digestlen); in _SHAKE_digest()
625 digestlen); in _SHAKE_digest()