Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Drng_fortuna.c51 void *pool_ctx[NUM_POOLS]; member
121 crypto_hash_free_ctx(state.pool_ctx[n]); in fortuna_done()
122 state.pool_ctx[n] = NULL; in fortuna_done()
145 res = crypto_hash_alloc_ctx(&state.pool_ctx[n], HASH_ALGO); in crypto_rng_init()
148 res = crypto_hash_init(state.pool_ctx[n]); in crypto_rng_init()
232 res = hash_update(state.pool_ctx[pnum], v, sizeof(v)); in add_event()
235 res = hash_update(state.pool_ctx[pnum], data, dl); in add_event()
397 TEE_Result res = hash_final(pool_ctx, pool_digest); in restart_pool()
402 res = hash_init(pool_ctx); in restart_pool()
417 return hash_update(pool_ctx, pool_digest, KEY_SIZE); in restart_pool()
[all …]

Completed in 3 milliseconds