/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-rsa.c | 15 #include <crypto/internal/rsa.h> 52 req->dst_len = rctx->cmd.u.rsa.key_size >> 3; 61 return ctx->u.rsa.n_len; 75 rctx->cmd.u.rsa.key_size = ctx->u.rsa.key_len; /* in bits */ 77 rctx->cmd.u.rsa.exp = &ctx->u.rsa.e_sg; 78 rctx->cmd.u.rsa.exp_len = ctx->u.rsa.e_len; 80 rctx->cmd.u.rsa [all...] |
H A D | Makefile | 24 ccp-crypto-rsa.o \
|
H A D | ccp-crypto.h | 26 #include <crypto/internal/rsa.h> 267 struct ccp_rsa_ctx rsa; member in union:ccp_ctx::__anon218
|
H A D | ccp-ops.c | 1837 struct ccp_rsa_engine *rsa = &cmd->u.rsa; local 1844 if (rsa->key_size > cmd_q->ccp->vdata->rsamax) 1847 if (!rsa->exp || !rsa->mod || !rsa->src || !rsa->dst) 1862 o_len = 32 * ((rsa->key_size + 255) / 256); 1890 ret = ccp_reverse_set_dm_area(&exp, 0, rsa->exp, 0, rsa [all...] |
H A D | ccp-dev-v3.c | 238 | (op->u.rsa.mod_size << REQ1_RSA_MOD_SIZE_SHIFT) 241 cr[1] = op->u.rsa.input_len - 1; 572 .rsa = ccp_perform_rsa,
|
H A D | ccp-dev.h | 551 struct ccp_rsa_op rsa; member in union:ccp_op::__anon115 657 int (*rsa)(struct ccp_op *); member in struct:ccp_actions
|
H A D | ccp-dev-v5.c | 119 } rsa; member in union:ccp_function 149 #define CCP_RSA_SIZE(p) ((p)->rsa.size) 468 CCP_RSA_SIZE(&function) = (op->u.rsa.mod_size + 7) >> 3; 471 CCP5_CMD_LEN(&desc) = op->u.rsa.input_len; 1103 .rsa = ccp5_perform_rsa,
|
/linux-master/drivers/crypto/starfive/ |
H A D | Makefile | 4 jh7110-crypto-objs := jh7110-cryp.o jh7110-hash.o jh7110-rsa.o jh7110-aes.o
|
H A D | jh7110-rsa.c | 13 #include <crypto/internal/rsa.h> 537 ctx->akcipher_fbk = crypto_alloc_akcipher("rsa-generic", 0, 0); 573 .cra_name = "rsa", 574 .cra_driver_name = "starfive-rsa",
|
/linux-master/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.c | 183 struct rx_sa *rsa; local 186 hash_for_each_possible_rcu(ipsec->rx_sa_list, rsa, hlist, 188 if (spi == rsa->xs->id.spi && 189 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || 190 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, 191 sizeof(rsa->xs->id.daddr.a6)))) && 192 proto == rsa->xs->id.proto) { 193 ret = rsa->xs; 290 struct rx_sa rsa; local 305 memset(&rsa, [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.c | 396 struct rx_sa *rsa; local 400 hash_for_each_possible_rcu(ipsec->rx_sa_list, rsa, hlist, 402 if (rsa->mode & IXGBE_RXTXMOD_VF) 404 if (spi == rsa->xs->id.spi && 405 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || 406 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, 407 sizeof(rsa->xs->id.daddr.a6)))) && 408 proto == rsa->xs->id.proto) { 409 ret = rsa->xs; 595 struct rx_sa rsa; local 767 struct rx_sa *rsa; local 1013 struct rx_sa *rsa; local [all...] |
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 4 #include <crypto/internal/rsa.h> 117 struct qat_rsa_input_params rsa; member in union:qat_asym_request::__anon71 121 struct qat_rsa_output_params rsa; member in union:qat_asym_request::__anon72 130 struct qat_rsa_ctx *rsa; member in union:qat_asym_request::__anon73 134 struct akcipher_request *rsa; member in union:qat_asym_request::__anon74 516 struct akcipher_request *areq = req->areq.rsa; 517 struct device *dev = &GET_DEV(req->ctx.rsa->inst->accel_dev); 523 dma_unmap_single(dev, req->in.rsa.enc.m, req->ctx.rsa->key_sz, 528 areq->dst_len = req->ctx.rsa 1249 static struct akcipher_alg rsa = { variable in typeref:struct:akcipher_alg [all...] |
/linux-master/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 11 #include <crypto/internal/rsa.h> 127 struct hpre_rsa_ctx rsa; member in union:hpre_ctx::__anon172 142 struct akcipher_request *rsa; member in union:hpre_asym_request::__anon173 470 areq = req->areq.rsa; 535 h_req->areq.rsa = akreq; 808 akcipher_request_set_tfm(req, ctx->rsa.soft_tfm); 814 if (unlikely(!ctx->rsa.pubkey)) 822 msg->key = cpu_to_le64(ctx->rsa.dma_pubkey); 856 akcipher_request_set_tfm(req, ctx->rsa.soft_tfm); 862 if (unlikely(!ctx->rsa 2006 static struct akcipher_alg rsa = { variable in typeref:struct:akcipher_alg [all...] |
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 54 u32 rsa[UOS_RSA_SCRATCH_COUNT]; local 58 copied = intel_uc_fw_copy_rsa(guc_fw, rsa, sizeof(rsa)); 59 if (copied < sizeof(rsa)) 63 intel_uncore_write(uncore, UOS_RSA_SCRATCH(i), rsa[i]);
|
/linux-master/crypto/ |
H A D | rsa.c | 11 #include <crypto/internal/rsa.h> 380 static struct akcipher_alg rsa = { variable in typeref:struct:akcipher_alg 388 .cra_name = "rsa", 389 .cra_driver_name = "rsa-generic", 400 err = crypto_register_akcipher(&rsa); 406 crypto_unregister_akcipher(&rsa); 416 crypto_unregister_akcipher(&rsa); 421 MODULE_ALIAS_CRYPTO("rsa");
|
H A D | rsa_helper.c | 12 #include <crypto/internal/rsa.h>
|
H A D | Makefile | 45 rsa_generic-y += rsa.o 47 rsa_generic-y += rsa-pkcs1pad.o
|
/linux-master/drivers/crypto/caam/ |
H A D | compat.h | 49 #include <crypto/internal/rsa.h>
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc.c | 443 u32 rsa[UOS_RSA_SCRATCH_COUNT]; local 454 copied = xe_uc_fw_copy_rsa(&guc->fw, rsa, sizeof(rsa)); 455 if (copied < sizeof(rsa)) 459 xe_mmio_write32(gt, UOS_RSA_SCRATCH(i), rsa[i]);
|
/linux-master/drivers/crypto/virtio/ |
H A D | virtio_crypto_akcipher_algs.c | 12 #include <crypto/internal/rsa.h> 423 para.u.rsa.padding_algo = cpu_to_le32(padding_algo); 424 para.u.rsa.hash_algo = cpu_to_le32(hash_algo); 510 .cra_name = "rsa", 511 .cra_driver_name = "virtio-crypto-rsa", 535 .cra_name = "pkcs1pad(rsa,sha1)", 536 .cra_driver_name = "virtio-pkcs1-rsa-with-sha1",
|
/linux-master/include/linux/ |
H A D | ccp.h | 656 struct ccp_rsa_engine rsa; member in union:ccp_cmd::__anon2547
|
/linux-master/include/uapi/linux/ |
H A D | virtio_crypto.h | 230 struct virtio_crypto_rsa_session_para rsa; member in union:virtio_crypto_akcipher_session_para::__anon83
|
/linux-master/arch/s390/include/asm/ |
H A D | kvm_host.h | 1032 int __sie64a(phys_addr_t sie_block_phys, struct kvm_s390_sie_block *sie_block, u64 *rsa); 1034 static inline int sie64a(struct kvm_s390_sie_block *sie_block, u64 *rsa) argument 1036 return __sie64a(virt_to_phys(sie_block), sie_block, rsa);
|
/linux-master/drivers/clk/meson/ |
H A D | a1-peripherals.c | 1856 static MESON_GATE(rsa, SYS_CLK_EN1, 8); 1920 [CLKID_RSA] = &rsa.hw, 2078 &rsa,
|
/linux-master/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 7 #include <crypto/internal/rsa.h> 44 /* rsa trigger */ 48 /* rsa dma cmd */ 53 /* rsa key len */ 498 dev_err(acry_dev->dev, "rsa parse key failed, ret:0x%x\n", 526 dev_err(acry_dev->dev, "rsa set key failed\n"); 612 .cra_name = "rsa", 613 .cra_driver_name = "aspeed-rsa",
|