/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 176 (ctx->alg_type == SEC_SKCIPHER && flag != SEC_SQE_CFLAG) || in sec_req_cb() 177 (ctx->alg_type == SEC_AEAD && flag != SEC_SQE_AEAD_FLAG))) { in sec_req_cb() 185 if (ctx->alg_type == SEC_AEAD && !req->c_req.encrypt) in sec_req_cb() 334 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc() 349 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 366 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_free() 371 int qp_ctx_id, int alg_type) in sec_create_qp_ctx() argument 543 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init() 696 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC() 732 if (ctx->alg_type == SEC_AEAD) in sec_cipher_pbuf_unmap() [all …]
|
D | sec.h | 139 enum sec_alg_type alg_type; member
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | caamhash.c | 1574 u32 alg_type; member 1599 .alg_type = OP_ALG_ALGSEL_SHA1, 1620 .alg_type = OP_ALG_ALGSEL_SHA224, 1641 .alg_type = OP_ALG_ALGSEL_SHA256, 1662 .alg_type = OP_ALG_ALGSEL_SHA384, 1683 .alg_type = OP_ALG_ALGSEL_SHA512, 1704 .alg_type = OP_ALG_ALGSEL_MD5, 1723 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XCBC_MAC, 1742 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CMAC, 1748 int alg_type; member [all …]
|
D | caamalg_qi2.c | 4396 u32 alg_type; member 4421 .alg_type = OP_ALG_ALGSEL_SHA1, 4442 .alg_type = OP_ALG_ALGSEL_SHA224, 4463 .alg_type = OP_ALG_ALGSEL_SHA256, 4484 .alg_type = OP_ALG_ALGSEL_SHA384, 4505 .alg_type = OP_ALG_ALGSEL_SHA512, 4526 .alg_type = OP_ALG_ALGSEL_MD5, 4533 int alg_type; member 4588 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init() 4652 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | qm.h | 268 u8 alg_type; member 346 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type); 378 u8 alg_type, int node, struct hisi_qp **qps);
|
D | qm.c | 197 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument 200 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT)) 1654 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) in qm_create_qp_nolock() argument 1685 qp->alg_type = alg_type; in qm_create_qp_nolock() 1700 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) in hisi_qm_create_qp() argument 1705 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp() 1768 sqc->w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_qp_ctx_cfg() 2031 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local 2033 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue() 2121 qp->alg_type = type; in qm_set_sqctype() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/rockchip/ |
D | rk3288_crypto.h | 253 enum alg_type { enum 264 enum alg_type type;
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 154 int alg_type, int req_type) in hisi_zip_start_qp() argument 160 qp->alg_type = alg_type; in hisi_zip_start_qp() 366 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb() 376 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
D | picoxcell_crypto.c | 528 static int spacc_aead_do_fallback(struct aead_request *req, unsigned alg_type, in spacc_aead_do_fallback() argument 627 unsigned alg_type, bool is_encrypt) in spacc_aead_setup() argument 644 return spacc_aead_do_fallback(req, alg_type, is_encrypt); in spacc_aead_setup() 899 unsigned alg_type, bool is_encrypt) in spacc_ablk_do_fallback() argument 923 static int spacc_ablk_setup(struct skcipher_request *req, unsigned alg_type, in spacc_ablk_setup() argument 940 return spacc_ablk_do_fallback(req, alg_type, is_encrypt); in spacc_ablk_setup()
|