Searched refs:alg_type (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1582 u32 alg_type; member 1607 .alg_type = OP_ALG_ALGSEL_SHA1, 1628 .alg_type = OP_ALG_ALGSEL_SHA224, 1649 .alg_type = OP_ALG_ALGSEL_SHA256, 1670 .alg_type = OP_ALG_ALGSEL_SHA384, 1691 .alg_type = OP_ALG_ALGSEL_SHA512, 1712 .alg_type = OP_ALG_ALGSEL_MD5, 1731 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XCBC_MAC, 1750 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CMAC, 1756 int alg_type; member [all …]
|
| H A D | caamalg_qi2.c | 4411 u32 alg_type; member 4436 .alg_type = OP_ALG_ALGSEL_SHA1, 4457 .alg_type = OP_ALG_ALGSEL_SHA224, 4478 .alg_type = OP_ALG_ALGSEL_SHA256, 4499 .alg_type = OP_ALG_ALGSEL_SHA384, 4520 .alg_type = OP_ALG_ALGSEL_SHA512, 4541 .alg_type = OP_ALG_ALGSEL_MD5, 4548 int alg_type; member 4604 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init() 4669 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
|
| /linux/drivers/crypto/hisilicon/sec2/ |
| H A D | sec_crypto.c | 185 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) { in sec_cb_status_check() 191 } else if (unlikely(ctx->alg_type == SEC_AEAD)) { in sec_cb_status_check() 248 if (ctx->alg_type == SEC_AEAD) in sec_alg_send_backlog_soft() 521 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc() 541 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 544 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 560 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_free() 786 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init() 979 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC() 991 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) { in GEN_SEC_SETKEY_FUNC() [all …]
|
| /linux/drivers/crypto/hisilicon/zip/ |
| H A D | zip_crypto.c | 330 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb() 422 u8 alg_type[HZIP_CTX_Q_NUM]; in hisi_zip_ctx_init() local 428 alg_type[i] = i; in hisi_zip_ctx_init() 430 ret = zip_create_qps(qps, HZIP_CTX_Q_NUM, node, alg_type); in hisi_zip_ctx_init()
|
| /linux/drivers/crypto/hisilicon/ |
| H A D | qm.c | 264 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument 267 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT)) 2052 static struct hisi_qp *find_shareable_qp(struct hisi_qm *qm, u8 alg_type, bool is_in_kernel) in find_shareable_qp() argument 2065 if (qp->is_in_kernel && qp->alg_type == alg_type && qp->ref_count < ref_count) { in find_shareable_qp() 2083 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type, bool is_in_kernel) in qm_create_qp_nolock() argument 2096 return find_shareable_qp(qm, alg_type, is_in_kernel); in qm_create_qp_nolock() 2112 qp->alg_type = alg_type; in qm_create_qp_nolock() 2127 static struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) in hisi_qm_create_qp() argument 2137 qp = qm_create_qp_nolock(qm, alg_type, false); in hisi_qm_create_qp() 2179 sqc.w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg() [all …]
|