Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Drng_fortuna.c23 #define KEY_SIZE 32 macro
93 return crypto_hash_final(ctx, digest, KEY_SIZE); in hash_final()
97 uint8_t key[KEY_SIZE]) in key_from_data() argument
110 static TEE_Result cipher_init(void *ctx, uint8_t key[KEY_SIZE]) in cipher_init() argument
113 key, KEY_SIZE, NULL, 0, NULL, 0); in cipher_init()
133 uint8_t key[KEY_SIZE]; in crypto_rng_init()
417 return hash_update(pool_ctx, pool_digest, KEY_SIZE); in restart_pool()
436 uint8_t pool_digest[KEY_SIZE]; in maybe_reseed()
468 pool_digest, KEY_SIZE, NULL, 0, NULL, 0); in maybe_reseed()
490 uint8_t new_key[KEY_SIZE]; in fortuna_read()
[all …]

Completed in 4 milliseconds