Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/
Dverifier.cpp259 const uint8_t* hash; in verify_file() local
263 hash = sha1; in verify_file()
267 hash = sha256; in verify_file()
277 if (!RSA_verify(hash_nid, hash, key.hash_len, sig_der, in verify_file()
288 if (!ECDSA_verify(0, hash, key.hash_len, sig_der, in verify_file()
Dfuse_sideload.cpp273 uint8_t hash[SHA256_DIGEST_LENGTH]; in fetch_block() local
274 SHA256(fd->block_data, fd->block_size, hash); in fetch_block()
276 if (memcmp(hash, blockhash, SHA256_DIGEST_LENGTH) == 0) { in fetch_block()
288 memcpy(blockhash, hash, SHA256_DIGEST_LENGTH); in fetch_block()
/bootable/recovery/minzip/
DHash.h131 bool mzHashTableRemove(HashTable* pHashTable, unsigned int hash, void* item);
DZip.c138 unsigned int hash = 2; in computeHash() local
141 hash = hash * 31 + *name++; in computeHash()
143 return hash; in computeHash()
/bootable/recovery/updater/
Dblockimg.cpp1368 unsigned int hash = 0; in HashString() local
1371 hash = hash * 33 + *s++; in HashString()
1374 return hash; in HashString()