Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/caam/acipher/
A Dcaam_dh.c64 p_size = crypto_bignum_num_bytes(inkey->p); in do_keypair_conv_p_g()
82 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypair_conv_p_g()
103 key_size = crypto_bignum_num_bytes(inkey->x); in do_keypriv_conv()
108 p_size = crypto_bignum_num_bytes(inkey->p); in do_keypriv_conv()
139 key_size = crypto_bignum_num_bytes((struct bignum *)inkey); in do_keypub_conv()
230 l_bytes = crypto_bignum_num_bytes(key->p); in do_gen_keypair()
336 if (crypto_bignum_num_bytes(key->x) != n_bytes) { in do_gen_keypair()
338 crypto_bignum_num_bytes(key->x), in do_gen_keypair()
A Dcaam_dsa.c97 in_g_size = crypto_bignum_num_bytes(key->g); in get_keypair_domain_params()
98 in_p_size = crypto_bignum_num_bytes(key->p); in get_keypair_domain_params()
99 in_q_size = crypto_bignum_num_bytes(key->q); in get_keypair_domain_params()
166 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypriv_conv()
175 field_size = crypto_bignum_num_bytes(inkey->p); in do_keypriv_conv()
184 field_size = crypto_bignum_num_bytes(inkey->q); in do_keypriv_conv()
193 field_size = crypto_bignum_num_bytes(inkey->x); in do_keypriv_conv()
228 field_size = crypto_bignum_num_bytes(inkey->g); in do_keypub_conv()
237 field_size = crypto_bignum_num_bytes(inkey->p); in do_keypub_conv()
246 field_size = crypto_bignum_num_bytes(inkey->q); in do_keypub_conv()
[all …]
A Dcaam_rsa.c134 crypto_bignum_num_bytes(inkey->n)); in do_keypub_conv()
137 crypto_bignum_num_bytes(inkey->e)); in do_keypub_conv()
145 crypto_bignum_num_bytes(inkey->n)); in do_keypub_conv()
179 size_dp = crypto_bignum_num_bytes(inkey->dp); in do_keypair_conv_f3()
180 size_dq = crypto_bignum_num_bytes(inkey->dq); in do_keypair_conv_f3()
181 size_qp = crypto_bignum_num_bytes(inkey->qp); in do_keypair_conv_f3()
264 size_p = crypto_bignum_num_bytes(inkey->p); in do_keypair_conv_f2()
265 size_q = crypto_bignum_num_bytes(inkey->q); in do_keypair_conv_f2()
317 crypto_bignum_num_bytes(inkey->n)); in do_keypair_conv()
321 crypto_bignum_num_bytes(inkey->n)); in do_keypair_conv()
[all …]
A Dcaam_ecc.c75 x_size = crypto_bignum_num_bytes(inkey->x); in do_keypub_conv()
78 y_size = crypto_bignum_num_bytes(inkey->y); in do_keypub_conv()
109 d_size = crypto_bignum_num_bytes(inkey->d); in do_keypair_conv()
/optee_os/core/drivers/crypto/crypto_api/acipher/
A Ddsa.c143 n_bytes = crypto_bignum_num_bytes(key->q); in crypto_acipher_dsa_sign()
144 l_bytes = crypto_bignum_num_bytes(key->p); in crypto_acipher_dsa_sign()
203 n_bytes = crypto_bignum_num_bytes(key->q); in crypto_acipher_dsa_verify()
204 l_bytes = crypto_bignum_num_bytes(key->p); in crypto_acipher_dsa_verify()
A Ddh.c44 if (key_size != 8 * crypto_bignum_num_bytes(key->p)) in crypto_acipher_gen_dh_key()
74 sdata.secret.length = crypto_bignum_num_bytes(public_key); in crypto_acipher_dh_shared_secret()
A Drsa.c125 rsa_data.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsanopad_decrypt()
164 rsa_data.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsanopad_encrypt()
237 rsa_data.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_decrypt()
281 rsa_data.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_encrypt()
380 rsa_ssa.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsassa_sign()
462 rsa_ssa.key.n_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsassa_verify()
/optee_os/lib/libmbedtls/core/
A Dbignum.c19 size_t crypto_bignum_num_bytes(struct bignum *a) in crypto_bignum_num_bytes() function
48 len = crypto_bignum_num_bytes((struct bignum *)from); in crypto_bignum_bn2bin()
A Drsa.c103 if (key->p && crypto_bignum_num_bytes(key->p)) { in rsa_init_from_key_pair()
259 rsa.len = crypto_bignum_num_bytes((void *)&rsa.N); in crypto_acipher_rsanopad_encrypt()
375 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_decrypt()
459 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_encrypt()
557 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsassa_sign()
628 bigint_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsassa_verify()
A Ddh.c61 dhm.len = crypto_bignum_num_bytes(key->p); in crypto_acipher_gen_dh_key()
115 dhm.len = crypto_bignum_num_bytes(private_key->p); in crypto_acipher_dh_shared_secret()
/optee_os/core/drivers/crypto/se050/adaptors/utils/
A Dutils.c132 if (crypto_bignum_num_bytes(key->d) != sizeof(uint64_t)) in se050_rsa_keypair_from_nvm()
147 if (crypto_bignum_num_bytes(key->d) != sizeof(uint64_t)) in se050_ecc_keypair_from_nvm()
/optee_os/core/drivers/crypto/se050/core/
A Drsa.c76 *len = crypto_bignum_num_bytes(b); in set_binary_data()
252 if (*dst_len < crypto_bignum_num_bytes(key->n)) { in encrypt_es()
253 *dst_len = crypto_bignum_num_bytes(key->n); in encrypt_es()
310 rsa_len = crypto_bignum_num_bytes(key->n); in decrypt_nopad()
372 rsa_len = crypto_bignum_num_bytes(key->n); in encrypt_nopad()
411 if (*sig_len < crypto_bignum_num_bytes(key->n)) { in sign_ssa()
412 *sig_len = crypto_bignum_num_bytes(key->n); in sign_ssa()
A Decc.c193 size_t a = crypto_bignum_num_bytes(b); in set_binary_data()
/optee_os/core/lib/libtomcrypt/
A Drsa.c267 if (key->p && crypto_bignum_num_bytes(key->p)) { in crypto_acipher_rsanopad_decrypt()
295 if (key->p && crypto_bignum_num_bytes(key->p)) { in crypto_acipher_rsaes_decrypt()
447 if (key->p && crypto_bignum_num_bytes(key->p)) { in crypto_acipher_rsassa_sign()
A Dmpi_desc.c709 size_t crypto_bignum_num_bytes(struct bignum *a) in crypto_bignum_num_bytes() function
/optee_os/core/include/crypto/
A Dcrypto.h96 size_t crypto_bignum_num_bytes(struct bignum *a);
/optee_os/core/tee/
A Dtee_svc_cryp.c682 req_size = crypto_bignum_num_bytes(*bn); in op_attr_bignum_to_user()
712 uint32_t n = crypto_bignum_num_bytes(*bn); in op_attr_bignum_to_binary()
1731 size_t n = crypto_bignum_num_bytes(e); in check_pub_rsa_key()
2992 sk->key_size = crypto_bignum_num_bytes(ss); in syscall_cryp_derive_key()
3806 if (data_len != crypto_bignum_num_bytes(key->q)) { in syscall_asymm_verify()
/optee_os/core/crypto/
A Dcrypto.c461 size_t crypto_bignum_num_bytes(struct bignum *a __unused) in crypto_bignum_num_bytes() function
/optee_os/out/arm/core/
A Dtee.symb_sizes2301 000000000e1360a0 0000000000000004 T crypto_bignum_num_bytes
A Dtee.dmp2469 000000000e1360a0 g F .text 0000000000000004 crypto_bignum_num_bytes
53332 e1224e8: 94004eee bl e1360a0 <crypto_bignum_num_bytes>
53604 e1227c4: 94004e37 bl e1360a0 <crypto_bignum_num_bytes>
55294 e123a18: 940049a2 bl e1360a0 <crypto_bignum_num_bytes>
56528 e1247e0: 94004630 bl e1360a0 <crypto_bignum_num_bytes>
58466 e125dd8: 940040b2 bl e1360a0 <crypto_bignum_num_bytes>
78378 e132ecc: 94000c75 bl e1360a0 <crypto_bignum_num_bytes>
78452 e132fa4: 94000c3f bl e1360a0 <crypto_bignum_num_bytes>
78786 e133374: 94000b4b bl e1360a0 <crypto_bignum_num_bytes>
82943 000000000e1360a0 <crypto_bignum_num_bytes>:
[all …]
A Dtee.map58 out/arm/core/tee/tee_svc_cryp.o (crypto_bignum_num_bytes)
23733 .text.crypto_bignum_num_bytes
23735 0x000000000e1360a0 crypto_bignum_num_bytes

Completed in 240 milliseconds