Searched refs:BN_is_word (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/crypto/dh/ |
D | check.c | 148 } else if (BN_is_word(dh->g, DH_GENERATOR_2)) { in DH_check() 153 } else if (BN_is_word(dh->g, DH_GENERATOR_5)) { in DH_check()
|
/external/boringssl/src/crypto/bn/ |
D | bn_test.cc | 1460 if (ret != 3 || !BN_is_word(bn.get(), 256) || BN_is_negative(bn.get())) { in test_dec2bn() 1502 if (ret != 3 || !BN_is_word(bn.get(), 0x256) || BN_is_negative(bn.get())) { in test_hex2bn() 1520 if (ret != 3 || !BN_is_word(bn.get(), 0xabc) || BN_is_negative(bn.get())) { in test_hex2bn() 1544 if (!bn || !BN_is_word(bn.get(), 256) || BN_is_negative(bn.get())) { in test_asc2bn() 1556 if (!bn || !BN_is_word(bn.get(), 0x1234) || BN_is_negative(bn.get())) { in test_asc2bn() 1562 if (!bn || !BN_is_word(bn.get(), 0x1234) || BN_is_negative(bn.get())) { in test_asc2bn() 1580 if (!bn || !BN_is_word(bn.get(), 123) || BN_is_negative(bn.get())) { in test_asc2bn() 1608 !BN_is_word(bn.get(), 1)) { in test_rand() 1613 !BN_is_word(bn.get(), 1)) { in test_rand() 1618 !BN_is_word(bn.get(), 1)) { in test_rand() [all …]
|
D | cmp.c | 194 int BN_is_word(const BIGNUM *bn, BN_ULONG w) { in BN_is_word() function
|
D | gcd.c | 468 if (BN_is_word(D, 2)) { in BN_mod_inverse() 472 } else if (BN_is_word(D, 4)) { in BN_mod_inverse()
|
D | prime.c | 494 return BN_is_word(a, 2); in BN_is_prime_fasttest_ex()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 436 OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w);
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1131 if (BN_is_word(tmp, 1)) in crypto_bignum_legendre()
|