Home
last modified time | relevance | path

Searched refs:BN_is_word (Results 1 – 7 of 7) sorted by relevance

/external/boringssl/src/crypto/dh/
Dcheck.c148 } 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/
Dbn_test.cc1460 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 …]
Dcmp.c194 int BN_is_word(const BIGNUM *bn, BN_ULONG w) { in BN_is_word() function
Dgcd.c468 if (BN_is_word(D, 2)) { in BN_mod_inverse()
472 } else if (BN_is_word(D, 4)) { in BN_mod_inverse()
Dprime.c494 return BN_is_word(a, 2); in BN_is_prime_fasttest_ex()
/external/boringssl/src/include/openssl/
Dbn.h436 OPENSSL_EXPORT int BN_is_word(const BIGNUM *bn, BN_ULONG w);
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1131 if (BN_is_word(tmp, 1)) in crypto_bignum_legendre()