Searched refs:mp_mod (Results 1 – 13 of 13) sorted by relevance
/optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 135 if ((err = mp_mod(U, t2N1, U)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params() 148 if ((err = mp_mod(seedinc, t2seedlen, seedinc)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params() 158 if ((err = mp_mod(W, t2L1, W)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params() 160 if ((err = mp_mod(X, t2q, c)) != CRYPT_OK) { goto cleanup; } in _dsa_make_params()
|
A D | dsa_verify_hash.c | 73 …if ((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
|
A D | dsa_sign_hash.c | 82 …if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_map.c | 52 if ((err = mp_mod(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map() 54 if ((err = mp_mod(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
A D | ltc_ecc_is_point.c | 38 if ((err = mp_mod(t2, prime, t2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
|
A D | ltc_ecc_import_point.c | 51 … if ((err = mp_mod(t2, prime, y)) != CRYPT_OK) { goto cleanup; } in ltc_ecc_import_point()
|
A D | ecc_recover_key.c | 193 …if ((err = mp_mod(t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key() 236 …if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) … in ecc_recover_key()
|
A D | ecc_sign_hash.c | 86 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } in ecc_sign_hash_ex()
|
A D | ecc_verify_hash.c | 193 …if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) … in ecc_verify_hash_ex()
|
/optee_os/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 70 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod… in s_rsa_make_key() 71 …if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto errkey; } /* dQ = d mod… in s_rsa_make_key()
|
/optee_os/core/lib/libtomcrypt/src/pk/dh/ |
A D | dh_make_key.c | 122 err = mp_mod(key->y, arg_mod, key->x); in dh_make_key()
|
/optee_os/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 811 if ((err = mp_mod(k, order, tk)) != CRYPT_OK) { in _accel_fp_mul() 936 if ((err = mp_mod(kA, order, tka)) != CRYPT_OK) { in _accel_fp_mul2add() 974 if ((err = mp_mod(kB, order, tkb)) != CRYPT_OK) { in _accel_fp_mul2add()
|
/optee_os/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 192 #define mp_mod(a, b, c) ltc_mp.mpdiv(a, b, NULL, c) macro
|
Completed in 13 milliseconds