Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/caam/
H A Dcaamhash.c1582 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,
1756 int alg_type; member
1796 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1938 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
[all …]
H A Dcaamalg_qi2.c4411 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-6.15/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c444 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc()
464 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
467 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
483 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_free()
708 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init()
897 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC()
930 if (ctx->alg_type == SEC_AEAD) in sec_cipher_pbuf_unmap()
973 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map()
986 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map()
1375 if (alg_type == SEC_SKCIPHER) { in sec_update_iv()
[all …]
H A Dsec.h151 enum sec_alg_type alg_type; member
/linux-6.15/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c300 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb()
361 int alg_type, int req_type) in hisi_zip_start_qp() argument
367 qp->alg_type = alg_type; in hisi_zip_start_qp()
/linux-6.15/include/linux/
H A Dhisi_acc_qm.h443 u8 alg_type; member
567 u8 alg_type, int node, struct hisi_qp **qps);
/linux-6.15/drivers/crypto/hisilicon/
H A Dqm.c260 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument
263 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT))
2029 qp->alg_type = alg_type; in qm_create_qp_nolock()
2053 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp()
2095 sqc.w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg()
2432 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local
2434 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue()
2568 qp->alg_type = type; in qm_set_sqctype()
3532 u8 alg_type, int node, struct hisi_qp **qps) in hisi_qm_alloc_qps_node() argument
3550 qps[i] = hisi_qm_create_qp(tmp->qm, alg_type); in hisi_qm_alloc_qps_node()
[all …]