Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/core/
A Decc.c60 *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 = 256; in ecc_get_keysize()
102 *key_size_bits = 0; in ecc_get_keysize()
153 size_t key_size_bits = 0; in ecc_generate_keypair() local
214 size_t key_size_bits = 0; in ecc_sign() local
241 &key_size_bits); in ecc_sign()
[all …]
A Ddh.c18 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 Drsa.c132 size_t key_size_bits)
136 size_t key_size_bits) in sw_crypto_acipher_alloc_rsa_keypair() argument
139 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
142 s->d = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
145 s->n = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
148 s->p = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
151 s->q = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair()
171 size_t key_size_bits)
175 size_t key_size_bits) in sw_crypto_acipher_alloc_rsa_public_key() argument
178 s->e = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_public_key()
[all …]
/optee_os-3.20.0/core/pta/tests/
A Daes_perf.c54 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-3.20.0/core/lib/libtomcrypt/
A Decc.c33 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()
142 size_t key_size_bits = 0; in _ltc_ecc_generate_keypair() local
145 res = ecc_get_curve_info(key->curve, 0, &key_size_bytes, &key_size_bits, in _ltc_ecc_generate_keypair()
150 if (key_size != key_size_bits) in _ltc_ecc_generate_keypair()
164 if (((size_t)mp_count_bits(ltc_tmp_key.pubkey.x) > key_size_bits) || in _ltc_ecc_generate_keypair()
165 ((size_t)mp_count_bits(ltc_tmp_key.pubkey.y) > key_size_bits) || in _ltc_ecc_generate_keypair()
166 ((size_t)mp_count_bits(ltc_tmp_key.k) > key_size_bits)) { in _ltc_ecc_generate_keypair()
422 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_keypair()
[all …]
A Ddsa.c17 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 Ddh.c16 size_t key_size_bits __unused) in crypto_acipher_alloc_dh_keypair()
A Drsa.c89 size_t key_size_bits __unused)
93 size_t key_size_bits __unused) in sw_crypto_acipher_alloc_rsa_keypair()
121 size_t key_size_bits __unused)
125 size_t key_size_bits __unused) in sw_crypto_acipher_alloc_rsa_public_key()
/optee_os-3.20.0/core/include/crypto/
A Dcrypto_impl.h352 TEE_Result (*generate)(struct ecc_keypair *key, size_t key_size_bits);
372 size_t key_size_bits);
375 size_t key_size_bits);
380 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_public_key()
400 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_keypair()
409 size_t key_size_bits);
412 size_t key_size_bits);
417 size_t key_size_bits __unused) in drvcrypt_asym_alloc_ecc_public_key()
425 size_t key_size_bits __unused) in drvcrypt_asym_alloc_ecc_keypair()
432 size_t key_size_bits);
[all …]
A Dcrypto.h188 size_t key_size_bits);
190 size_t key_size_bits);
194 size_t key_size_bits);
196 size_t key_size_bits);
198 size_t key_size_bits);
201 size_t key_size_bits);
204 size_t key_size_bits);
207 size_t key_size_bits);
209 size_t key_size_bits);
/optee_os-3.20.0/core/crypto/
A Dcrypto.c523 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_keypair()
530 size_t key_size_bits __unused) in crypto_acipher_alloc_rsa_public_key()
616 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_keypair()
623 size_t key_size_bits __unused) in crypto_acipher_alloc_dsa_public_key()
657 size_t key_size_bits __unused) in crypto_acipher_alloc_dh_keypair()
681 size_t key_size_bits) in crypto_acipher_alloc_ecc_public_key() argument
692 key_size_bits); in crypto_acipher_alloc_ecc_public_key()
699 size_t key_size_bits) in crypto_acipher_alloc_ecc_keypair() argument
710 key_size_bits); in crypto_acipher_alloc_ecc_keypair()
723 size_t key_size_bits) in crypto_acipher_gen_ecc_key() argument
[all …]
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/
A Decc.c124 size_t key_size_bits = 0; in ecc_generate_keypair() local
132 key_size_bits = get_ecc_key_size_bits(key->curve); in ecc_generate_keypair()
136 ret = ecc->gen_keypair(key, key_size_bits); in ecc_generate_keypair()
139 key_size_bits, ret); in ecc_generate_keypair()
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Drsa.c518 size_t key_size_bits __unused) in do_alloc_keypair()
553 size_t key_size_bits __unused) in do_alloc_publickey()

Completed in 17 milliseconds