/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_test.cc | 277 BN_value_one())); in TEST() 311 order.get(), BN_value_one())); in TEST() 325 order.get(), BN_value_one())); in TEST() 347 order.get(), BN_value_one())); in TEST() 364 order.get(), BN_value_one())); in TEST() 375 EXPECT_FALSE(EC_KEY_set_private_key(key.get(), BN_value_one())); in TEST() 465 EC_GROUP_set_generator(group.get(), g.get(), n.get(), BN_value_one())); in TEST() 515 EXPECT_TRUE(BN_sub(y.get(), y.get(), BN_value_one())); in TEST_P() 524 EXPECT_TRUE(BN_add(y.get(), y.get(), BN_value_one())); in TEST_P() 663 ASSERT_TRUE(EC_POINT_mul(group(), generator.get(), BN_value_one(), nullptr, in TEST_P() [all …]
|
D | simple.c | 127 !ec_bignum_to_felem(group, &group->one, BN_value_one())) { in ec_GFp_simple_group_set_curve()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_test.cc | 277 BN_value_one())); in TEST() 311 order.get(), BN_value_one())); in TEST() 325 order.get(), BN_value_one())); in TEST() 347 order.get(), BN_value_one())); in TEST() 364 order.get(), BN_value_one())); in TEST() 375 EXPECT_FALSE(EC_KEY_set_private_key(key.get(), BN_value_one())); in TEST() 465 EC_GROUP_set_generator(group.get(), g.get(), n.get(), BN_value_one())); in TEST() 515 EXPECT_TRUE(BN_sub(y.get(), y.get(), BN_value_one())); in TEST_P() 524 EXPECT_TRUE(BN_add(y.get(), y.get(), BN_value_one())); in TEST_P() 663 ASSERT_TRUE(EC_POINT_mul(group(), generator.get(), BN_value_one(), nullptr, in TEST_P() [all …]
|
D | simple.c | 127 !ec_bignum_to_felem(group, &group->one, BN_value_one())) { in ec_GFp_simple_group_set_curve()
|
/external/openssh/ |
D | dh.c | 133 if (BN_cmp(dhg->g, BN_value_one()) <= 0) { in parse_prime() 237 if (BN_cmp(dh_pub, BN_value_one()) != 1) { /* pub_exp <= 1 */ in dh_pub_is_valid() 246 if (!BN_sub(tmp, dh_p, BN_value_one()) || in dh_pub_is_valid()
|
D | ssh-rsa.c | 140 if ((BN_sub(aux, rsa_q, BN_value_one()) == 0) || in ssh_rsa_complete_crt_parameters() 142 (BN_sub(aux, rsa_p, BN_value_one()) == 0) || in ssh_rsa_complete_crt_parameters()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 447 ASSERT_TRUE(BN_add(tmp.get(), tmp.get(), BN_value_one())); in TestSquare() 882 EXPECT_BIGNUMS_EQUAL("GCD(A, M)", BN_value_one(), ret.get()); in TestModInv() 1522 EXPECT_FALSE(BN_div(a.get(), b.get(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1526 BN_mod_mul(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1530 BN_mod_exp(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1533 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), in TEST_F() 1538 a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx(), nullptr)); in TEST_F() 1561 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), b.get(), in TEST_F() 1566 a.get(), BN_value_one(), BN_value_one(), b.get(), ctx(), nullptr)); in TEST_F() 1583 ASSERT_TRUE(BN_mod_exp(r.get(), a.get(), zero.get(), BN_value_one(), ctx())); in TEST_F() [all …]
|
D | prime.c | 519 if (!bn_usub_consttime(miller_rabin->w1, w, BN_value_one())) { in bn_miller_rabin_init() 653 if (BN_cmp(w, BN_value_one()) <= 0) { in BN_primality_test()
|
D | sqrt.c | 455 if (!BN_lshift(estimate, BN_value_one(), BN_num_bits(in)/2)) { in BN_sqrt()
|
D | bn.c | 152 DEFINE_METHOD_FUNCTION(BIGNUM, BN_value_one) { in DEFINE_METHOD_FUNCTION() argument
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 447 ASSERT_TRUE(BN_add(tmp.get(), tmp.get(), BN_value_one())); in TestSquare() 882 EXPECT_BIGNUMS_EQUAL("GCD(A, M)", BN_value_one(), ret.get()); in TestModInv() 1522 EXPECT_FALSE(BN_div(a.get(), b.get(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1526 BN_mod_mul(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1530 BN_mod_exp(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1533 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), in TEST_F() 1538 a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx(), nullptr)); in TEST_F() 1561 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), b.get(), in TEST_F() 1566 a.get(), BN_value_one(), BN_value_one(), b.get(), ctx(), nullptr)); in TEST_F() 1583 ASSERT_TRUE(BN_mod_exp(r.get(), a.get(), zero.get(), BN_value_one(), ctx())); in TEST_F() [all …]
|
D | prime.c | 519 if (!bn_usub_consttime(miller_rabin->w1, w, BN_value_one())) { in bn_miller_rabin_init() 653 if (BN_cmp(w, BN_value_one()) <= 0) { in BN_primality_test()
|
D | sqrt.c | 455 if (!BN_lshift(estimate, BN_value_one(), BN_num_bits(in)/2)) { in BN_sqrt()
|
D | bn.c | 171 DEFINE_METHOD_FUNCTION(BIGNUM, BN_value_one) { in DEFINE_METHOD_FUNCTION() argument
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 260 if (test == NULL || !BN_lshift(test, BN_value_one(), bits - 1)) { in DSA_generate_parameters_ex() 369 !BN_sub(r0, c, BN_value_one()) || in DSA_generate_parameters_ex() 403 if (!BN_sub(test, p, BN_value_one()) || in DSA_generate_parameters_ex() 422 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/ |
D | dsa.c | 261 if (test == NULL || !BN_lshift(test, BN_value_one(), bits - 1)) { in DSA_generate_parameters_ex() 370 !BN_sub(r0, c, BN_value_one()) || in DSA_generate_parameters_ex() 404 if (!BN_sub(test, p, BN_value_one()) || in DSA_generate_parameters_ex() 423 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/ |
D | check.c | 141 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check()
|
/external/boringssl/src/crypto/fipsmodule/dh/ |
D | check.c | 141 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check()
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 104 !EC_GROUP_set_generator(group.get(), g.get(), n.get(), BN_value_one())) { in NewSecp160r1Group() 353 BN_value_one())) { in MakeCustomClone()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ecdsa/ |
D | ecdsa_test.cc | 104 !EC_GROUP_set_generator(group.get(), g.get(), n.get(), BN_value_one())) { in NewSecp160r1Group() 353 BN_value_one())) { in MakeCustomClone()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 1097 if (!BN_sub(tmp, out, BN_value_one()) || in generate_prime() 1251 if (!bn_usub_consttime(pm1, rsa->p, BN_value_one()) || in rsa_generate_key_impl() 1252 !bn_usub_consttime(qm1, rsa->q, BN_value_one()) || in rsa_generate_key_impl()
|
D | rsa.c | 750 if (!bn_usub_consttime(&pm1, key->p, BN_value_one()) || in RSA_check_key() 751 !bn_usub_consttime(&qm1, key->q, BN_value_one()) || in RSA_check_key()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa_impl.c | 1065 if (!BN_sub(tmp, out, BN_value_one()) || in generate_prime() 1219 if (!bn_usub_consttime(pm1, rsa->p, BN_value_one()) || in rsa_generate_key_impl() 1220 !bn_usub_consttime(qm1, rsa->q, BN_value_one()) || in rsa_generate_key_impl()
|
/external/boringssl/src/crypto/ecdh_extra/ |
D | ecdh_test.cc | 248 BN_value_one())) { in MakeCustomGroup()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/ecdh_extra/ |
D | ecdh_test.cc | 248 BN_value_one())) { in MakeCustomGroup()
|