Lines Matching defs:hash
170 uint32_t hashOffset; /* offset of hash slot element at index zero */
172 uint32_t nSpecialSlots; /* number of special hash slots */
173 uint32_t nCodeSlots; /* number of ordinary (code) hash slots */
175 uint8_t hashSize; /* size of each hash in bytes */
176 uint8_t hashType; /* type of hash (cdHashType* constants) */
243 * Locating a page hash
252 const unsigned char *base, *top, *hash;
267 hash = base + page * SHA1_RESULTLEN;
268 if (!cs_valid_range(hash, hash + SHA1_RESULTLEN,
270 hash = NULL;
273 return hash;
1551 * will avoid internal use of the hash table to identify the
1648 * boundaries, as this will avoid internal use of the hash table
2243 /* compute the blob's SHA1 hash */
2520 const unsigned char *hash;
2532 /* retrieve the expected hash */
2595 hash = hashes(cd, atop(offset),
2597 if (hash != NULL) {
2598 bcopy(hash, expected_hash,
2619 "off 0x%llx: no hash to validate !?\n",
2633 /* compute the actual page's SHA1 hash */
2696 /* get the SHA1 hash of that blob */