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.c1583 u32 alg_type; member
1608 .alg_type = OP_ALG_ALGSEL_SHA1,
1629 .alg_type = OP_ALG_ALGSEL_SHA224,
1650 .alg_type = OP_ALG_ALGSEL_SHA256,
1671 .alg_type = OP_ALG_ALGSEL_SHA384,
1692 .alg_type = OP_ALG_ALGSEL_SHA512,
1713 .alg_type = OP_ALG_ALGSEL_MD5,
1732 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XCBC_MAC,
1751 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CMAC,
1757 int alg_type; member
[all...]
H A Dcaamalg_qi2.c4413 u32 alg_type;
4438 .alg_type = OP_ALG_ALGSEL_SHA1,
4459 .alg_type = OP_ALG_ALGSEL_SHA224,
4480 .alg_type = OP_ALG_ALGSEL_SHA256,
4501 .alg_type = OP_ALG_ALGSEL_SHA384,
4522 .alg_type = OP_ALG_ALGSEL_SHA512,
4543 .alg_type = OP_ALG_ALGSEL_MD5,
4550 int alg_type;
4606 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init()
4667 t_alg->alg_type in caam_hash_alloc()
4412 u32 alg_type; global() member
4549 int alg_type; global() member
[all...]
/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c185 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 in GEN_SEC_SETKEY_FUNC()
1642 sec_update_iv(struct sec_req * req,enum sec_alg_type alg_type) sec_update_iv() argument
[all...]
/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c330 (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 Dqm.c264 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument
267 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT))
2054 static struct hisi_qp *find_shareable_qp(struct hisi_qm *qm, u8 alg_type, bool is_in_kernel) in find_shareable_qp()
2067 if (qp->is_in_kernel && qp->alg_type == alg_type && qp->ref_count < ref_count) { in find_shareable_qp()
2085 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type, bool is_in_kernel) in qm_create_qp_nolock()
2098 return find_shareable_qp(qm, alg_type, is_in_kernel); in qm_create_qp_nolock()
2114 qp->alg_type = alg_type; in qm_create_qp_nolock()
2125 * @alg_type
2052 find_shareable_qp(struct hisi_qm * qm,u8 alg_type,bool is_in_kernel) find_shareable_qp() argument
2083 qm_create_qp_nolock(struct hisi_qm * qm,u8 alg_type,bool is_in_kernel) qm_create_qp_nolock() argument
2127 hisi_qm_create_qp(struct hisi_qm * qm,u8 alg_type) hisi_qm_create_qp() argument
2525 u8 alg_type = 0; hisi_qm_uacce_get_queue() local
3691 qm_get_and_start_qp(struct hisi_qm * qm,int qp_num,struct hisi_qp ** qps,u8 * alg_type) qm_get_and_start_qp() argument
3782 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...]