Searched refs:mp_exptmod (Results 1 – 17 of 17) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_exptmod.c | 89 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 D | dsa_verify_key.c | 85 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 D | dsa_verify_hash.c | 70 …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 D | dsa_generate_key.c | 38 if ((err = mp_exptmod(key->g, key->x, key->p, key->y)) != CRYPT_OK) { return err; } in dsa_generate_key()
|
A D | dsa_shared_secret.c | 46 if ((err = mp_exptmod(base, private_key, public_key->p, res)) != CRYPT_OK) { in dsa_shared_secret()
|
A D | dsa_encrypt_key.c | 85 if ((err = mp_exptmod(key->g, g_priv, key->p, g_pub)) != CRYPT_OK) { in dsa_encrypt_key()
|
A D | dsa_set.c | 89 …if ((err = mp_exptmod(key->g, key->x, key->p, key->y)) != CRYPT_OK) { goto LBL_ERR; } in dsa_set_key()
|
A D | dsa_sign_hash.c | 81 …if ((err = mp_exptmod(key->g, k, key->p, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
A D | dsa_generate_pqg.c | 192 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 D | dh_shared_secret.c | 55 if ((err = mp_exptmod(public_key->y, private_key->x, private_key->prime, tmp)) != CRYPT_OK) { in dh_shared_secret()
|
A D | dh_generate_key.c | 83 if ((err = mp_exptmod(key->base, key->x, key->prime, key->y)) != CRYPT_OK) { in dh_generate_key()
|
A D | dh_import.c | 58 if ((err = mp_exptmod(key->base, key->x, key->prime, key->y)) != CRYPT_OK) { in dh_import()
|
A D | dh_make_key.c | 127 err = mp_exptmod(key->base, key->x, key->prime, key->y); in dh_make_key()
|
A D | dh_set.c | 102 … 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 D | dh.c | 78 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 D | ltm_desc.c | 417 return mpi_to_ltc_error(mp_exptmod(a,b,c,d)); in exptmod()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 208 #define mp_exptmod(a,b,c,d) ltc_mp.exptmod(a,b,c,d) macro
|
Completed in 13 milliseconds