Home
last modified time | relevance | path

Searched refs:dP (Results 1 – 10 of 10) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_set.c39 …err = mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, NUL… in rsa_set_key()
106 int rsa_set_crt_params(const unsigned char *dP, unsigned long dPlen, in rsa_set_crt_params() argument
114 LTC_ARGCHK(dP != NULL); in rsa_set_crt_params()
121 …if ((err = mp_read_unsigned_bin(key->dP, (unsigned char *)dP, dPlen)) != CRYPT_OK) { goto LBL_ERR;… in rsa_set_crt_params()
A Drsa_import.c39 &key->dP, &key->qP, &key->p, &key->q, NULL)) != CRYPT_OK) { in rsa_import()
90 LTC_ASN1_INTEGER, 1UL, key->dP, in rsa_import()
117 mp_clear_multi(key->d, key->e, key->N, key->dQ, key->dP, key->qP, key->p, key->q, NULL); in rsa_import()
A Drsa_exptmod.c103 (key->dP != NULL) && (mp_get_digit_count(key->dP) != 0) && in rsa_exptmod()
115 …if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto … in rsa_exptmod()
A Drsa_import_pkcs8.c83 …err = mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q, &ze… in rsa_import_pkcs8()
114 LTC_ASN1_INTEGER, 1UL, key->dP, in rsa_import_pkcs8()
A Drsa_free.c26 … mp_cleanup_multi(&key->q, &key->p, &key->qP, &key->dP, &key->dQ, &key->N, &key->d, &key->e, NULL); in rsa_free()
A Drsa_make_key.c58 …if ((err = mp_init_multi(&key->e, &key->d, &key->N, &key->dQ, &key->dP, &key->qP, &key->p, &key->q… in s_rsa_make_key()
70 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod… in s_rsa_make_key()
A Drsa_import_x509.c45 &key->dP, &key->qP, &key->p, &key->q, NULL)) != CRYPT_OK) { in rsa_import_x509()
A Drsa_export.c54 LTC_ASN1_INTEGER, 1UL, key->dP, in rsa_export()
/optee_os/core/lib/libtomcrypt/
A Drsa.c169 ltc_mp.copy(ltc_tmp_key.dP, key->dp); in crypto_acipher_gen_rsa_key()
271 ltc_key.dP = key->dp; in crypto_acipher_rsanopad_decrypt()
299 ltc_key.dP = key->dp; in crypto_acipher_rsaes_decrypt()
451 ltc_key.dP = key->dp; in crypto_acipher_rsassa_sign()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h49 void *dP; member
125 int rsa_set_crt_params(const unsigned char *dP, unsigned long dPlen,

Completed in 11 milliseconds