OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHA2_HASH_SIZE
(Results
1 - 5
of
5
) sorted by null
/device/google/contexthub/lib/include/nanohub/
sha2.h
27
#define
SHA2_HASH_SIZE
32U //in bytes
/device/google/contexthub/firmware/os/core/
appSec.c
37
#define APP_VERIFY_BLOCK_SIZE ((
SHA2_HASH_SIZE
+ AES_BLOCK_SIZE - 1) / AES_BLOCK_SIZE) * AES_BLOCK_SIZE
292
if (state->signedBytesOut != (state->encryptedBytesIn +
SHA2_HASH_SIZE
)) {
365
memcpy(state->lastHash, BL.blSha2finish(&state->sha),
SHA2_HASH_SIZE
);
400
if (memcmp(state->lastHash, result,
SHA2_HASH_SIZE
))
406
memcpy(state->lastHash, BL.blSha2finish(&state->sha),
SHA2_HASH_SIZE
);
bl.c
405
if (memcmp(expectedHash, ourHash,
SHA2_HASH_SIZE
) != 0) {
/device/google/contexthub/util/nanoapp_sign/
nanoapp_sign.c
177
if (memcmp(rsaResult, refHash,
SHA2_HASH_SIZE
)) {
184
memcpy(refHash, rsaResult,
SHA2_HASH_SIZE
);
369
memcpy(rsa->num, hash,
SHA2_HASH_SIZE
);
/device/google/contexthub/util/nanoapp_encr/
nanoapp_encr.c
224
bool verify = memcmp(fileHash, calcHash,
SHA2_HASH_SIZE
) == 0;
Completed in 726 milliseconds