Searched refs:SHA2_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
24 #define SHA2_BLOCK_SIZE 64U //in bytes macro35 uint8_t b[SHA2_BLOCK_SIZE];
71 for (i = 0; i < SHA2_BLOCK_SIZE / sizeof(uint32_t); i++) in sha2processBlock()131 if (bytesToCopy > SHA2_BLOCK_SIZE - state->bufBytesUsed) in sha2processBytes()132 bytesToCopy = SHA2_BLOCK_SIZE - state->bufBytesUsed; in sha2processBytes()139 if (state->bufBytesUsed == SHA2_BLOCK_SIZE) { in sha2processBytes()
426 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()