Searched refs:dq (Results 1 – 9 of 9) sorted by relevance
| /optee_os/core/drivers/crypto/caam/acipher/ |
| H A D | caam_rsa.c | 78 struct caamkey dq; /* Private [dq = d mod (q-1)] */ member 103 crypto_bignum_free(&key->dq); in do_free_keypair() 120 caam_key_free(&key->dq); in do_keypair_free() 183 size_dq = crypto_bignum_num_bytes(inkey->dq); in do_keypair_conv_f3() 208 retstatus = caam_key_deserialize_from_bn(inkey->dq, in do_keypair_conv_f3() 209 &outkey->dq, size_p); in do_keypair_conv_f3() 222 caam_key_cache_op(TEE_CACHECLEAN, &outkey->dq); in do_keypair_conv_f3() 363 key->dq = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); in do_allocate_keypair() 364 if (!key->dq) in do_allocate_keypair() 440 caam_key_cache_op(TEE_CACHEINVALIDATE, &genkey->dq); in gen_keypair_get_f3() [all …]
|
| /optee_os/core/drivers/crypto/se050/core/ |
| H A D | rsa.c | 47 key->dq && crypto_bignum_num_bytes(key->dq)) in rsa_keypair_has_crt() 212 set_binary_data(key->dq, &key_bin.dq, &key_bin.dq_len); in se050_inject_keypair() 223 free(key_bin.dq); in se050_inject_keypair() 535 if (!bn_alloc_max(&s->dq)) in do_alloc_keypair() 547 crypto_bignum_free(&s->dq); in do_alloc_keypair() 597 crypto_bignum_free(&s->dq); in do_free_keypair() 658 crypto_bignum_bin2bn((uint8_t *)&oid, sizeof(oid), key->dq); in do_gen_keypair()
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | rsa.c | 118 if (!bn_alloc_max(&s->dq)) in sw_crypto_acipher_alloc_rsa_keypair() 173 crypto_bignum_free(&s->dq); in sw_crypto_acipher_free_rsa_keypair() 203 ltc_mp.copy(ltc_tmp_key.dQ, key->dq); in sw_crypto_acipher_gen_rsa_key() 318 ltc_key.dQ = key->dq; in sw_crypto_acipher_rsanopad_decrypt() 360 ltc_key.dQ = key->dq; in sw_crypto_acipher_rsaes_decrypt() 549 ltc_key.dQ = key->dq; in sw_crypto_acipher_rsassa_sign()
|
| /optee_os/core/drivers/crypto/hisilicon/ |
| H A D | hpre_rsa.c | 585 uint32_t dq_len = crypto_bignum_num_bytes(key->dq); in hpre_rsa_crt_decrypt_bn2bin() 590 uint8_t *dq = msg->prikey; in hpre_rsa_crt_decrypt_bn2bin() local 597 crypto_bignum_bn2bin(key->dq, dq); in hpre_rsa_crt_decrypt_bn2bin() 603 ret = hpre_bin_from_crypto_bin(dq, dq, p_bytes, dq_len); in hpre_rsa_crt_decrypt_bn2bin() 684 key->dq && crypto_bignum_num_bits(key->dq) && in hpre_rsa_is_crt_mod()
|
| /optee_os/core/drivers/crypto/se050/adaptors/include/ |
| H A D | se050_apdu_apis.h | 34 uint8_t *dq; member
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | rsa.c | 115 rsa->DQ = *(mbedtls_mpi *)key->dq; in rsa_complete_from_key_pair() 221 s->dq = crypto_bignum_allocate(key_size_bits); in sw_crypto_acipher_alloc_rsa_keypair() 222 if (!s->dq) in sw_crypto_acipher_alloc_rsa_keypair() 276 crypto_bignum_free(&s->dq); in sw_crypto_acipher_free_rsa_keypair() 321 crypto_bignum_copy(key->dq, (void *)&rsa.DQ); in sw_crypto_acipher_gen_rsa_key()
|
| /optee_os/core/drivers/crypto/se050/adaptors/apis/ |
| H A D | apdu.c | 216 keypair->dq, in set_rsa_private_rsa_crt() 376 keypair->dq, keypair->dq_len, in set_rsa_keypair_rsa_crt()
|
| /optee_os/core/include/crypto/ |
| H A D | crypto.h | 119 struct bignum *dq; /* d mod (q-1) */ member
|
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | 180 RAW_DATA(struct rsa_keypair, dq)
|