/external/boringssl/src/crypto/bn_extra/ |
D | convert.c | 93 if (BN_is_zero(bn)) { in BN_bn2hex() 227 if (!BN_is_zero(ret)) { in bn_x2bn() 256 if (BN_is_zero(a)) { in BN_bn2dec() 266 while (!BN_is_zero(copy)) { in BN_bn2dec() 272 const int add_leading_zeros = !BN_is_zero(copy); in BN_bn2dec() 332 if (*orig_in == '-' && !BN_is_zero(*outp)) { in BN_asc2bn() 347 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | sqrt.c | 94 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 248 if (BN_is_zero(y)) { in BN_mod_sqrt() 313 if (BN_is_zero(t)) // special case: p = 2^e + 1 in BN_mod_sqrt() 318 if (BN_is_zero(t)) { in BN_mod_sqrt() 330 if (BN_is_zero(x)) { in BN_mod_sqrt() 435 if (BN_is_zero(in)) { in BN_sqrt()
|
D | montgomery_inv.c | 37 assert(!BN_is_zero(n)); in bn_mont_n0() 165 assert(!BN_is_zero(n)); in bn_mod_exp_base_2_consttime()
|
D | add.c | 148 if (BN_is_zero(a)) { in BN_add_word() 156 if (!BN_is_zero(a)) { in BN_add_word() 277 if (BN_is_zero(a)) { in BN_sub_word()
|
D | bn_test.cc | 423 if (!BN_is_zero(a.get())) { in TestSquare() 434 if (!BN_is_zero(square.get())) { in TestSquare() 495 if (!BN_is_zero(a.get())) { in TestProduct() 502 if (!BN_is_zero(b.get())) { in TestProduct() 821 if (BN_is_zero(mod_sqrt.get())) { in TestModSqrt() 895 if (!BN_is_zero(b.get())) { in TestGCD() 906 if (!BN_is_zero(a.get())) { in TestGCD() 923 if (!BN_is_zero(gcd.get())) { in TestGCD() 1103 EXPECT_TRUE(BN_is_zero(bn.get())); in TEST_F() 1118 EXPECT_TRUE(BN_is_zero(bn.get())); in TEST_F() [all …]
|
D | gcd_extra.c | 109 assert(BN_is_zero(u) || BN_is_zero(v)); in bn_gcd_consttime() 176 if (BN_is_zero(a)) { in bn_mod_inverse_consttime() 313 assert(BN_is_zero(v)); in bn_mod_inverse_consttime()
|
D | jacobi.c | 106 if (BN_is_zero(A)) { in bn_jacobi()
|
D | div.c | 217 if (BN_is_zero(divisor)) { in BN_div() 389 if (!BN_is_zero(rem)) { in BN_div() 466 if (BN_is_zero(divisor)) { in bn_div_consttime() 850 if (BN_is_zero(r) || !r->neg) { in BN_nnmod_pow2()
|
D | cmp.c | 152 int BN_is_zero(const BIGNUM *bn) { in BN_is_zero() function
|
D | gcd.c | 162 while (!BN_is_zero(B)) { in BN_mod_inverse_odd()
|
D | bn.c | 339 if (sign && !BN_is_zero(bn)) { in BN_set_negative()
|
D | montgomery.c | 164 if (BN_is_zero(mod)) { in bn_mont_ctx_set_N_and_n0()
|
D | exponentiation.c | 334 r->neg = BN_is_zero(r) ? 0 : m->neg; in BN_div_recp() 473 if (BN_is_zero(val[0])) { in mod_exp_recp()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa.c | 156 if (BN_is_zero(sig->r) || in ECDSA_do_verify() 158 BN_is_zero(sig->s) || in ECDSA_do_verify() 294 if (!BN_is_zero(ret->s)) { in ECDSA_do_sign()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 568 if (BN_is_zero(dsa->p) || BN_is_zero(dsa->q) || BN_is_zero(dsa->g)) { in DSA_do_sign() 636 if (BN_is_zero(r) || BN_is_zero(s)) { in DSA_do_sign() 704 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in DSA_do_check_signature() 709 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in DSA_do_check_signature()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 313 if (BN_is_zero(y)) { in EC_POINT_set_compressed_coordinates_GFp()
|
D | ec_test.cc | 854 bool is_infinity = BN_is_zero(x.get()) && BN_is_zero(y.get()); in TEST()
|
D | p256-x86_64_test.cc | 241 if (BN_is_zero(z.get())) { in PointToAffine()
|
D | ec.c | 617 assert(!BN_is_zero(&group->order)); in EC_GROUP_get0_order()
|
/external/boringssl/src/crypto/asn1/ |
D | a_int.c | 384 if (BN_is_negative(bn) && !BN_is_zero(bn)) in BN_to_ASN1_INTEGER()
|
/external/boringssl/src/crypto/evp/ |
D | print.c | 76 if (BN_is_zero(num)) { in bn_print()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 557 if (!pub || !p || BN_is_zero(pub) || BN_is_one(pub) || in crypto_dh_derive_secret() 1554 return BN_is_zero((const BIGNUM *) a); in crypto_bignum_is_zero() 1600 mask = const_time_eq(BN_is_zero(tmp), 1); in crypto_bignum_legendre()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 451 OPENSSL_EXPORT int BN_is_zero(const BIGNUM *bn);
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | padding.c | 600 if (BN_is_zero(rsa->n)) { in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_utl.c | 258 if (isneg && BN_is_zero(bn)) in s2i_ASN1_INTEGER()
|