Home
last modified time | relevance | path

Searched refs:BN_nnmod (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dbn_mod_exp.cc40 if (!BN_one(r) || !BN_nnmod(base.get(), a, m, ctx)) { in mod_exp()
46 if (!BN_mul(r, r, base.get(), ctx) || !BN_nnmod(r, r, m, ctx)) { in mod_exp()
52 !BN_nnmod(base.get(), base.get(), m, ctx)) { in mod_exp()
113 CHECK(BN_nnmod(base.get(), base.get(), modulus.get(), ctx.get())); in LLVMFuzzerTestOneInput()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Ddiv.c403 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { in BN_nnmod() function
569 return BN_nnmod(r, r, m, ctx); in BN_mod_add()
603 return BN_nnmod(r, r, m, ctx); in BN_mod_sub()
653 if (!BN_nnmod(r, t, m, ctx)) { in BN_mod_mul()
678 if (!BN_nnmod(r, a, m, ctx)) { in BN_mod_lshift()
722 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1()
Dgcd.c271 if (!BN_nnmod(R, Y, n, ctx)) { in BN_mod_inverse_odd()
302 if (!BN_nnmod(a_reduced, a_reduced, n, ctx)) { in BN_mod_inverse()
Djacobi.c133 if (!BN_nnmod(B, B, A, ctx)) { in bn_jacobi()
Dsqrt.c129 if (!BN_nnmod(A, a, p, ctx)) { in BN_mod_sqrt()
315 if (!BN_nnmod(t, A, p, ctx)) { in BN_mod_sqrt()
Dbn_test.cc575 ASSERT_TRUE(BN_nnmod(ret.get(), a.get(), b.get(), ctx)); in TestQuotient()
640 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModMul()
641 ASSERT_TRUE(BN_nnmod(b.get(), b.get(), m.get(), ctx)); in TestModMul()
714 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModSquare()
777 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModExp()
884 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModInv()
916 ASSERT_TRUE(BN_nnmod(a_reduced.get(), a.get(), b.get(), ctx)); in TestGCD()
927 ASSERT_TRUE(BN_nnmod(b_reduced.get(), b.get(), a.get(), ctx)); in TestGCD()
1762 BN_nnmod(expected.get(), random.get(), power_of_two.get(), ctx())); in TEST_F()
1770 BN_nnmod(expected.get(), random.get(), power_of_two.get(), ctx())); in TEST_F()
Dexponentiation.c470 if (!BN_nnmod(val[0], a, m, ctx)) { in mod_exp_recp()
574 if (!BN_nnmod(r, a, m, ctx)) { in BN_mod_exp()
/external/boringssl/src/crypto/fipsmodule/bn/
Ddiv.c402 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { in BN_nnmod() function
568 return BN_nnmod(r, r, m, ctx); in BN_mod_add()
602 return BN_nnmod(r, r, m, ctx); in BN_mod_sub()
652 if (!BN_nnmod(r, t, m, ctx)) { in BN_mod_mul()
677 if (!BN_nnmod(r, a, m, ctx)) { in BN_mod_lshift()
721 return BN_nnmod(r, r, m, ctx); in BN_mod_lshift1()
Dgcd.c271 if (!BN_nnmod(R, Y, n, ctx)) { in BN_mod_inverse_odd()
302 if (!BN_nnmod(a_reduced, a_reduced, n, ctx)) { in BN_mod_inverse()
Djacobi.c133 if (!BN_nnmod(B, B, A, ctx)) { in bn_jacobi()
Dsqrt.c129 if (!BN_nnmod(A, a, p, ctx)) { in BN_mod_sqrt()
315 if (!BN_nnmod(t, A, p, ctx)) { in BN_mod_sqrt()
Dbn_test.cc575 ASSERT_TRUE(BN_nnmod(ret.get(), a.get(), b.get(), ctx)); in TestQuotient()
640 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModMul()
641 ASSERT_TRUE(BN_nnmod(b.get(), b.get(), m.get(), ctx)); in TestModMul()
714 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModSquare()
777 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModExp()
884 ASSERT_TRUE(BN_nnmod(a.get(), a.get(), m.get(), ctx)); in TestModInv()
916 ASSERT_TRUE(BN_nnmod(a_reduced.get(), a.get(), b.get(), ctx)); in TestGCD()
927 ASSERT_TRUE(BN_nnmod(b_reduced.get(), b.get(), a.get(), ctx)); in TestGCD()
1762 BN_nnmod(expected.get(), random.get(), power_of_two.get(), ctx())); in TEST_F()
1770 BN_nnmod(expected.get(), random.get(), power_of_two.get(), ctx())); in TEST_F()
Dexponentiation.c470 if (!BN_nnmod(val[0], a, m, ctx)) { in mod_exp_recp()
574 if (!BN_nnmod(r, a, m, ctx)) { in BN_mod_exp()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c371 !BN_nnmod(a_reduced, a, p, ctx) || in EC_GROUP_new_curve_GFp()
372 !BN_nnmod(b_reduced, b, p, ctx)) { in EC_GROUP_new_curve_GFp()
940 BN_nnmod(tmp, in, order, ctx) && in arbitrary_bignum_to_scalar()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dec.c371 !BN_nnmod(a_reduced, a, p, ctx) || in EC_GROUP_new_curve_GFp()
372 !BN_nnmod(b_reduced, b, p, ctx)) { in EC_GROUP_new_curve_GFp()
928 BN_nnmod(tmp, in, order, ctx) && in arbitrary_bignum_to_scalar()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dbn.h533 OPENSSL_EXPORT int BN_nnmod(BIGNUM *rem, const BIGNUM *numerator,
/external/boringssl/src/include/openssl/
Dbn.h533 OPENSSL_EXPORT int BN_nnmod(BIGNUM *rem, const BIGNUM *numerator,
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list777 BN_nnmod
DBoringSSL-GRPC.podspec2329 '#define BN_nnmod GRPC_SHADOW_BN_nnmod',
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h805 #define BN_nnmod GRPC_SHADOW_BN_nnmod macro
/external/rust/crates/grpcio-sys/grpc/src/boringssl/
Dboringssl_prefix_symbols.h959 #define BN_nnmod BORINGSSL_ADD_PREFIX(BORINGSSL_PREFIX, BN_nnmod) macro