Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Drng_fortuna.c52 void *reseed_ctx; member
124 crypto_hash_free_ctx(state.reseed_ctx); in fortuna_done()
125 state.reseed_ctx = NULL; in fortuna_done()
153 res = crypto_hash_alloc_ctx(&state.reseed_ctx, HASH_ALGO); in crypto_rng_init()
157 res = key_from_data(state.reseed_ctx, data, dlen, key); in crypto_rng_init()
446 res = hash_init(state.reseed_ctx); in maybe_reseed()
458 res = hash_update(state.reseed_ctx, pool_digest, KEY_SIZE); in maybe_reseed()
462 res = hash_final(state.reseed_ctx, pool_digest); in maybe_reseed()

Completed in 3 milliseconds