Home
last modified time | relevance | path

Searched refs:mp_gcd (Results 1 – 18 of 18) sorted by relevance

/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_make_key.c60 …if ((err = mp_gcd( tmp1, tmp3, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = gcd(p-1,… in rsa_make_key()
67 …if ((err = mp_gcd( tmp1, tmp3, tmp2)) != CRYPT_OK) { goto errkey; } /* tmp2 = gcd(q-1, … in rsa_make_key()
/external/dropbear/libtommath/
Dbn_mp_lcm.c30 if ((res = mp_gcd (a, b, &t1)) != MP_OKAY) { in mp_lcm()
Dbn_mp_gcd.c19 int mp_gcd (mp_int * a, mp_int * b, mp_int * c) in mp_gcd() function
Dchanges.txt8 …-- "mm" from sci.crypt pointed out that my mp_gcd was sub-optimal (I also updated and corrected th…
153 Also, Martin is the fellow who noted the bugs in mp_gcd() of 0.24/0.25.
161 v0.25 -- Fix to mp_gcd again... oops (0,-a) == (-a, 0) == a
166 -- Optimized mp_gcd() by removing mp_div_2d calls for when one of the inputs
175 -- Fixed mp_gcd() so the gcd of 0,0 is 0. Allows the gcd operation to be chained
206 …-- optimized mp_gcd() to use the new mp_cnt_lsb() to replace multiple divisions by two by a single…
275 -- Cleaned up mp_gcd to use the macros for odd/even detection
Dtommath.h372 int mp_gcd(mp_int *a, mp_int *b, mp_int *c);
Dbn.tex1788 int mp_gcd (mp_int * a, mp_int * b, mp_int * c)
/external/dropbear/libtommath/mtest/
Dmtest.c209 mp_gcd(&a, &b, &c); in main()
254 mp_gcd(&a, &b, &c); in main()
Dmpi.h172 mp_err mp_gcd(mp_int *a, mp_int *b, mp_int *c);
Dmpi.c1919 mp_err mp_gcd(mp_int *a, mp_int *b, mp_int *c) in mp_gcd() function
2036 if((res = mp_gcd(a, b, &gcd)) != MP_OKAY) in mp_lcm()
/external/dropbear/
Dgenrsa.c125 if (mp_gcd(primeminus, rsa_e, &temp_gcd) != MP_OKAY) { in getrsaprime()
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_sign_hash.c80 … if ((err = mp_gcd(k, key->q, tmp)) != CRYPT_OK) { goto error; } in dsa_sign_hash_raw()
/external/dropbear/libtomcrypt/src/pk/katja/
Dkatja_make_key.c58 if ((err = mp_gcd(p, tmp1, tmp2)) != CRYPT_OK) { goto done; } in katja_make_key()
/external/dropbear/libtommath/demo/
Dtiming.c291 mp_gcd(&a, &b, &c); in main()
Ddemo.c600 mp_gcd(&d, &b, &d); in main()
666 mp_gcd(&a, &b, &e); in main()
/external/dropbear/libtommath/etc/
Dpprime.c256 if ((res = mp_gcd (&n, &v, &y)) != MP_OKAY) { /* y = (n, v) */ in pprime()
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h481 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c299 return mpi_to_ltc_error(mp_gcd(a, b, c)); in gcd()
/external/dropbear/libtommath/pre_gen/
Dmpi.c3174 int mp_gcd (mp_int * a, mp_int * b, mp_int * c) in mp_gcd() function
4420 if ((res = mp_gcd (a, b, &t1)) != MP_OKAY) { in mp_lcm()