Home
last modified time | relevance | path

Searched refs:gcd (Results 1 – 15 of 15) sorted by relevance

/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h254 int (*gcd)(void *a, void *b, void *c); member
481 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c)
/external/dropbear/libtomcrypt/src/math/
Dgmp_desc.c289 static int gcd(void *a, void *b, void *c) in gcd() function
427 &gcd,
Dltm_desc.c294 static int gcd(void *a, void *b, void *c) in gcd() function
433 &gcd,
Dtfm_desc.c303 static int gcd(void *a, void *b, void *c) in gcd() function
721 &gcd,
/external/zlib/examples/
Dgzappend.c100 local unsigned gcd(unsigned a, unsigned b) in gcd() function
152 cycles = gcd(len, rot); /* number of cycles */ in rotate()
/external/dropbear/libtommath/
Dposter.tex29 $b = \sqrt{a}$ & {\tt mp\_sqrt(\&a, \&b)} & $c = \mbox{gcd}(a, b)$ & {\tt mp\_gcd(\&a, \&b, \&c)} …
Dchanges.txt175 -- Fixed mp_gcd() so the gcd of 0,0 is 0. Allows the gcd operation to be chained
Dbn.tex19 \def\gcd{{\rm gcd}}
1564 $gcd(G, P) = 1$.
/external/icu4c/i18n/
Dnfrs.cpp96 int64_t gcd = x1 << p2; in util_lcm() local
99 return x / gcd * y; in util_lcm()
/external/dropbear/libtommath/mtest/
Dmpi.c2023 mp_int gcd, prod; in mp_lcm() local
2029 if((res = mp_init(&gcd)) != MP_OKAY) in mp_lcm()
2036 if((res = mp_gcd(a, b, &gcd)) != MP_OKAY) in mp_lcm()
2039 res = mp_div(&prod, &gcd, c, NULL); in mp_lcm()
2044 mp_clear(&gcd); in mp_lcm()
/external/webkit/V8Binding/v8/benchmarks/
Dcrypto.js1332 BigInteger.prototype.gcd = bnGCD; method in BigInteger
1602 …if(this.p.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.p.isProbablePrim…
1606 …if(this.q.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.q.isProbablePrim…
1616 if(phi.gcd(ee).compareTo(BigInteger.ONE) == 0) {
Dearley-boyer.js410 var gcd = 0;
412 gcd = sc_euclid_gcd(gcd, arguments[i]);
413 return gcd;
/external/webkit/SunSpider/tests/
Dv8-crypto.js1324 BigInteger.prototype.gcd = bnGCD; method in BigInteger
1594 …if(this.p.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.p.isProbablePrim…
1598 …if(this.q.subtract(BigInteger.ONE).gcd(ee).compareTo(BigInteger.ONE) == 0 && this.q.isProbablePrim…
1608 if(phi.gcd(ee).compareTo(BigInteger.ONE) == 0) {
Dv8-earley-boyer.js404 var gcd = 0;
406 gcd = sc_euclid_gcd(gcd, arguments[i]);
407 return gcd;
/external/dropbear/libtomcrypt/
Dcrypt.tex21 \def\gcd{{\rm gcd}}
3232 $\mbox{gcd}(e, \phi(N)) = 1$. The private key consists of the composite $N$ and the inverse of $e$…
6199 /** gcd
6205 int (*gcd)(void *a, void *b, void *c);