Searched refs:HashReturn (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/_sha3/kcp/ |
D | KeccakHash.c | 21 HashReturn Keccak_HashInitialize(Keccak_HashInstance *instance, unsigned int rate, unsigned int cap… in Keccak_HashInitialize() 23 HashReturn result; in Keccak_HashInitialize() 27 result = (HashReturn)KeccakWidth1600_SpongeInitialize(&instance->sponge, rate, capacity); in Keccak_HashInitialize() 37 HashReturn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength dat… in Keccak_HashUpdate() 40 return (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() 42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() 56 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate() 66 HashReturn Keccak_HashFinal(Keccak_HashInstance *instance, BitSequence *hashval) in Keccak_HashFinal() 68 …HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal() 70 …return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, hashval, instance->fixedOutput… in Keccak_HashFinal() [all …]
|
D | KeccakHash.h | 26 typedef enum { SUCCESS = 0, FAIL = 1, BAD_HASHLEN = 2 } HashReturn; typedef 49 HashReturn Keccak_HashInitialize(Keccak_HashInstance *hashInstance, unsigned int rate, unsigned int… 85 HashReturn Keccak_HashUpdate(Keccak_HashInstance *hashInstance, const BitSequence *data, DataLength… 99 HashReturn Keccak_HashFinal(Keccak_HashInstance *hashInstance, BitSequence *hashval); 110 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength data…
|
/external/python/cpython3/Modules/_sha3/ |
D | sha3module.c | 201 HashReturn res; in py_sha3_new_impl() 330 HashReturn res; in _sha3_sha3_224_digest_impl() 357 HashReturn res; in _sha3_sha3_224_hexdigest_impl() 387 HashReturn res; in _sha3_sha3_224_update()
|