Home
last modified time | relevance | path

Searched refs:SHA2_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/device/google/contexthub/lib/include/nanohub/
Dsha2.h24 #define SHA2_BLOCK_SIZE 64U //in bytes macro
35 uint8_t b[SHA2_BLOCK_SIZE];
/device/google/contexthub/lib/nanohub/
Dsha2.c71 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()
/device/google/contexthub/firmware/os/core/
DappSec.c425 bool verified = memcmp(hash, state->dataBytes, SHA2_BLOCK_SIZE) == 0; in appSecVerifyEncryptedData()