Searched refs:databitlen (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/hash/sha3/generic32lc/ |
H A 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() 45 unsigned char lastByte = data[databitlen/8]; in Keccak_HashUpdate() 47 …short)((unsigned short)lastByte | ((unsigned short)instance->delimitedSuffix << (databitlen % 8))); in Keccak_HashUpdate() 75 …hReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitlen) in Keccak_HashSqueeze() argument 77 if ((databitlen % 8) != 0) in Keccak_HashSqueeze() 79 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()
|
H A D | KeccakHash.h | 85 …ccak_HashUpdate(Keccak_HashInstance *hashInstance, const BitSequence *data, DataLength databitlen); 109 …rn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength databitlen);
|
/PHP-8.0/ext/hash/sha3/generic64lc/ |
H A 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() 45 unsigned char lastByte = data[databitlen/8]; in Keccak_HashUpdate() 47 …short)((unsigned short)lastByte | ((unsigned short)instance->delimitedSuffix << (databitlen % 8))); in Keccak_HashUpdate() 75 …hReturn Keccak_HashSqueeze(Keccak_HashInstance *instance, BitSequence *data, DataLength databitlen) in Keccak_HashSqueeze() argument 77 if ((databitlen % 8) != 0) in Keccak_HashSqueeze() 79 return (HashReturn)KeccakWidth1600_SpongeSqueeze(&instance->sponge, data, databitlen/8); in Keccak_HashSqueeze()
|
H A D | KeccakHash.h | 85 …ccak_HashUpdate(Keccak_HashInstance *hashInstance, const BitSequence *data, DataLength databitlen); 109 …rn Keccak_HashSqueeze(Keccak_HashInstance *hashInstance, BitSequence *data, DataLength databitlen);
|
Completed in 7 milliseconds