Home
last modified time | relevance | path

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

/linux/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,
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...]
/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c190 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) { in sec_cb_status_check()
196 } else if (unlikely(ctx->alg_type == SEC_AEAD)) { in sec_cb_status_check()
253 if (ctx->alg_type == SEC_AEAD) in sec_alg_send_backlog_soft()
519 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc()
539 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
542 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
558 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_free()
783 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init()
972 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC()
984 if (!c_req->encrypt && ctx->alg_type in GEN_SEC_SETKEY_FUNC()
1632 sec_update_iv(struct sec_req * req,enum sec_alg_type alg_type) sec_update_iv() argument
[all...]
H A Dsec.h200 enum sec_alg_type alg_type; member
/linux/include/linux/
H A Dhisi_acc_qm.h443 u8 alg_type; member
567 u8 alg_type, int node, struct hisi_qp **qps);
/linux/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))
1995 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) in qm_create_qp_nolock() argument
2028 qp->alg_type = alg_type; in qm_create_qp_nolock()
2038 * @alg_type: Accelerator specific algorithm type in sqc.
2042 static struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) in hisi_qm_create_qp() argument
2052 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp()
2094 sqc.w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg()
2431 u8 alg_type in hisi_qm_uacce_get_queue() local
3531 hisi_qm_alloc_qps_node(struct hisi_qm_list * qm_list,int qp_num,u8 alg_type,int node,struct hisi_qp ** qps) hisi_qm_alloc_qps_node() argument
[all...]