Searched refs:alg_type (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.1/drivers/crypto/caam/ |
| D | caamhash.c | 1577 u32 alg_type; member 1602 .alg_type = OP_ALG_ALGSEL_SHA1, 1623 .alg_type = OP_ALG_ALGSEL_SHA224, 1644 .alg_type = OP_ALG_ALGSEL_SHA256, 1665 .alg_type = OP_ALG_ALGSEL_SHA384, 1686 .alg_type = OP_ALG_ALGSEL_SHA512, 1707 .alg_type = OP_ALG_ALGSEL_MD5, 1726 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XCBC_MAC, 1745 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CMAC, 1751 int alg_type; member [all …]
|
| D | caamalg_qi2.c | 4399 u32 alg_type; member 4424 .alg_type = OP_ALG_ALGSEL_SHA1, 4445 .alg_type = OP_ALG_ALGSEL_SHA224, 4466 .alg_type = OP_ALG_ALGSEL_SHA256, 4487 .alg_type = OP_ALG_ALGSEL_SHA384, 4508 .alg_type = OP_ALG_ALGSEL_SHA512, 4529 .alg_type = OP_ALG_ALGSEL_MD5, 4536 int alg_type; member 4591 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init() 4655 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
|
| /Linux-v6.1/drivers/crypto/hisilicon/sec2/ |
| D | sec_crypto.c | 211 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) { in sec_cb_status_check() 217 } else if (unlikely(ctx->alg_type == SEC_AEAD)) { in sec_cb_status_check() 443 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc() 463 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 466 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 482 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_free() 543 int qp_ctx_id, int alg_type) in sec_create_qp_ctx() argument 711 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init() 905 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC() 916 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) { in GEN_SEC_SETKEY_FUNC() [all …]
|
| D | sec.h | 153 enum sec_alg_type alg_type; member
|
| /Linux-v6.1/drivers/crypto/rockchip/ |
| D | rk3288_crypto.h | 254 enum alg_type { enum 265 enum alg_type type;
|
| /Linux-v6.1/drivers/crypto/hisilicon/zip/ |
| D | zip_crypto.c | 424 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb() 435 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb() 504 int alg_type, int req_type) in hisi_zip_start_qp() argument 510 qp->alg_type = alg_type; in hisi_zip_start_qp()
|
| /Linux-v6.1/include/linux/ |
| D | hisi_acc_qm.h | 362 u8 alg_type; member 499 u8 alg_type, int node, struct hisi_qp **qps);
|
| /Linux-v6.1/drivers/crypto/hisilicon/ |
| D | qm.c | 274 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument 277 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT)) 2822 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) in qm_create_qp_nolock() argument 2853 qp->alg_type = alg_type; in qm_create_qp_nolock() 2869 static struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) in hisi_qm_create_qp() argument 2879 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp() 2935 sqc->w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg() 3285 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local 3287 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue() 3397 qp->alg_type = type; in qm_set_sqctype() [all …]
|