Home
last modified time | relevance | path

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

/PHP-8.0/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c251 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
257 for(lanePosition=0; lanePosition<byteCount/8; lanePosition++) in KeccakP1600_OverwriteWithZeroes()
262 if (byteCount%8 != 0) { in KeccakP1600_OverwriteWithZeroes()
263 lanePosition = byteCount/8; in KeccakP1600_OverwriteWithZeroes()
265 memset((unsigned char*)state+lanePosition*8, 0xFF, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
267 memset((unsigned char*)state+lanePosition*8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
270 memset(state, 0, byteCount); in KeccakP1600_OverwriteWithZeroes()
H A DKeccakP-1600-SnP.h42 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
/PHP-8.0/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-SnP.h31 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
H A DKeccakP-1600-inplace32BI.c277 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
282 for(i=0; i<byteCount/8; i++) { in KeccakP1600_OverwriteWithZeroes()
286 if (byteCount%8 != 0) in KeccakP1600_OverwriteWithZeroes()
287 KeccakP1600_SetBytesInLaneToZero(state, byteCount/8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()

Completed in 18 milliseconds