/external/openssl/crypto/bn/ |
D | bntest.c | 349 if(!BN_is_zero(&c)) in test_add() 400 if(!BN_is_zero(&c)) in test_sub() 462 if(!BN_is_zero(&d)) in test_div() 537 if(!BN_is_zero(&b)) in test_div_word() 601 if(!BN_is_zero(&d)) in test_div_recp() 662 if(!BN_is_zero(&d) || !BN_is_zero(&e)) in test_mul() 706 if(!BN_is_zero(&d) || !BN_is_zero(&e)) in test_sqr() 779 if(!BN_is_zero(&d)) in test_mont() 828 if(!BN_is_zero(e)) in test_mod() 879 if ((a->neg ^ b->neg) && !BN_is_zero(e)) in test_mod_mul() [all …]
|
D | bn_sqrt.c | 98 if (BN_is_zero(a) || BN_is_one(a)) in BN_mod_sqrt() 227 if (BN_is_zero(y)) in BN_mod_sqrt() 287 if (BN_is_zero(t)) /* special case: p = 2^e + 1 */ in BN_mod_sqrt() 290 if (BN_is_zero(t)) in BN_mod_sqrt() 303 if (BN_is_zero(x)) in BN_mod_sqrt()
|
D | bn_print.c | 82 if (BN_is_zero(a)) *(p++)='0'; in BN_bn2hex() 130 if (BN_is_zero(t)) in BN_bn2dec() 141 while (!BN_is_zero(t)) in BN_bn2dec() 340 if (BN_is_zero(a) && (BIO_write(bp,"0",1) != 1)) goto end; in BN_print()
|
D | bn_word.c | 137 if(BN_is_zero(a)) return BN_set_word(a, w); in BN_add_word() 143 if (!BN_is_zero(a)) in BN_add_word() 181 if(BN_is_zero(a)) in BN_sub_word()
|
D | bn_kron.c | 98 if (BN_is_zero(B)) in BN_kronecker() 148 if (BN_is_zero(A)) in BN_kronecker()
|
D | bn_div.c | 76 if (BN_is_zero(d)) 120 rem->neg=BN_is_zero(rem)?0:m->neg; 211 if (BN_is_zero(divisor)) in BN_div() 410 if (!BN_is_zero(rm)) in BN_div() 440 if (BN_is_zero(divisor)) in BN_div_no_branch() 637 if (!BN_is_zero(rm)) in BN_div_no_branch()
|
D | bn_gcd.c | 156 while (!BN_is_zero(b)) in euclid() 264 while (!BN_is_zero(B)) in BN_mod_inverse() 345 while (!BN_is_zero(B)) in BN_mod_inverse() 557 while (!BN_is_zero(B)) in BN_mod_inverse_no_branch()
|
D | bn_exp2.c | 180 if (BN_is_zero(a_mod_m)) in BN_mod_exp2_mont() 214 if (BN_is_zero(a_mod_m)) in BN_mod_exp2_mont()
|
D | bn_gf2m.c | 542 if (BN_is_zero(u)) goto err; in BN_GF2m_mod_inv() 548 if (BN_is_zero(u)) goto err; in BN_GF2m_mod_inv() 744 if (BN_is_zero(b)) in BN_GF2m_mod_exp_arr() 884 if (BN_is_zero(a)) in BN_GF2m_mod_solve_quad_arr() 924 } while (BN_is_zero(w) && (count < MAX_ITERATIONS)); in BN_GF2m_mod_solve_quad_arr() 925 if (BN_is_zero(w)) in BN_GF2m_mod_solve_quad_arr() 989 if (BN_is_zero(a)) in BN_GF2m_poly2arr()
|
D | divtest.c | 31 if (BN_is_zero(b)) continue; in main()
|
D | bn_rand.c | 236 if (range->neg || BN_is_zero(range)) in bn_rand_range()
|
D | bn_shift.c | 107 if (BN_is_zero(a)) in BN_rshift1()
|
D | bn_exp.c | 283 if (BN_is_zero(val[0])) in BN_mod_exp_recp() 429 if (BN_is_zero(aa)) in BN_mod_exp_mont() 906 if (BN_is_zero(val[0])) in BN_mod_exp_simple()
|
D | bn_recp.c | 202 r->neg=BN_is_zero(r)?0:m->neg; in BN_div_recp()
|
D | bn_mont.c | 452 if (!BN_is_zero(Ri)) in BN_MONT_CTX_set() 482 if (!BN_is_zero(Ri)) in BN_MONT_CTX_set()
|
/external/openssl/crypto/ecdsa/ |
D | ecs_ossl.c | 145 while (BN_is_zero(k)); in ecdsa_sign_setup() 185 while (BN_is_zero(r)); in ecdsa_sign_setup() 315 if (BN_is_zero(s)) in ecdsa_do_sign() 393 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in ecdsa_do_verify() 394 BN_ucmp(sig->r, order) >= 0 || BN_is_zero(sig->s) || in ecdsa_do_verify()
|
/external/openssl/crypto/ec/ |
D | ecp_smpl.c | 318 if (BN_is_zero(a)) in ec_GFp_simple_group_check_discriminant() 320 if (BN_is_zero(b)) goto err; in ec_GFp_simple_group_check_discriminant() 322 else if (!BN_is_zero(b)) in ec_GFp_simple_group_check_discriminant() 334 if (BN_is_zero(a)) goto err; in ec_GFp_simple_group_check_discriminant() 732 if (BN_is_zero(y)) in ec_GFp_simple_set_compressed_coordinates() 1088 if (BN_is_zero(n5)) in ec_GFp_simple_add() 1090 if (BN_is_zero(n6)) in ec_GFp_simple_add() 1285 if (EC_POINT_is_at_infinity(group, point) || BN_is_zero(&point->Y)) in ec_GFp_simple_invert() 1295 return BN_is_zero(&point->Z); in ec_GFp_simple_is_at_infinity() 1609 if ((heap[2*i + 1] == NULL) || BN_is_zero(heap[2*i + 1])) in ec_GFp_simple_points_make_affine() [all …]
|
D | ec2_smpl.c | 281 if (BN_is_zero(b)) goto err; in ec_GF2m_simple_group_check_discriminant() 451 if (BN_is_zero(x)) in ec_GF2m_simple_set_compressed_coordinates() 561 if ((form != POINT_CONVERSION_UNCOMPRESSED) && !BN_is_zero(x)) in ec_GF2m_simple_point2oct() 813 if (BN_GF2m_cmp(y0, y1) || BN_is_zero(x1)) in ec_GF2m_simple_add() 855 if (EC_POINT_is_at_infinity(group, point) || BN_is_zero(&point->Y)) in ec_GF2m_simple_invert() 867 return BN_is_zero(&point->Z); in ec_GF2m_simple_is_at_infinity() 916 ret = BN_is_zero(lh); in ec_GF2m_simple_is_on_curve()
|
D | ec2_mult.c | 156 if (BN_is_zero(z1)) in gf2m_Mxy() 163 if (BN_is_zero(z2)) in gf2m_Mxy() 229 if ((scalar == NULL) || BN_is_zero(scalar) || (point == NULL) || in ec_GF2m_montgomery_point_multiply()
|
D | ec_check.c | 100 if (BN_is_zero(order)) in EC_GROUP_check()
|
D | ec_key.c | 264 while (BN_is_zero(priv_key)); in EC_KEY_generate_key() 327 if (BN_is_zero(order)) in EC_KEY_check_key()
|
/external/openssl/crypto/dsa/ |
D | dsa_ossl.c | 229 while (BN_is_zero(&k)); in dsa_sign_setup() 325 if (BN_is_zero(sig->r) || BN_is_negative(sig->r) || in dsa_do_verify() 331 if (BN_is_zero(sig->s) || BN_is_negative(sig->s) || in dsa_do_verify()
|
D | dsa_key.c | 93 while (BN_is_zero(priv_key)); in dsa_builtin_keygen()
|
/external/openssl/crypto/asn1/ |
D | t_pkey.c | 75 if (BN_is_zero(num)) in ASN1_bn_print()
|
/external/openssl/crypto/jpake/ |
D | jpake.c | 174 OPENSSL_assert(!BN_is_zero(p->zkpx.gr)); in zkp_hash() 291 if(BN_is_negative(gx) || BN_is_zero(gx) || BN_cmp(gx, ctx->p.p) >= 0) in is_legal()
|