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

/external/dropbear/libtommath/
H A Dbn_mp_sqrmod.c20 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) function
H A Dbn_mp_prime_miller_rabin.c74 if ((err = mp_sqrmod (&y, a, &y)) != MP_OKAY) {
H A Dtommath.h366 int mp_sqrmod(mp_int *a, mp_int *b, mp_int *c);
/external/dropbear/libtommath/etc/
H A Dpprime.c277 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2a mod n */
294 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2b mod n */
311 if ((res = mp_sqrmod (&y, &n, &y)) != MP_OKAY) { /* y = x^2ab mod n */
/external/dropbear/libtommath/mtest/
H A 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
H A Dmpi.c1600 /* {{{ mp_sqrmod(a, m, c) */
1603 mp_err mp_sqrmod(mp_int *a, mp_int *m, mp_int *c) function
1616 } /* end mp_sqrmod() */
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_math.h485 #define mp_sqrmod(a, b, c) ltc_mp.sqrmod(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
H A Dltm_desc.c325 return mpi_to_ltc_error(mp_sqrmod(a,b,c));
/external/dropbear/libtomcrypt/src/math/fp/
H A Dltc_ecc_fp_mulmod.c740 if ((err = mp_sqrmod(fp_cache[idx].LUT[x]->z, modulus, tmp)) != CRYPT_OK) { goto ERR; }
/external/dropbear/libtommath/pre_gen/
H A Dmpi.c5802 if ((err = mp_sqrmod (&y, a, &y)) != MP_OKAY) {
7345 mp_sqrmod (mp_int * a, mp_int * b, mp_int * c) function

Completed in 356 milliseconds