Home
last modified time | relevance | path

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

/PHP-8.1/ext/hash/sha3/generic32lc/
H A DKeccakHash.c23 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()
54 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate()
64 HashReturn Keccak_HashFinal(Keccak_HashInstance *instance, BitSequence *hashval) in Keccak_HashFinal()
66HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal()
68 …return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, hashval, instance->fixedOutput… in Keccak_HashFinal()
75 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitl… in Keccak_HashSqueeze()
[all …]
H A 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…
98 HashReturn Keccak_HashFinal(Keccak_HashInstance *hashInstance, BitSequence *hashval);
109 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength data…
/PHP-8.1/ext/hash/sha3/generic64lc/
H A DKeccakHash.c23 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()
54 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate()
64 HashReturn Keccak_HashFinal(Keccak_HashInstance *instance, BitSequence *hashval) in Keccak_HashFinal()
66HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorbLastFewBits(&instance->sponge, instance->… in Keccak_HashFinal()
68 …return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, hashval, instance->fixedOutput… in Keccak_HashFinal()
75 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitl… in Keccak_HashSqueeze()
[all …]
H A 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…
98 HashReturn Keccak_HashFinal(Keccak_HashInstance *hashInstance, BitSequence *hashval);
109 HashReturn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength data…

Completed in 10 milliseconds