Searched refs:bufBytesUsed (Results 1 – 2 of 2) sorted by relevance
32 state->bufBytesUsed = 0; in sha2init()131 if (bytesToCopy > SHA2_BLOCK_SIZE - state->bufBytesUsed) in sha2processBytes()132 bytesToCopy = SHA2_BLOCK_SIZE - state->bufBytesUsed; in sha2processBytes()133 memcpy(state->b + state->bufBytesUsed, inBytes, bytesToCopy); in sha2processBytes()136 state->bufBytesUsed += bytesToCopy; in sha2processBytes()139 if (state->bufBytesUsed == SHA2_BLOCK_SIZE) { in sha2processBytes()141 state->bufBytesUsed = 0; in sha2processBytes()157 while (state->bufBytesUsed != 56) in sha2finish()
37 uint8_t bufBytesUsed; member