Lines Matching defs:hash
15 #include "hash.h"
70 * Match a hash
83 uint8_t hash[SHA256_BYTES] __aligned(CACHE_WRITEBACK_GRANULE) = {0};
87 NOTICE("Verifying hash\n");
93 /* Update hash with that of SRK table */
99 /* Copy hash at destination buffer */
100 ret = hash_final(algo, ctx, hash, digest_size);
105 VERBOSE("%s Calculated hash\n", __func__);
107 VERBOSE("%x\n", *((uint32_t *)hash + i));
111 if (memcmp(hash, (hash_tbl + (i * digest_size)),