Searched refs:mp_mul (Results 1 – 11 of 11) sorted by relevance
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_projective_add_point.c | 76 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 D | ltc_ecc_map.c | 46 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 D | ltc_ecc_projective_dbl_point.c | 69 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 D | ltc_ecc_is_point.c | 32 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 D | dsa_sign_hash.c | 84 …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 D | rsa_make_key.c | 57 …if ((err = mp_mul( p, q, key->N)) != CRYPT_OK) { goto errkey; } /* key->N = p… in s_rsa_make_key()
|
A D | rsa_exptmod.c | 118 …if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto … in rsa_exptmod()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sm2-dsa.c | 107 ltc_res = mp_mul(r, ltc_key.k, tmp); in sm2_ltc_dsa_sign()
|
A D | sm2-kep.c | 311 ltc_res = mp_mul(h, tA, htA); in sm2_kep_derive()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/math/ |
A D | ltm_desc.c | 276 return mpi_to_ltc_error(mp_mul(a, b, c)); in mul()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_private.h | 199 #define mp_mul(a, b, c) ltc_mp.mul(a, b, c) macro
|
Completed in 17 milliseconds