Searched refs:SHA2_HASH_WORDS (Results 1 – 5 of 5) sorted by relevance
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 142 printHash(stderr, "HASH", hash, SHA2_HASH_WORDS); in handleEncrypt() 161 …uint32_t fileHash[((SHA2_HASH_WORDS + AES_BLOCK_WORDS - 1) / AES_BLOCK_WORDS) * AES_BLOCK_WORDS], … in handleDecrypt() 221 printHash(stderr, "HASH [calc]", calcHash, SHA2_HASH_WORDS); in handleDecrypt() 222 printHash(stderr, "HASH [file]", fileHash, SHA2_HASH_WORDS); in handleDecrypt()
|
/device/google/contexthub/lib/include/nanohub/ |
D | sha2.h | 28 #define SHA2_HASH_WORDS 8U //in words macro
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 171 printHash(stderr, "Recovered hash ", rsaResult, SHA2_HASH_WORDS); in validateSignature() 172 printHash(stderr, "Calculated hash", refHash, SHA2_HASH_WORDS); in validateSignature() 293 printHash(stderr, "File hash", hash, SHA2_HASH_WORDS); in handleVerify() 367 printHash(stderr, "SHA2 hash", hash, SHA2_HASH_WORDS); in handleSign() 371 i = SHA2_HASH_WORDS; in handleSign()
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 276 for (i = SHA2_HASH_WORDS + 1; i < RSA_WORDS - 1; i++) { in blExtApiSigPaddingVerify() 288 …esult[SHA2_HASH_WORDS] & 0xff) || !(rsaResult[SHA2_HASH_WORDS] & 0xff00) || !(rsaResult[SHA2_HASH_… in blExtApiSigPaddingVerify()
|
D | appSec.c | 67 uint32_t lastHash[SHA2_HASH_WORDS];
|