Searched refs:hash (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/ |
D | verifier.cpp | 243 const uint8_t* hash; in verify_file() local 245 case SHA_DIGEST_SIZE: hash = sha1; break; in verify_file() 246 case SHA256_DIGEST_SIZE: hash = sha256; break; in verify_file() 260 hash, pKeys[i].hash_len)) { in verify_file() 277 p256_from_bin(hash, &p256_hash); in verify_file()
|
D | fuse_sideload.c | 249 uint8_t hash[SHA256_DIGEST_SIZE]; in fetch_block() local 250 SHA256_hash(fd->block_data, fd->block_size, hash); in fetch_block() 252 if (memcmp(hash, blockhash, SHA256_DIGEST_SIZE) == 0) { in fetch_block() 264 memcpy(blockhash, hash, SHA256_DIGEST_SIZE); in fetch_block()
|
/bootable/recovery/minzip/ |
D | Hash.h | 127 bool mzHashTableRemove(HashTable* pHashTable, unsigned int hash, void* item);
|
D | Zip.c | 138 unsigned int hash = 2; in computeHash() local 141 hash = hash * 31 + *name++; in computeHash() 143 return hash; in computeHash()
|