Searched defs:hash_buf (Results 1 - 2 of 2) sorted by relevance

/system/extras/verity/
H A Dverity_verifier.cpp55 uint8_t hash_buf[SHA256_DIGEST_LENGTH]; local
56 SHA256(const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(table)), table_length, hash_buf);
66 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature, signature_size, key.get())) {
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp119 uint8_t hash_buf[SHA256_DIGEST_LENGTH]; local
123 SHA256((uint8_t*)table, table_length, hash_buf);
133 if (!RSA_verify(NID_sha256, hash_buf, sizeof(hash_buf), signature,

Completed in 75 milliseconds