Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/
A Dx25519.c22 size_t key_size_bytes = key_size / 8; in crypto_acipher_alloc_x25519_keypair() local
29 if (key_size_bytes != X25519_KEY_SIZE_BYTES) in crypto_acipher_alloc_x25519_keypair()
32 key->priv = calloc(1, key_size_bytes); in crypto_acipher_alloc_x25519_keypair()
33 key->pub = calloc(1, key_size_bytes); in crypto_acipher_alloc_x25519_keypair()
48 size_t key_size_bytes = key_size / 8; in crypto_acipher_gen_x25519_key() local
50 if (key_size_bytes != X25519_KEY_SIZE_BYTES) in crypto_acipher_gen_x25519_key()
57 if (key_size_bytes < sizeof(ltc_tmp_key.pub) || in crypto_acipher_gen_x25519_key()
58 key_size_bytes < sizeof(ltc_tmp_key.priv)) in crypto_acipher_gen_x25519_key()
A Decc.c32 size_t *key_size_bytes, in ecc_get_curve_info() argument
108 if (key_size_bytes) in ecc_get_curve_info()
109 *key_size_bytes = size_bytes; in ecc_get_curve_info()
141 size_t key_size_bytes = 0; in _ltc_ecc_generate_keypair() local
256 size_t key_size_bytes = 0; in _ltc_ecc_sign() local
264 &key_size_bytes); in _ltc_ecc_sign()
269 *sig_len = 2 * key_size_bytes; in _ltc_ecc_sign()
296 size_t key_size_bytes = 0; in _ltc_ecc_verify() local
329 size_t key_size_bytes = 0; in _ltc_ecc_shared_secret() local
336 0, &key_size_bytes); in _ltc_ecc_shared_secret()
[all …]
A Dacipher_helpers.h41 uint32_t algo, size_t *key_size_bytes);
44 uint32_t algo, size_t *key_size_bytes);
/optee_os-3.20.0/lib/libmbedtls/core/
A Decc.c61 *key_size_bytes = 24; in ecc_get_keysize()
68 *key_size_bytes = 28; in ecc_get_keysize()
75 *key_size_bytes = 32; in ecc_get_keysize()
82 *key_size_bytes = 48; in ecc_get_keysize()
89 *key_size_bytes = 66; in ecc_get_keysize()
96 *key_size_bytes = 32; in ecc_get_keysize()
103 *key_size_bytes = 0; in ecc_get_keysize()
152 size_t key_size_bytes = 0; in ecc_generate_keypair() local
213 size_t key_size_bytes = 0; in ecc_sign() local
246 *sig_len = 2 * key_size_bytes; in ecc_sign()
[all …]

Completed in 6 milliseconds