Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_sha3/
Dsha3module.c587 unsigned long digestlen; in _SHAKE_digest() local
593 digestlen = PyLong_AsUnsignedLong(digestlen_obj); in _SHAKE_digest()
594 if (digestlen == (unsigned long) -1 && PyErr_Occurred()) { in _SHAKE_digest()
597 if (digestlen >= (1 << 29)) { in _SHAKE_digest()
604 digest = (unsigned char*)PyMem_Malloc(digestlen + SHA3_LANESIZE); in _SHAKE_digest()
618 res = SHA3_squeeze(&temp, digest, digestlen * 8); in _SHAKE_digest()
624 result = _Py_strhex((const char *)digest, digestlen); in _SHAKE_digest()
627 digestlen); in _SHAKE_digest()