Home
last modified time | relevance | path

Searched refs:mp_mul (Results 1 – 11 of 11) sorted by relevance

/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Dltc_ecc_projective_add_point.c76 if ((err = mp_mul(t1, x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
79 if ((err = mp_mul(Q->z, t1, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
82 if ((err = mp_mul(t1, y, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
90 if ((err = mp_mul(Q->x, t1, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
93 if ((err = mp_mul(z, t1, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
96 if ((err = mp_mul(Q->y, t1, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
133 if ((err = mp_mul(z, Q->z, z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
138 if ((err = mp_mul(z, x, z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
142 if ((err = mp_mul(t1, x, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
148 if ((err = mp_mul(t2, x, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
[all …]
A Dltc_ecc_map.c46 if ((err = mp_mul(t1, t2, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
50 if ((err = mp_mul(P->x, t2, P->x)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
52 if ((err = mp_mul(P->y, t1, P->y)) != CRYPT_OK) { goto done; } in ltc_ecc_map()
A Dltc_ecc_projective_dbl_point.c69 if ((err = mp_mul(R->z, R->y, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
89 if ((err = mp_mul(t1, t2, t2)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
107 if ((err = mp_mul(t2, ma, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
146 if ((err = mp_mul(R->y, R->x, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
169 if ((err = mp_mul(R->y, t1, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
A Dltc_ecc_is_point.c32 if ((err = mp_mul(x, t2, t2)) != CRYPT_OK) goto cleanup; in ltc_ecc_is_point()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_sign_hash.c84 …if ((err = mp_mul(key->x, r, s)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c57 …if ((err = mp_mul( p, q, key->N)) != CRYPT_OK) { goto errkey; } /* key->N = p… in s_rsa_make_key()
A Drsa_exptmod.c118 …if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto … in rsa_exptmod()
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dsm2-dsa.c107 ltc_res = mp_mul(r, ltc_key.k, tmp); in sm2_ltc_dsa_sign()
A Dsm2-kep.c311 ltc_res = mp_mul(h, tA, htA); in sm2_kep_derive()
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/
A Dltm_desc.c276 return mpi_to_ltc_error(mp_mul(a, b, c)); in mul()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_private.h199 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) macro

Completed in 17 milliseconds