Home
last modified time | relevance | path

Searched refs:rsa (Results 1 – 7 of 7) sorted by relevance

/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c161 struct qat_rsa_input_params rsa; member
165 struct qat_rsa_output_params rsa; member
174 struct qat_rsa_ctx *rsa; member
178 struct akcipher_request *rsa; member
558 struct akcipher_request *areq = req->areq.rsa; in qat_rsa_cb()
559 struct device *dev = &GET_DEV(req->ctx.rsa->inst->accel_dev); in qat_rsa_cb()
566 dma_free_coherent(dev, req->ctx.rsa->key_sz, req->src_align, in qat_rsa_cb()
567 req->in.rsa.enc.m); in qat_rsa_cb()
569 dma_unmap_single(dev, req->in.rsa.enc.m, req->ctx.rsa->key_sz, in qat_rsa_cb()
572 areq->dst_len = req->ctx.rsa->key_sz; in qat_rsa_cb()
[all …]
/drivers/crypto/ccp/
Dccp-ops.c1255 struct ccp_rsa_engine *rsa = &cmd->u.rsa; in ccp_run_rsa_cmd() local
1262 if (rsa->key_size > CCP_RSA_MAX_WIDTH) in ccp_run_rsa_cmd()
1265 if (!rsa->exp || !rsa->mod || !rsa->src || !rsa->dst) in ccp_run_rsa_cmd()
1274 o_len = ((rsa->key_size + 255) / 256) * 32; in ccp_run_rsa_cmd()
1297 ret = ccp_reverse_set_dm_area(&exp, rsa->exp, rsa->exp_len, in ccp_run_rsa_cmd()
1316 ret = ccp_reverse_set_dm_area(&src, rsa->mod, rsa->mod_len, in ccp_run_rsa_cmd()
1321 ret = ccp_reverse_set_dm_area(&src, rsa->src, rsa->src_len, in ccp_run_rsa_cmd()
1328 ret = ccp_init_data(&dst, cmd_q, rsa->dst, rsa->mod_len, in ccp_run_rsa_cmd()
1341 op.u.rsa.mod_size = rsa->key_size; in ccp_run_rsa_cmd()
1342 op.u.rsa.input_len = i_len; in ccp_run_rsa_cmd()
[all …]
Dccp-dev.h520 struct ccp_rsa_op rsa; member
629 int (*rsa)(struct ccp_op *); member
Dccp-dev-v3.c242 | (op->u.rsa.mod_size << REQ1_RSA_MOD_SIZE_SHIFT) in ccp_perform_rsa()
245 cr[1] = op->u.rsa.input_len - 1; in ccp_perform_rsa()
581 .rsa = ccp_perform_rsa,
Dccp-dev-v5.c111 } rsa; member
137 #define CCP_RSA_SIZE(p) ((p)->rsa.size)
400 CCP_RSA_SIZE(&function) = op->u.rsa.mod_size; in ccp5_perform_rsa()
403 CCP5_CMD_LEN(&desc) = op->u.rsa.input_len; in ccp5_perform_rsa()
1017 .rsa = ccp5_perform_rsa,
/drivers/gpu/drm/i915/
Dintel_guc_loader.c280 u32 status, rsa[UOS_RSA_SCRATCH_MAX_COUNT]; in guc_ucode_xfer_dma() local
287 sg_pcopy_to_buffer(sg->sgl, sg->nents, rsa, sizeof(rsa), offset); in guc_ucode_xfer_dma()
289 I915_WRITE(UOS_RSA_SCRATCH(i), rsa[i]); in guc_ucode_xfer_dma()
/drivers/md/
Ddm-android-verity.c607 mpi_free(pks->rsa.s); in verify_verity_signature()