Home
last modified time | relevance | path

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

/external/u-boot/drivers/crypto/rsa_mod_exp/
Dmod_exp_uclass.c21 if (!ops->mod_exp) in rsa_mod_exp()
24 return ops->mod_exp(dev, sig, sig_len, node, out); in rsa_mod_exp()
27 UCLASS_DRIVER(mod_exp) = {
Dmod_exp_sw.c27 .mod_exp = mod_exp_sw,
/external/u-boot/include/u-boot/
Drsa-mod-exp.h69 int (*mod_exp)(struct udevice *dev, const uint8_t *sig, member
/external/u-boot/drivers/crypto/fsl/
Dfsl_rsa.c48 .mod_exp = fsl_mod_exp,
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c568 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx);
739 if (!mod_exp(result, f, rsa, ctx)) { in rsa_default_private_transform()
828 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.cc747 bssl::UniquePtr<BIGNUM> mod_exp = t->GetBIGNUM("ModExp"); in TestModExp() local
751 ASSERT_TRUE(mod_exp); in TestModExp()
756 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M)", mod_exp.get(), ret.get()); in TestModExp()
764 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery)", mod_exp.get(), in TestModExp()
769 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (constant-time)", mod_exp.get(), in TestModExp()
787 EXPECT_BIGNUMS_EQUAL("A ^ E (mod M) (Montgomery, words)", mod_exp.get(), in TestModExp()