/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec_test.cc | 259 BN_value_one())); in TEST() 293 order.get(), BN_value_one())); in TEST() 307 order.get(), BN_value_one())); in TEST() 329 order.get(), BN_value_one())); in TEST() 340 EXPECT_FALSE(EC_KEY_set_private_key(key.get(), BN_value_one())); in TEST() 430 EC_GROUP_set_generator(group.get(), g.get(), n.get(), BN_value_one())); in TEST() 483 EXPECT_TRUE(BN_sub(y.get(), y.get(), BN_value_one())); in TEST_P() 492 EXPECT_TRUE(BN_add(y.get(), y.get(), BN_value_one())); in TEST_P() 553 ASSERT_TRUE(EC_POINT_mul(group(), generator.get(), BN_value_one(), nullptr, in TEST_P() 650 ASSERT_TRUE(EC_POINT_mul(group(), result.get(), BN_value_one(), p.get(), in TEST_P() [all …]
|
D | simple.c | 152 if (!ec_bignum_to_felem(group, &group->one, BN_value_one())) { in ec_GFp_simple_group_set_curve()
|
/external/openssh/ |
D | rsa.c | 175 if ((BN_sub(aux, rsa->q, BN_value_one()) == 0) || in rsa_generate_additional_parameters() 177 (BN_sub(aux, rsa->p, BN_value_one()) == 0) || in rsa_generate_additional_parameters()
|
D | dh.c | 130 if (BN_cmp(dhg->g, BN_value_one()) <= 0) { in parse_prime() 226 if (BN_cmp(dh_pub, BN_value_one()) != 1) { /* pub_exp <= 1 */ in dh_pub_is_valid() 235 if (!BN_sub(tmp, dh->p, BN_value_one()) || in dh_pub_is_valid()
|
D | sshkey.c | 2929 if (!BN_sub(tmp, order, BN_value_one())) { in sshkey_ec_validate_public() 2970 if (!BN_sub(tmp, order, BN_value_one())) { in sshkey_ec_validate_private()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | bn_test.cc | 445 ASSERT_TRUE(BN_add(tmp.get(), tmp.get(), BN_value_one())); in TestSquare() 864 EXPECT_BIGNUMS_EQUAL("GCD(A, M)", BN_value_one(), ret.get()); in TestModInv() 1504 EXPECT_FALSE(BN_div(a.get(), b.get(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1508 BN_mod_mul(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1512 BN_mod_exp(a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx())); in TEST_F() 1515 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), in TEST_F() 1520 a.get(), BN_value_one(), BN_value_one(), zero.get(), ctx(), nullptr)); in TEST_F() 1543 EXPECT_FALSE(BN_mod_exp_mont(a.get(), BN_value_one(), BN_value_one(), b.get(), in TEST_F() 1548 a.get(), BN_value_one(), BN_value_one(), b.get(), ctx(), nullptr)); in TEST_F() 1565 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() 654 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
|
D | div.c | 885 return BN_add(r, r, BN_value_one()); in BN_nnmod_pow2()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 251 if (test == NULL || !BN_lshift(test, BN_value_one(), bits - 1)) { in DSA_generate_parameters_ex() 360 !BN_sub(r0, c, BN_value_one()) || in DSA_generate_parameters_ex() 394 if (!BN_sub(test, p, BN_value_one()) || in DSA_generate_parameters_ex() 413 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
|
/external/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/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 | 1042 if (!BN_sub(tmp, out, BN_value_one()) || in generate_prime() 1196 if (!bn_usub_consttime(pm1, rsa->p, BN_value_one()) || in rsa_generate_key_impl() 1197 !bn_usub_consttime(qm1, rsa->q, BN_value_one()) || in rsa_generate_key_impl()
|
D | rsa.c | 701 !bn_usub_consttime(&pm1, key->p, BN_value_one()) || in RSA_check_key() 702 !bn_usub_consttime(&qm1, key->q, BN_value_one()) || in RSA_check_key()
|
/external/boringssl/src/crypto/ecdh_extra/ |
D | ecdh_test.cc | 254 BN_value_one())) { in MakeCustomGroup()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 197 OPENSSL_EXPORT const BIGNUM *BN_value_one(void);
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 528 ASSERT_TRUE(BN_add(key->p, key->p, BN_value_one())); in TEST()
|
/external/grpc-grpc/src/objective-c/ |
D | grpc_shadow_boringssl_symbol_list | 803 BN_value_one
|
D | BoringSSL-GRPC.podspec | 2355 '#define BN_value_one GRPC_SHADOW_BN_value_one',
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1589 !BN_sub(exp, (const BIGNUM *) p, BN_value_one()) || in crypto_bignum_legendre()
|
/external/grpc-grpc/src/core/tsi/ |
D | grpc_shadow_boringssl.h | 831 #define BN_value_one GRPC_SHADOW_BN_value_one macro
|