Home
last modified time | relevance | path

Searched refs:qP (Results 1 – 8 of 8) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
H A Drsa_set.c100 const unsigned char *qP, unsigned long qPlen, in rsa_set_crt_params() argument
108 LTC_ARGCHK(qP != NULL); in rsa_set_crt_params()
115 …if ((err = mp_read_unsigned_bin(key->qP, (unsigned char *)qP, qPlen)) != CRYPT_OK) { goto LBL_ERR;… in rsa_set_crt_params()
H A Drsa_key.c79 …s_mpi_shrink_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, NULL… in rsa_shrink_key()
90 …return mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, LT… in rsa_init()
100 …mp_cleanup_multi(&key->q, &key->p, &key->qP, &key->dP, &key->dQ, &key->N, &key->d, &key->e, LTC_NU… in rsa_free()
H A Drsa_exptmod.c98 (key->qP != NULL) && (mp_get_digit_count(key->qP) != 0); in rsa_exptmod()
115 …if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { goto … in rsa_exptmod()
H A Drsa_export.c49 LTC_ASN1_INTEGER, 1UL, key->qP, in rsa_export()
H A Drsa_import.c59 LTC_ASN1_INTEGER, 1UL, key->qP, in rsa_import_pkcs1()
H A Drsa_make_key.c65 …if ((err = mp_invmod( q, p, key->qP)) != CRYPT_OK) { goto errkey; } /* qP = 1/q m… in s_rsa_make_key()
/optee_os/core/lib/libtomcrypt/
H A Drsa.c201 ltc_mp.copy(ltc_tmp_key.qP, key->qp); in sw_crypto_acipher_gen_rsa_key()
316 ltc_key.qP = key->qp; in sw_crypto_acipher_rsanopad_decrypt()
358 ltc_key.qP = key->qp; in sw_crypto_acipher_rsaes_decrypt()
547 ltc_key.qP = key->qp; in sw_crypto_acipher_rsassa_sign()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h40 void *qP; member
122 const unsigned char *qP, unsigned long qPlen,