Home
last modified time | relevance | path

Searched refs:mod_exp (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dbn_mod_exp.cc28 int mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, in mod_exp() function
102 CHECK(mod_exp(expected.get(), base.get(), power.get(), modulus.get(), in LLVMFuzzerTestOneInput()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c591 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
757 if (!mod_exp(result, f, rsa, ctx)) { in rsa_default_private_transform()
846 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) { in mod_exp() function
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c591 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
762 if (!mod_exp(result, f, rsa, ctx)) { in rsa_default_private_transform()
851 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) { in mod_exp() function
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc765 bssl::UniquePtr<BIGNUM> mod_exp = t->GetBIGNUM("ModExp"); in TestModExp() local
769 ASSERT_TRUE(mod_exp); in TestModExp()
774 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M)", mod_exp.get(), ret.get()); in TestModExp()
782 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery)", mod_exp.get(), in TestModExp()
787 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (constant-time)", mod_exp.get(), in TestModExp()
805 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery, words)", mod_exp.get(), in TestModExp()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc765 bssl::UniquePtr<BIGNUM> mod_exp = t->GetBIGNUM("ModExp"); in TestModExp() local
769 ASSERT_TRUE(mod_exp); in TestModExp()
774 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M)", mod_exp.get(), ret.get()); in TestModExp()
782 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery)", mod_exp.get(), in TestModExp()
787 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (constant-time)", mod_exp.get(), in TestModExp()
805 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery, words)", mod_exp.get(), in TestModExp()