Home
last modified time | relevance | path

Searched refs:BN_value_one (Results 1 – 22 of 22) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc259 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 …]
Dsimple.c152 if (!ec_bignum_to_felem(group, &group->one, BN_value_one())) { in ec_GFp_simple_group_set_curve()
/external/openssh/
Drsa.c175 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()
Ddh.c130 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()
Dsshkey.c2929 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/
Dbn_test.cc445 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 …]
Dprime.c519 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()
Dsqrt.c455 if (!BN_lshift(estimate, BN_value_one(), BN_num_bits(in)/2)) { in BN_sqrt()
Dbn.c171 DEFINE_METHOD_FUNCTION(BIGNUM, BN_value_one) { in DEFINE_METHOD_FUNCTION() argument
Ddiv.c885 return BN_add(r, r, BN_value_one()); in BN_nnmod_pow2()
/external/boringssl/src/crypto/dsa/
Ddsa.c251 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/
Dcheck.c141 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check()
/external/boringssl/src/crypto/fipsmodule/ecdsa/
Decdsa_test.cc104 !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/
Drsa_impl.c1042 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()
Drsa.c701 !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/
Decdh_test.cc254 BN_value_one())) { in MakeCustomGroup()
/external/boringssl/src/include/openssl/
Dbn.h197 OPENSSL_EXPORT const BIGNUM *BN_value_one(void);
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc528 ASSERT_TRUE(BN_add(key->p, key->p, BN_value_one())); in TEST()
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list803 BN_value_one
DBoringSSL-GRPC.podspec2355 '#define BN_value_one GRPC_SHADOW_BN_value_one',
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1589 !BN_sub(exp, (const BIGNUM *) p, BN_value_one()) || in crypto_bignum_legendre()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h831 #define BN_value_one GRPC_SHADOW_BN_value_one macro