/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_verify_key.c | 53 if (mp_cmp_d(key->g, 0) == LTC_MP_EQ || mp_cmp_d(key->g, 1) == LTC_MP_EQ) { in dsa_verify_key() 64 if (!(mp_cmp_d(key->y, 1) == LTC_MP_GT && mp_cmp(key->y, tmp) == LTC_MP_LT)) { in dsa_verify_key() 77 if (mp_cmp_d(tmp, 1) != LTC_MP_EQ) { in dsa_verify_key() 84 if (mp_cmp_d(tmp, 1) != LTC_MP_EQ) { in dsa_verify_key()
|
D | dsa_sign_hash.c | 77 … if (mp_cmp_d(k, 1) != LTC_MP_GT) { goto retry; } in dsa_sign_hash_raw() 81 } while (mp_cmp_d(tmp, 1) != LTC_MP_EQ); in dsa_sign_hash_raw()
|
D | dsa_make_key.c | 99 } while (mp_cmp_d(tmp, 1) == LTC_MP_EQ); in dsa_make_key() 113 } while (mp_cmp_d(key->x, 1) != LTC_MP_GT); in dsa_make_key()
|
/external/dropbear/libtommath/etc/ |
D | pprime.c | 260 if (mp_cmp_d (&y, 1) != MP_EQ) in pprime() 273 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime() 281 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime() 290 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime() 298 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime() 307 if (mp_cmp_d (&y, 1) == MP_EQ) in pprime() 316 if (mp_cmp_d (&y, 1) != MP_EQ) in pprime()
|
/external/dropbear/libtommath/ |
D | bn_mp_jacobi.c | 28 if (mp_cmp_d(p, 0) != MP_GT) { in mp_jacobi() 39 if (mp_cmp_d (a, 1) == MP_EQ) { in mp_jacobi() 82 if (mp_cmp_d (&a1, 1) == MP_EQ) { in mp_jacobi()
|
D | bn_mp_prime_miller_rabin.c | 34 if (mp_cmp_d(b, 1) != MP_GT) { in mp_prime_miller_rabin() 70 if (mp_cmp_d (&y, 1) != MP_EQ && mp_cmp (&y, &n1) != MP_EQ) { in mp_prime_miller_rabin() 79 if (mp_cmp_d (&y, 1) == MP_EQ) { in mp_prime_miller_rabin()
|
D | bn_mp_prime_next_prime.c | 38 if (mp_cmp_d(a, ltm_prime_tab[PRIME_SIZE-1]) == MP_LT) { in mp_prime_next_prime() 41 if (mp_cmp_d(a, ltm_prime_tab[x]) != MP_LT) { in mp_prime_next_prime() 65 if (mp_cmp_d(a, 1) == MP_EQ) { in mp_prime_next_prime()
|
D | bn_mp_invmod_slow.c | 146 if (mp_cmp_d (&v, 1) != MP_EQ) { in mp_invmod_slow() 152 while (mp_cmp_d(&C, 0) == MP_LT) { in mp_invmod_slow()
|
D | bn_mp_cmp_d.c | 19 int mp_cmp_d(mp_int * a, mp_digit b) in mp_cmp_d() function
|
D | bn_mp_prime_fermat.c | 35 if (mp_cmp_d(b, 1) != MP_GT) { in mp_prime_fermat()
|
D | bn_mp_fread.c | 56 if (mp_cmp_d(a, 0) != MP_EQ) { in mp_fread()
|
D | bn_mp_prime_is_prime.c | 40 if (mp_cmp_d(a, ltm_prime_tab[ix]) == MP_EQ) { in mp_prime_is_prime()
|
D | bn_mp_reduce.c | 76 if (mp_cmp_d (x, 0) == MP_LT) { in mp_reduce()
|
D | bn_fast_mp_invmod.c | 125 if (mp_cmp_d (&v, 1) != MP_EQ) { in fast_mp_invmod()
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ltc_ecc_projective_dbl_point.c | 68 if (mp_cmp_d(t2, 0) == LTC_MP_LT) { in ltc_ecc_projective_dbl_point() 115 if (mp_cmp_d(R->x, 0) == LTC_MP_LT) { in ltc_ecc_projective_dbl_point() 120 if (mp_cmp_d(R->x, 0) == LTC_MP_LT) { in ltc_ecc_projective_dbl_point() 126 if (mp_cmp_d(R->y, 0) == LTC_MP_LT) { in ltc_ecc_projective_dbl_point() 134 if (mp_cmp_d(R->y, 0) == LTC_MP_LT) { in ltc_ecc_projective_dbl_point()
|
D | ltc_ecc_projective_add_point.c | 95 if (mp_cmp_d(y, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point() 110 if (mp_cmp_d(x, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point() 153 if (mp_cmp_d(x, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point() 159 if (mp_cmp_d(t2, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point() 164 if (mp_cmp_d(t2, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point() 172 if (mp_cmp_d(y, 0) == LTC_MP_LT) { in ltc_ecc_projective_add_point()
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
D | der_encode_integer.c | 48 if (mp_cmp_d(num, 0) != LTC_MP_LT) { in der_encode_integer() 93 if (mp_cmp_d(num, 0) == LTC_MP_GT) { in der_encode_integer()
|
D | der_length_integer.c | 34 if (mp_cmp_d(num, 0) != LTC_MP_LT) { in der_length_integer()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_import.c | 97 if (mp_cmp_d(key->N, 0) == LTC_MP_EQ) { in rsa_import() 118 } else if (mp_cmp_d(key->N, 1) == LTC_MP_EQ) { in rsa_import()
|
D | rsa_make_key.c | 61 …} while (mp_cmp_d( tmp2, 1) != 0); /* while e div… in rsa_make_key() 68 …} while (mp_cmp_d( tmp2, 1) != 0); /* while e divi… in rsa_make_key()
|
/external/dropbear/libtommath/demo/ |
D | timing.c | 267 if (mp_cmp_d(&d, 1)) { in main() 292 } while (mp_cmp_d(&c, 1) != MP_EQ); in main() 304 if (mp_cmp_d(&d, 1) != MP_EQ) { in main()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_import.c | 48 if (mp_cmp_d(key->N, 0) == LTC_MP_EQ) { in katja_import()
|
/external/dropbear/libtommath/mtest/ |
D | mtest.c | 255 if (mp_cmp_d(&c, 1) != 0) continue; in main() 256 if (mp_cmp_d(&b, 1) == 0) continue; in main()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_math.h | 459 #define mp_cmp_d(a, b) ltc_mp.compare_d(a, b) macro 496 #define mp_iszero(a) (mp_cmp_d(a, 0) == LTC_MP_EQ ? LTC_MP_YES : LTC_MP_NO)
|
/external/dropbear/ |
D | genrsa.c | 129 } while (mp_cmp_d(&temp_gcd, 1) != MP_EQ); /* while gcd(p-1, e) != 1 */ in getrsaprime()
|