Searched refs:hash_buf (Results 1 – 3 of 3) sorted by relevance
/system/core/libmincrypt/test/ |
D | ecdsa_test.c | 220 unsigned char hash_buf[SHA256_DIGEST_SIZE]; in main() local 267 SHA256_hash(message, mlen, hash_buf); \ in main() 268 p256_from_bin(hash_buf, &hash); \ in main()
|
/system/keymaster/ |
D | key_blob.cpp | 201 UniquePtr<uint8_t[]> hash_buf(new uint8_t[SHA256_DIGEST_LENGTH]); in InitializeKeyWrappingContext() local 202 Eraser hash_eraser(hash_buf.get(), SHA256_DIGEST_LENGTH); in InitializeKeyWrappingContext() 206 if (ctx.get() == NULL || hash_buf.get() == NULL || derived_key.get() == NULL) { in InitializeKeyWrappingContext() 216 SHA256_Final(hash_buf.get(), &sha256_ctx); in InitializeKeyWrappingContext() 226 AES_encrypt(hash_buf.get(), derived_key.get(), &aes_key); in InitializeKeyWrappingContext()
|
/system/core/fs_mgr/ |
D | fs_mgr_verity.c | 89 uint8_t hash_buf[SHA256_DIGEST_SIZE]; in verify_table() local 93 SHA256_hash((uint8_t*)table, table_length, hash_buf); in verify_table() 106 (uint8_t*) hash_buf, in verify_table()
|