Searched refs:mp_mod (Results 1 – 13 of 13) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_map.c | 45 if ((err = mp_mod(t2, modulus, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_map() 47 if ((err = mp_mod(t1, modulus, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
|
A D | ltc_ecc_is_point.c | 31 if ((err = mp_mod(t2, prime, t2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
|
A D | ltc_ecc_import_point.c | 44 … if ((err = mp_mod(t2, prime, y)) != CRYPT_OK) { goto cleanup; } in ltc_ecc_import_point()
|
A D | ecc_recover_key.c | 187 …if ((err = mp_mod(t2, m, mR->y)) != CRYPT_OK) … in ecc_recover_key() 230 …if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) … in ecc_recover_key()
|
A D | ecc_sign_hash.c | 79 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } in ecc_sign_hash_ex()
|
A D | ecc_verify_hash.c | 187 …if ((err = mp_mod(mG->x, p, v)) != CRYPT_OK) … in ecc_verify_hash_ex()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/ |
A D | dsa_generate_pqg.c | 128 if ((err = mp_mod(U, t2N1, U)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 141 if ((err = mp_mod(seedinc, t2seedlen, seedinc)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 151 if ((err = mp_mod(W, t2L1, W)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params() 153 if ((err = mp_mod(X, t2q, c)) != CRYPT_OK) { goto cleanup; } in s_dsa_make_params()
|
A D | dsa_verify_hash.c | 66 …if ((err = mp_mod(v, key->q, v)) != CRYPT_OK) { goto erro… in dsa_verify_hash_raw()
|
A D | dsa_sign_hash.c | 75 …if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/ |
A D | rsa_make_key.c | 63 …if ((err = mp_mod( key->d, tmp1, key->dP)) != CRYPT_OK) { goto errkey; } /* dP = d mod… in s_rsa_make_key() 64 …if ((err = mp_mod( key->d, tmp2, key->dQ)) != CRYPT_OK) { goto errkey; } /* dQ = d mod… in s_rsa_make_key()
|
/optee_os-3.20.0/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-3.20.0/core/lib/libtomcrypt/src/math/fp/ |
A D | ltc_ecc_fp_mulmod.c | 804 if ((err = mp_mod(k, order, tk)) != CRYPT_OK) { in s_accel_fp_mul() 929 if ((err = mp_mod(kA, order, tka)) != CRYPT_OK) { in ss_accel_fp_mul2add() 967 if ((err = mp_mod(kB, order, tkb)) != CRYPT_OK) { in ss_accel_fp_mul2add()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 205 #define mp_mod(a, b, c) ltc_mp.mpdiv(a, b, NULL, c) macro
|
Completed in 12 milliseconds