Searched refs:mp_cmp_d (Results 1 - 22 of 22) sorted by relevance

/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_cmp_d.c21 int mp_cmp_d(mp_int * a, mp_digit b) function
H A Dbn_mp_jacobi.c30 if (mp_cmp_d(p, 0) != MP_GT) {
41 if (mp_cmp_d (a, 1) == MP_EQ) {
84 if (mp_cmp_d (&a1, 1) == MP_EQ) {
H A Dbn_mp_prime_miller_rabin.c36 if (mp_cmp_d(b, 1) != MP_GT) {
72 if (mp_cmp_d (&y, 1) != MP_EQ && mp_cmp (&y, &n1) != MP_EQ) {
81 if (mp_cmp_d (&y, 1) == MP_EQ) {
H A Dbn_mp_prime_fermat.c37 if (mp_cmp_d(b, 1) != MP_GT) {
H A Dbn_mp_prime_next_prime.c40 if (mp_cmp_d(a, ltm_prime_tab[PRIME_SIZE-1]) == MP_LT) {
43 if (mp_cmp_d(a, ltm_prime_tab[x]) != MP_LT) {
67 if (mp_cmp_d(a, 1) == MP_EQ) {
H A Dbn_mp_fread.c58 if (mp_cmp_d(a, 0) != MP_EQ) {
H A Dbn_mp_prime_is_prime.c42 if (mp_cmp_d(a, ltm_prime_tab[ix]) == MP_EQ) {
H A Dbn_mp_reduce.c78 if (mp_cmp_d (x, 0) == MP_LT) {
H A Dbn_mp_invmod_slow.c148 if (mp_cmp_d (&v, 1) != MP_EQ) {
154 while (mp_cmp_d(&C, 0) == MP_LT) {
H A Dbn_fast_mp_invmod.c127 if (mp_cmp_d (&v, 1) != MP_EQ) {
H A Dtommath.h337 int mp_cmp_d(mp_int *a, mp_digit b);
H A Dbn.tex927 int mp_cmp_d(mp_int * a, mp_digit b);
951 switch(mp_cmp_d(&number, 7)) \{
1011 switch(mp_cmp_d(&number, 7)) \{
1023 switch(mp_cmp_d(&number, 7)) \{
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/etc/
H A Dpprime.c262 if (mp_cmp_d (&y, 1) != MP_EQ)
275 if (mp_cmp_d (&y, 1) == MP_EQ)
283 if (mp_cmp_d (&y, 1) == MP_EQ)
292 if (mp_cmp_d (&y, 1) == MP_EQ)
300 if (mp_cmp_d (&y, 1) == MP_EQ)
309 if (mp_cmp_d (&y, 1) == MP_EQ)
318 if (mp_cmp_d (&y, 1) != MP_EQ)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/demo/
H A Dtiming.c269 if (mp_cmp_d(&d, 1)) {
294 } while (mp_cmp_d(&c, 1) != MP_EQ);
306 if (mp_cmp_d(&d, 1) != MP_EQ) {
H A Ddemo.c295 if (mp_cmp(&b, &c) || mp_cmp_d(&e, r2)) {
662 if (mp_cmp_d(&e, 1) != MP_EQ) {
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/
H A Dbignum.c135 return mp_cmp_d((mp_int *) a, b);
H A Dlibtommath.c692 static int mp_cmp_d(mp_int * a, mp_digit b) function
882 if (mp_cmp_d (&v, 1) != MP_EQ) {
888 while (mp_cmp_d(&C, 0) == MP_LT) {
2298 if (mp_cmp_d (x, 0) == MP_LT) {
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Ddh-ltm.c170 || mp_cmp_d(&peer_pub, 1) <= 0)
H A Drsa-ltm.c537 } while(mp_cmp_d(&t2, 1) != 0);
552 } while(mp_cmp_d(&t2, 1) != 0);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/mtest/
H A Dmtest.c257 if (mp_cmp_d(&c, 1) != 0) continue;
258 if (mp_cmp_d(&b, 1) == 0) continue;
H A Dmpi.h163 int mp_cmp_d(mp_int *a, mp_digit d);
H A Dmpi.c1469 if(mp_cmp_d(a, 0) == MP_EQ || mp_cmp_d(a, 1) == MP_EQ)
1791 /* {{{ mp_cmp_d(a, d) */
1794 mp_cmp_d(a, d)
1799 int mp_cmp_d(mp_int *a, mp_digit d) function
1808 } /* end mp_cmp_d() */
1863 you can always use mp_cmp_d(), and for zero, there is mp_cmp_z().
2203 if(mp_cmp_d(&g, 1) != MP_EQ) {

Completed in 92 milliseconds