Searched refs:key_size_bits (Results 1 – 13 of 13) sorted by relevance
/optee_os/lib/libmbedtls/core/ |
A D | ecc.c | 60 *key_size_bits = 192; in ecc_get_keysize() 67 *key_size_bits = 224; in ecc_get_keysize() 74 *key_size_bits = 256; in ecc_get_keysize() 81 *key_size_bits = 384; in ecc_get_keysize() 88 *key_size_bits = 521; in ecc_get_keysize() 95 *key_size_bits = 0; in ecc_get_keysize() 125 size_t key_size_bits = 0; in ecc_generate_keypair() local 133 if (key_size != key_size_bits) in ecc_generate_keypair() 183 size_t key_size_bits = 0; in ecc_sign() local 207 &key_size_bits); in ecc_sign() [all …]
|
A D | dh.c | 18 size_t key_size_bits) in crypto_acipher_alloc_dh_keypair() argument 21 s->g = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair() 24 s->p = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair() 27 s->y = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair() 30 s->x = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair() 33 s->q = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_dh_keypair()
|
A D | rsa.c | 130 size_t key_size_bits) in crypto_acipher_alloc_rsa_keypair() argument 133 s->e = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 136 s->d = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 139 s->n = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 142 s->p = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 145 s->q = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 148 s->qp = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 151 s->dp = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_keypair() 165 size_t key_size_bits) in crypto_acipher_alloc_rsa_public_key() argument 168 s->e = crypto_bignum_allocate(key_size_bits); in crypto_acipher_alloc_rsa_public_key() [all …]
|
/optee_os/core/lib/libtomcrypt/ |
A D | ecc.c | 33 size_t *key_size_bits, in ecc_get_curve_info() argument 110 if (key_size_bits) in ecc_get_curve_info() 111 *key_size_bits = size_bits; in ecc_get_curve_info() 124 size_t key_size_bits = 0; in _ltc_ecc_generate_keypair() local 126 res = ecc_get_curve_info(key->curve, 0, &key_size_bytes, &key_size_bits, in _ltc_ecc_generate_keypair() 131 if (key_size != key_size_bits) in _ltc_ecc_generate_keypair() 141 if (((size_t)mp_count_bits(ltc_tmp_key.pubkey.x) > key_size_bits) || in _ltc_ecc_generate_keypair() 142 ((size_t)mp_count_bits(ltc_tmp_key.pubkey.y) > key_size_bits) || in _ltc_ecc_generate_keypair() 143 ((size_t)mp_count_bits(ltc_tmp_key.k) > key_size_bits)) { in _ltc_ecc_generate_keypair() 393 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_keypair() [all …]
|
A D | dsa.c | 17 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_keypair() 41 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_public_key()
|
A D | dh.c | 16 size_t key_size_bits __unused) in crypto_acipher_alloc_dh_keypair()
|
A D | rsa.c | 86 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_keypair() 113 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_public_key()
|
/optee_os/core/pta/tests/ |
A D | aes_perf.c | 54 size_t key_size_bits, size_t payload_len) in init_ctx() argument 63 if (key_size_bits % 8) in init_ctx() 65 key_len = key_size_bits / 8; in init_ctx() 172 size_t key_size_bits = 0; in core_aes_perf_tests() local 204 key_size_bits = params[0].value.a & 0xffff; in core_aes_perf_tests() 212 res = init_ctx(&ctx, algo, mode, key_size_bits, params[2].memref.size); in core_aes_perf_tests()
|
/optee_os/core/include/crypto/ |
A D | crypto_impl.h | 346 TEE_Result (*generate)(struct ecc_keypair *key, size_t key_size_bits); 360 size_t key_size_bits); 363 size_t key_size_bits); 368 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_public_key() 376 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_keypair() 385 size_t key_size_bits); 388 size_t key_size_bits); 393 size_t key_size_bits __unused) in drvcrypt_asym_alloc_ecc_public_key() 401 size_t key_size_bits __unused) in drvcrypt_asym_alloc_ecc_keypair()
|
A D | crypto.h | 176 size_t key_size_bits); 178 size_t key_size_bits); 182 size_t key_size_bits); 184 size_t key_size_bits); 186 size_t key_size_bits); 189 size_t key_size_bits); 192 size_t key_size_bits);
|
/optee_os/core/crypto/ |
A D | crypto.c | 520 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_keypair() 527 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_public_key() 613 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_keypair() 620 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_public_key() 654 size_t key_size_bits __unused) in crypto_acipher_alloc_dh_keypair() 678 size_t key_size_bits) in crypto_acipher_alloc_ecc_public_key() argument 689 key_size_bits); in crypto_acipher_alloc_ecc_public_key() 696 size_t key_size_bits) in crypto_acipher_alloc_ecc_keypair() argument 707 key_size_bits); in crypto_acipher_alloc_ecc_keypair() 720 size_t key_size_bits) in crypto_acipher_gen_ecc_key() argument [all …]
|
/optee_os/core/drivers/crypto/crypto_api/acipher/ |
A D | ecc.c | 101 size_t key_size_bits = 0; in ecc_generate_keypair() local 109 key_size_bits = get_ecc_key_size_bytes(key->curve) * 8; in ecc_generate_keypair() 113 ret = ecc->gen_keypair(key, key_size_bits); in ecc_generate_keypair() 116 key_size_bits, ret); in ecc_generate_keypair()
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | rsa.c | 473 size_t key_size_bits __unused) in do_alloc_keypair() 508 size_t key_size_bits __unused) in do_alloc_publickey()
|
Completed in 16 milliseconds