Home
last modified time | relevance | path

Searched refs:BN_add (Results 1 – 25 of 25) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/bn/
Dprime.c968 if (!BN_add(rnd, rnd, rem)) { in probable_prime_dh()
979 if (!BN_add(rnd, rnd, add)) { in probable_prime_dh()
1032 if (!BN_add(q, q, t1)) { in probable_prime_dh_safe()
1053 if (!BN_add(p, p, padd)) { in probable_prime_dh_safe()
1056 if (!BN_add(q, q, qadd)) { in probable_prime_dh_safe()
Dsqrt.c243 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) { in BN_mod_sqrt()
464 !BN_add(tmp, tmp, estimate) || in BN_sqrt()
Ddiv.c411 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod()
565 if (!BN_add(r, a, b)) { in BN_mod_add()
884 return BN_add(r, r, BN_value_one()); in BN_nnmod_pow2()
Dadd.c67 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) { in BN_add() function
Dbn_test.cc196 ASSERT_TRUE(BN_add(ret.get(), a.get(), b.get())); in TestSum()
209 ASSERT_TRUE(BN_add(ret.get(), ret.get(), b.get())); in TestSum()
213 ASSERT_TRUE(BN_add(ret.get(), a.get(), ret.get())); in TestSum()
313 ASSERT_TRUE(BN_add(ret.get(), a.get(), a.get())); in TestLShift1()
447 ASSERT_TRUE(BN_add(tmp.get(), tmp.get(), BN_value_one())); in TestSquare()
560 ASSERT_TRUE(BN_add(ret.get(), ret.get(), remainder.get())); in TestQuotient()
573 ASSERT_TRUE(BN_add(nnmod.get(), nnmod.get(), b.get())); in TestQuotient()
1648 ASSERT_TRUE(BN_add(r.get(), r.get(), BN_value_one())); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dprime.c968 if (!BN_add(rnd, rnd, rem)) { in probable_prime_dh()
979 if (!BN_add(rnd, rnd, add)) { in probable_prime_dh()
1032 if (!BN_add(q, q, t1)) { in probable_prime_dh_safe()
1053 if (!BN_add(p, p, padd)) { in probable_prime_dh_safe()
1056 if (!BN_add(q, q, qadd)) { in probable_prime_dh_safe()
Dsqrt.c243 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) { in BN_mod_sqrt()
464 !BN_add(tmp, tmp, estimate) || in BN_sqrt()
Ddiv.c412 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod()
566 if (!BN_add(r, a, b)) { in BN_mod_add()
885 return BN_add(r, r, BN_value_one()); in BN_nnmod_pow2()
Dadd.c67 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) { in BN_add() function
Dbn_test.cc196 ASSERT_TRUE(BN_add(ret.get(), a.get(), b.get())); in TestSum()
209 ASSERT_TRUE(BN_add(ret.get(), ret.get(), b.get())); in TestSum()
213 ASSERT_TRUE(BN_add(ret.get(), a.get(), ret.get())); in TestSum()
313 ASSERT_TRUE(BN_add(ret.get(), a.get(), a.get())); in TestLShift1()
447 ASSERT_TRUE(BN_add(tmp.get(), tmp.get(), BN_value_one())); in TestSquare()
560 ASSERT_TRUE(BN_add(ret.get(), ret.get(), remainder.get())); in TestQuotient()
573 ASSERT_TRUE(BN_add(nnmod.get(), nnmod.get(), b.get())); in TestQuotient()
1648 ASSERT_TRUE(BN_add(r.get(), r.get(), BN_value_one())); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dbn_div.cc65 CHECK(BN_add(result.get(), result.get(), remainder.get())); in LLVMFuzzerTestOneInput()
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/
Drsa_test.cc528 ASSERT_TRUE(BN_add(key->p, key->p, BN_value_one())); in TEST()
889 ASSERT_TRUE(BN_add(rsa->dmp1, rsa->dmp1, rsa->p)); in TEST()
894 ASSERT_TRUE(BN_add(rsa->dmq1, rsa->dmq1, rsa->q)); in TEST()
899 ASSERT_TRUE(BN_add(rsa->iqmp, rsa->iqmp, rsa->p)); in TEST()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc530 ASSERT_TRUE(BN_add(key->p, key->p, BN_value_one())); in TEST()
891 ASSERT_TRUE(BN_add(rsa->dmp1, rsa->dmp1, rsa->p)); in TEST()
896 ASSERT_TRUE(BN_add(rsa->dmq1, rsa->dmq1, rsa->q)); in TEST()
901 ASSERT_TRUE(BN_add(rsa->iqmp, rsa->iqmp, rsa->p)); in TEST()
/external/boringssl/src/crypto/dsa/
Ddsa.c354 !BN_add(W, W, r0)) { in DSA_generate_parameters_ex()
362 !BN_add(X, X, test)) { 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/
Ddsa.c355 !BN_add(W, W, r0)) { in DSA_generate_parameters_ex()
363 !BN_add(X, X, test)) { in DSA_generate_parameters_ex()
423 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc355 ASSERT_TRUE(BN_add(b.get(), b.get(), p.get())); in TEST()
524 EXPECT_TRUE(BN_add(y.get(), y.get(), BN_value_one())); in TEST_P()
525 EXPECT_TRUE(BN_add(y.get(), y.get(), p.get())); in TEST_P()
1036 ASSERT_TRUE(BN_add(b.get(), b.get(), EC_GROUP_get0_order(group.get()))); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec_test.cc355 ASSERT_TRUE(BN_add(b.get(), b.get(), p.get())); in TEST()
524 EXPECT_TRUE(BN_add(y.get(), y.get(), BN_value_one())); in TEST_P()
525 EXPECT_TRUE(BN_add(y.get(), y.get(), p.get())); in TEST_P()
1036 ASSERT_TRUE(BN_add(b.get(), b.get(), EC_GROUP_get0_order(group.get()))); in TEST()
/external/openssh/
Dmoduli.c427 if (BN_add(q, q, largebase) == 0) in gen_candidates()
/external/boringssl/src/include/openssl/
Dbn.h369 OPENSSL_EXPORT int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbn.h369 OPENSSL_EXPORT int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list713 BN_add
DBoringSSL-GRPC.podspec2265 '#define BN_add GRPC_SHADOW_BN_add',
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1372 return BN_add((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b) ? in crypto_bignum_add()
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h741 #define BN_add GRPC_SHADOW_BN_add macro
/external/rust/crates/grpcio-sys/grpc/src/boringssl/
Dboringssl_prefix_symbols.h884 #define BN_add BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_add) macro