Searched refs:sha256_ctx (Results 1 – 2 of 2) sorted by relevance
26 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()
79 SHA256_CTX sha256_ctx; in InitializeKeyWrappingContext() local93 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()