Home
last modified time | relevance | path

Searched refs:sha256_ctx (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libfs_avb/
Dsha.h26 SHA256_CTX sha256_ctx;
32 SHA256Hasher() { SHA256_Init(&sha256_ctx); } in SHA256Hasher()
35 SHA256_Update(&sha256_ctx, data, data_size); in update()
39 SHA256_Final(hash, &sha256_ctx); in finalize()
/system/keymaster/key_blob_utils/
Docb_utils.cpp79 SHA256_CTX sha256_ctx; in InitializeKeyWrappingContext() local
93 Eraser sha256_ctx_eraser(sha256_ctx); in InitializeKeyWrappingContext()
94 SHA256_Init(&sha256_ctx); in InitializeKeyWrappingContext()
95 SHA256_Update(&sha256_ctx, derivation_data.get(), derivation_data_length); in InitializeKeyWrappingContext()
96 SHA256_Final(hash_buf.get(), &sha256_ctx); in InitializeKeyWrappingContext()