/external/boringssl/src/crypto/bn/ |
D | bn_test.cc | 371 if (!BN_is_zero(c.get())) { in test_add() 417 if (!BN_is_zero(c.get())) { in test_sub() 481 if (!BN_is_zero(d.get())) { in test_div() 496 if (!BN_is_zero(d.get()) || BN_is_negative(d.get())) { in test_div() 508 if (!BN_is_zero(c.get()) || BN_is_negative(c.get())) { in test_div() 539 if (!BN_is_zero(a.get())) { in test_lshift1() 579 if (!BN_is_zero(d.get())) { in test_rshift() 611 if (!BN_is_zero(c.get()) && !BN_abs_is_word(c.get(), 1)) { in test_rshift1() 655 if (!BN_is_zero(d.get())) { in test_lshift() 709 if (!BN_is_zero(d.get()) || !BN_is_zero(e.get())) { in test_mul() [all …]
|
D | sqrt.c | 93 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt() 250 if (BN_is_zero(y)) { in BN_mod_sqrt() 317 if (BN_is_zero(t)) /* special case: p = 2^e + 1 */ in BN_mod_sqrt() 322 if (BN_is_zero(t)) { in BN_mod_sqrt() 334 if (BN_is_zero(x)) { in BN_mod_sqrt() 440 if (BN_is_zero(in)) { in BN_sqrt()
|
D | convert.c | 167 if (BN_is_zero(in)) { in BN_bn2bin_padded() 222 if (BN_is_zero(bn)) { in BN_bn2hex() 355 if (!BN_is_zero(ret)) { in bn_x2bn() 403 if (BN_is_zero(t)) { in BN_bn2dec() 411 while (!BN_is_zero(t)) { in BN_bn2dec() 464 if (*orig_in == '-' && !BN_is_zero(*outp)) { in BN_asc2bn() 479 if (BN_is_zero(a) && BIO_write(bp, "0", 1) != 1) { in BN_print()
|
D | kronecker.c | 91 if (BN_is_zero(B)) { in BN_kronecker() 136 if (BN_is_zero(A)) { in BN_kronecker()
|
D | add.c | 174 if (BN_is_zero(a)) { in BN_add_word() 182 if (!BN_is_zero(a)) { in BN_add_word() 338 if (BN_is_zero(a)) { in BN_sub_word()
|
D | gcd.c | 120 while (!BN_is_zero(b)) { in euclid() 289 while (!BN_is_zero(B)) { in BN_mod_inverse_ex() 375 while (!BN_is_zero(B)) { in BN_mod_inverse_ex() 606 while (!BN_is_zero(B)) { in BN_mod_inverse_no_branch()
|
D | random.c | 188 if (range->neg || BN_is_zero(range)) { in BN_rand_range() 266 if (BN_is_zero(range)) { in BN_generate_dsa_nonce()
|
D | bn.c | 234 if (BN_is_zero(bn)) { in BN_num_bits() 274 if (sign && !BN_is_zero(bn)) { in BN_set_negative()
|
D | montgomery.c | 171 if (BN_is_zero(mod)) { in BN_MONT_CTX_set() 217 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set() 256 if (!BN_is_zero(Ri)) { in BN_MONT_CTX_set()
|
D | cmp.c | 186 int BN_is_zero(const BIGNUM *bn) { in BN_is_zero() function
|
D | exponentiation.c | 358 r->neg = BN_is_zero(r) ? 0 : m->neg; in BN_div_recp() 482 if (BN_is_zero(val[0])) { in mod_exp_recp() 673 if (BN_is_zero(aa)) { in BN_mod_exp_mont() 1415 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont() 1450 if (BN_is_zero(a_mod_m)) { in BN_mod_exp2_mont()
|
D | div.c | 137 if (BN_is_zero(divisor)) { in BN_div() 368 if (!BN_is_zero(rm)) { in BN_div()
|
D | shift.c | 192 if (BN_is_zero(a)) { in BN_rshift1()
|
/external/boringssl/src/crypto/ec/ |
D | simple.c | 270 if (BN_is_zero(a)) { in ec_GFp_simple_group_check_discriminant() 271 if (BN_is_zero(b)) { in ec_GFp_simple_group_check_discriminant() 274 } else if (!BN_is_zero(b)) { in ec_GFp_simple_group_check_discriminant() 289 BN_is_zero(a)) { in ec_GFp_simple_group_check_discriminant() 659 if (BN_is_zero(n5)) { in ec_GFp_simple_add() 660 if (BN_is_zero(n6)) { in ec_GFp_simple_add() 880 if (EC_POINT_is_at_infinity(group, point) || BN_is_zero(&point->Y)) { in ec_GFp_simple_invert() 889 return !point->Z_is_one && BN_is_zero(&point->Z); in ec_GFp_simple_is_at_infinity() 1191 if (!BN_is_zero(&points[0]->Z)) { in ec_GFp_simple_points_make_affine() 1208 if (!BN_is_zero(&points[i]->Z)) { in ec_GFp_simple_points_make_affine() [all …]
|
D | ec.c | 617 assert(!BN_is_zero(&group->order)); in EC_GROUP_get0_order() 634 return !BN_is_zero(&group->cofactor); in EC_GROUP_get_cofactor()
|
D | wnaf.c | 101 if (BN_is_zero(scalar)) { in compute_wNAF()
|
D | oct.c | 371 if (BN_is_zero(y)) { in ec_GFp_simple_set_compressed_coordinates()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 180 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in ECDSA_do_verify() 181 BN_ucmp(sig->r, order) >= 0 || BN_is_zero(sig->s) || in ECDSA_do_verify() 288 } while (BN_is_zero(k)); in ecdsa_sign_setup() 317 } while (BN_is_zero(r)); in ecdsa_sign_setup() 434 if (BN_is_zero(s)) { in ECDSA_do_sign_ex()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 419 } while (BN_is_zero(priv_key)); in DSA_generate_key() 541 if (BN_is_zero(r) || BN_is_zero(s)) { in DSA_do_sign() 614 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in DSA_do_check_signature() 619 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in DSA_do_check_signature() 796 } while (BN_is_zero(&k)); in DSA_sign_setup()
|
/external/boringssl/src/crypto/asn1/ |
D | t_pkey.c | 73 if (BN_is_zero(num)) in ASN1_bn_print()
|
/external/tpm2/ |
D | RSAKeySieve.c | 281 if(BN_is_zero(bnB)) in MillerRabin() 861 if(!BN_is_zero(bnQ)) in _cpri__GenerateKeyRSA() 881 if(BN_is_zero(bnQ)) in _cpri__GenerateKeyRSA() 908 || BN_is_zero(bnT)) in _cpri__GenerateKeyRSA()
|
D | CpriECC.c | 864 if(BN_is_zero(bnR)) in SignEcdsa() 919 if(!BN_is_zero(bnD)) in SignEcdsa() 1138 if(BN_is_zero(bnR)) in SchnorrEcc() 1287 || BN_is_zero(bnK)) in SignSM2() 1307 if(BN_is_zero(bnR) || BN_ucmp(bnT, bnN) == 0) in SignSM2() 1331 if(BN_is_zero(bnS)) in SignSM2() 1689 if(BN_is_zero(bnT)) { in ValidateSignatureSM2Dsa()
|
D | CpriRSA.c | 1284 if(!BN_is_zero(bnQ)) in _cpri__GenerateKeyRSA() 1311 if(BN_is_zero(bnQ)) in _cpri__GenerateKeyRSA() 1338 if(BN_mod_inverse(bnT, bnE, bnT, context) == NULL || BN_is_zero(bnT)) in _cpri__GenerateKeyRSA()
|
/external/boringssl/src/crypto/dh/ |
D | dh.c | 284 } while (BN_is_zero(priv_key) || BN_is_one(priv_key)); in DH_generate_key()
|
/external/boringssl/src/ssl/ |
D | ssl_ecdh.c | 66 } while (BN_is_zero(private_key)); in ssl_ec_point_generate_keypair()
|