Home
last modified time | relevance | path

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

/PHP-7.2/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c242 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
248 for(lanePosition=0; lanePosition<byteCount/8; lanePosition++) in KeccakP1600_OverwriteWithZeroes()
253 if (byteCount%8 != 0) { in KeccakP1600_OverwriteWithZeroes()
254 lanePosition = byteCount/8; in KeccakP1600_OverwriteWithZeroes()
256 memset((unsigned char*)state+lanePosition*8, 0xFF, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
258 memset((unsigned char*)state+lanePosition*8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
261 memset(state, 0, byteCount); in KeccakP1600_OverwriteWithZeroes()
H A DKeccakP-1600-SnP.h42 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
/PHP-7.2/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-SnP.h31 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
H A DKeccakP-1600-inplace32BI.c267 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
272 for(i=0; i<byteCount/8; i++) { in KeccakP1600_OverwriteWithZeroes()
276 if (byteCount%8 != 0) in KeccakP1600_OverwriteWithZeroes()
277 KeccakP1600_SetBytesInLaneToZero(state, byteCount/8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()

Completed in 10 milliseconds