Searched refs:BN_abs_is_word (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/crypto/bn/ |
D | cmp.c | 175 int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w) { in BN_abs_is_word() function 191 return bn->neg == 0 && BN_abs_is_word(bn, 1); in BN_is_one() 195 return BN_abs_is_word(bn, w) && (w == 0 || bn->neg == 0); in BN_is_word()
|
D | kronecker.c | 92 ret = BN_abs_is_word(A, 1); in BN_kronecker()
|
D | sqrt.c | 72 if (!BN_is_odd(p) || BN_abs_is_word(p, 1)) { in BN_mod_sqrt() 73 if (BN_abs_is_word(p, 2)) { in BN_mod_sqrt()
|
D | bn_test.cc | 611 if (!BN_is_zero(c.get()) && !BN_abs_is_word(c.get(), 1)) { in test_rshift1() 1556 if (ret != 3 || !BN_abs_is_word(bn.get(), 42) || !BN_is_negative(bn.get())) { in test_dec2bn() 1568 if (ret != 2 || !BN_abs_is_word(bn.get(), 42) || BN_is_negative(bn.get())) { in test_dec2bn() 1591 if (ret != 3 || !BN_abs_is_word(bn.get(), 0x42) || !BN_is_negative(bn.get())) { in test_hex2bn() 1633 if (!bn || !BN_abs_is_word(bn.get(), 42) || !BN_is_negative(bn.get())) { in test_asc2bn() 1651 if (!bn || !BN_abs_is_word(bn.get(), 0xabcd) || !BN_is_negative(bn.get())) { in test_asc2bn()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 446 OPENSSL_EXPORT int BN_abs_is_word(const BIGNUM *bn, BN_ULONG w);
|