Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c434 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
599 if (!mod_exp(result, f, rsa, ctx)) { in rsa_default_private_transform()
651 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.cc545 bssl::UniquePtr<BIGNUM> mod_exp = GetBIGNUM(t, "ModExp"); in TestModExp() local
549 ASSERT_TRUE(mod_exp); in TestModExp()
554 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M)", mod_exp.get(), ret.get()); in TestModExp()
559 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery)", mod_exp.get(), in TestModExp()
564 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (constant-time)", mod_exp.get(), in TestModExp()