Searched refs:SHA256_BYTES (Results 1 – 7 of 7) sorted by relevance
25 #define SHA256_BYTES 32 macro40 static unsigned char rotpk_hash_der[sizeof(rotpk_hash_hdr) - 1 + SHA256_BYTES];142 memcpy(dst, arm_devel_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info()171 words = SHA256_BYTES >> 3; in plat_get_rotpk_info()185 src = (uint32_t *)(TZ_PUB_KEY_HASH_BASE + SHA256_BYTES / 2); in plat_get_rotpk_info()218 SHA256_BYTES); in plat_get_rotpk_info()220 for (i = 0; i < SHA256_BYTES; i++) in plat_get_rotpk_info()224 if (i >= SHA256_BYTES) in plat_get_rotpk_info()231 memcpy(dst, plat_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info()246 SHA256_BYTES, in plat_get_rotpk_info()[all …]
83 uint8_t hash[SHA256_BYTES] __aligned(CACHE_WRITEBACK_GRANULE) = {0}; in verify_hash()84 uint32_t digest_size = SHA256_BYTES; in verify_hash()106 for (i = 0; i < SHA256_BYTES/4; i++) { in verify_hash()
118 if (hash_len != SHA256_BYTES) { in construct_img_encoded_hash_second()143 for (i = 0; i < SHA256_BYTES; i++) { in construct_img_encoded_hash_second()
41 uint8_t rotpk_hash_table[MAX_KEY_ENTRIES][SHA256_BYTES];55 unsigned int digest_size = SHA256_BYTES; in deploy_rotpk_hash_table()57 uint8_t hash[SHA256_BYTES]; in deploy_rotpk_hash_table()58 uint32_t srk_hash[SHA256_BYTES/4] __aligned(CACHE_WRITEBACK_GRANULE); in deploy_rotpk_hash_table()87 for (i = 0; i < SHA256_BYTES/4; i++) { in deploy_rotpk_hash_table()97 if (memcmp(hash, srk_hash, SHA256_BYTES) != 0) { in deploy_rotpk_hash_table()146 unsigned int digest_size = SHA256_BYTES; in calc_img_hash()
29 uint8_t img_hash[SHA256_BYTES] __aligned(CACHE_WRITEBACK_GRANULE);139 *param_len = (unsigned int)SHA256_BYTES; in get_auth_param()
21 extern uint8_t rotpk_hash_table[MAX_KEY_ENTRIES][SHA256_BYTES];
19 #define SHA256_BYTES (256/8) macro
Completed in 12 milliseconds