Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_sha3/kcp/
DKeccakHash.c21 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()
42HashReturn 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()
68HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal()
70 …return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, hashval, instance->fixedOutput… in Keccak_HashFinal()
[all …]
DKeccakHash.h26 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/
Dsha3module.c201 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()