Lines Matching refs:HashReturn
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()
54 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate()
64 HashReturn Keccak_HashFinal(Keccak_HashInstance *instance, BitSequence *hashval) in Keccak_HashFinal()
66 …HashReturn 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()
79 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()