Searched refs:KEY_SIZE (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/crypto/ |
| H A D | rng_fortuna.c | 23 #define KEY_SIZE 32 macro 91 static TEE_Result hash_final(void *ctx, uint8_t digest[KEY_SIZE]) in hash_final() argument 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() 395 static TEE_Result restart_pool(void *pool_ctx, uint8_t pool_digest[KEY_SIZE]) in restart_pool() argument 417 return hash_update(pool_ctx, pool_digest, KEY_SIZE); in restart_pool() 436 uint8_t pool_digest[KEY_SIZE]; in maybe_reseed() [all …]
|
| /optee_os/core/pta/veraison_attestation/ |
| H A D | sign.c | 14 #define KEY_SIZE 32 macro 15 #define KEY_SIZE_BIT (KEY_SIZE * 8) 128 res = crypto_bignum_bin2bn(private_key, KEY_SIZE, key->d); in generate_key() 147 res = crypto_bignum_bin2bn(public_key_x, KEY_SIZE, pubkey->x); in generate_key() 151 res = crypto_bignum_bin2bn(public_key_y, KEY_SIZE, pubkey->y); in generate_key()
|