Lines Matching defs:hash
47 * of table's hash with the hash in SFP fuses. This installation is done
57 uint8_t hash[SHA256_BYTES];
73 /* Update hash with that of SRK table */
80 /* Copy hash at destination buffer */
81 ret = hash_final(algo, ctx, hash, digest_size);
86 /* Add comparison of hash with SFP hash here */
94 VERBOSE("%x\n", *((uint32_t *)hash + i));
97 if (memcmp(hash, srk_hash, SHA256_BYTES) != 0) {
99 ERROR("SRK hash doesn't match the fuse hash\n");
114 /* Update hash with that of SRK table */
120 /* Copy hash at destination buffer */
137 * Calculate hash of ESBC hdr and ESBC. This function calculates the
138 * single hash of ESBC header and ESBC image
150 /* Copy hash at destination buffer */
155 /* Update hash for CSF Header */
161 /* Update hash with that of SRK table */
169 /* Update hash for actual Image */
175 /* Copy hash at destination buffer */
291 * 3. Key hash comparison with SRKH in fuses in case of SRK Table