Searched refs:hash (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/ |
D | verifier.cpp | 256 const uint8_t* hash; in verify_file() local 260 hash = sha1; in verify_file() 264 hash = sha256; in verify_file() 274 if (!RSA_verify(hash_nid, hash, key.hash_len, sig_der.data(), sig_der.size(), in verify_file() 283 if (!ECDSA_verify(0, hash, key.hash_len, sig_der.data(), sig_der.size(), key.ec.get())) { in verify_file()
|
D | fuse_sideload.cpp | 278 uint8_t hash[SHA256_DIGEST_LENGTH]; in fetch_block() local 279 SHA256(fd->block_data, fd->block_size, hash); in fetch_block() 281 if (memcmp(hash, blockhash, SHA256_DIGEST_LENGTH) == 0) { in fetch_block() 293 memcpy(blockhash, hash, SHA256_DIGEST_LENGTH); in fetch_block()
|