Searched refs:databitlen (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/_sha3/kcp/ |
D | KeccakHash.c | 37 …rn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength databitlen) in Keccak_HashUpdate() argument 39 if ((databitlen % 8) == 0) 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() 46 unsigned char lastByte = data[databitlen/8]; in Keccak_HashUpdate() 49 …short)((unsigned short)lastByte | ((unsigned short)instance->delimitedSuffix << (databitlen % 8))); in Keccak_HashUpdate() 77 …hReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitlen) in Keccak_HashSqueeze() argument 79 if ((databitlen % 8) != 0) in Keccak_HashSqueeze() 81 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()
|
D | KeccakHash.h | 85 …ccak_HashUpdate(Keccak_HashInstance *hashInstance, const BitSequence *data, DataLength databitlen); 110 …rn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength databitlen);
|