Home
last modified time | relevance | path

Searched refs:mp_sqrmod (Results 1 – 10 of 10) sorted by relevance

/external/dropbear/libtommath/etc/
Dpprime.c277 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2a mod n */ in pprime()
294 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2b mod n */ in pprime()
311 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2ab mod n */ in pprime()
/external/dropbear/libtommath/
Dbn_mp_sqrmod.c20 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) in mp_sqrmod() function
Dbn_mp_prime_miller_rabin.c74 if ((err = mp_sqrmod (&y, a, &y)) != MP_OKAY) { in mp_prime_miller_rabin()
Dtommath.h366 int mp_sqrmod(mp_int *a, mp_int *b, mp_int *c);
/external/dropbear/libtommath/mtest/
Dmpi.h149 mp_err mp_sqrmod(mp_int *a, mp_int *m, mp_int *c);
151 #define mp_sqrmod(a, m, c) mp_mulmod(a, a, m, c) macro
Dmpi.c1603 mp_err mp_sqrmod(mp_int *a, mp_int *m, mp_int *c) in mp_sqrmod() function
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h485 #define mp_sqrmod(a, b, c) ltc_mp.sqrmod(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c325 return mpi_to_ltc_error(mp_sqrmod(a,b,c)); in sqrmod()
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c740 …if ((err = mp_sqrmod(fp_cache[idx].LUT[x]->z, modulus, tmp)) != CRYPT_OK) … in build_lut()
/external/dropbear/libtommath/pre_gen/
Dmpi.c5802 if ((err = mp_sqrmod (&y, a, &y)) != MP_OKAY) { in mp_prime_miller_rabin()
7345 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) in mp_sqrmod() function