Home
last modified time | relevance | path

Searched refs:mp_exptmod (Results 1 – 17 of 17) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_exptmod.c89 err = mp_exptmod( rnd, key->e, key->N, rnd); in rsa_exptmod()
112 …if ((err = mp_exptmod(tmp, key->d, key->N, tmp)) != CRYPT_OK) { goto … in rsa_exptmod()
115 …if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto … in rsa_exptmod()
118 …if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto … in rsa_exptmod()
139 …if ((err = mp_exptmod(tmp, key->e, key->N, tmpa)) != CRYPT_OK) { goto… in rsa_exptmod()
146 …if ((err = mp_exptmod(tmp, key->e, key->N, tmp)) != CRYPT_OK) { got… in rsa_exptmod()
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_verify_key.c85 if ((err = mp_exptmod(key->g, key->q, key->p, tmp1)) != CRYPT_OK) { goto error; } in dsa_int_validate_pqg()
168 if ((err = mp_exptmod(key->g, key->x, key->p, tmp)) != CRYPT_OK) { in dsa_int_validate_xy()
180 if ((err = mp_exptmod(key->y, key->q, key->p, tmp)) != CRYPT_OK) { in dsa_int_validate_xy()
A Ddsa_verify_hash.c70 …if ((err = mp_exptmod(key->g, u1, key->p, u1)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
71 …if ((err = mp_exptmod(key->y, u2, key->p, u2)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
A Ddsa_generate_key.c38 if ((err = mp_exptmod(key->g, key->x, key->p, key->y)) != CRYPT_OK) { return err; } in dsa_generate_key()
A Ddsa_shared_secret.c46 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) { in dsa_shared_secret()
A Ddsa_encrypt_key.c85 if ((err = mp_exptmod(key->g, g_priv, key->p, g_pub)) != CRYPT_OK) { in dsa_encrypt_key()
A Ddsa_set.c89 …if ((err = mp_exptmod(key->g, key->x, key->p, key->y)) != CRYPT_OK) { goto LBL_ERR; } in dsa_set_key()
A Ddsa_sign_hash.c81 …if ((err = mp_exptmod(key->g, k, key->p, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
A Ddsa_generate_pqg.c192 if ((err = mp_exptmod(h, e, p, g)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
/optee_os/core/lib/libtomcrypt/src/pk/dh/
A Ddh_shared_secret.c55 if ((err = mp_exptmod(public_key->y, private_key->x, private_key->prime, tmp)) != CRYPT_OK) { in dh_shared_secret()
A Ddh_generate_key.c83 if ((err = mp_exptmod(key->base, key->x, key->prime, key->y)) != CRYPT_OK) { in dh_generate_key()
A Ddh_import.c58 if ((err = mp_exptmod(key->base, key->x, key->prime, key->y)) != CRYPT_OK) { in dh_import()
A Ddh_make_key.c127 err = mp_exptmod(key->base, key->x, key->prime, key->y); in dh_make_key()
A Ddh_set.c102 … if ((err = mp_exptmod(key->base, key->x, key->prime, key->y)) != CRYPT_OK) { goto LBL_ERR; } in dh_set_key()
/optee_os/core/lib/libtomcrypt/
A Ddh.c78 err = mp_exptmod(public_key, private_key->x, private_key->p, secret); in crypto_acipher_dh_shared_secret()
/optee_os/core/lib/libtomcrypt/src/math/
A Dltm_desc.c417 return mpi_to_ltc_error(mp_exptmod(a,b,c,d)); in exptmod()
/optee_os/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h208 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro

Completed in 13 milliseconds