Home
last modified time | relevance | path

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

/linux/drivers/crypto/caam/
A Dcaamhash.c1574 u32 alg_type; member
1599 .alg_type = OP_ALG_ALGSEL_SHA1,
1620 .alg_type = OP_ALG_ALGSEL_SHA224,
1641 .alg_type = OP_ALG_ALGSEL_SHA256,
1662 .alg_type = OP_ALG_ALGSEL_SHA384,
1683 .alg_type = OP_ALG_ALGSEL_SHA512,
1704 .alg_type = OP_ALG_ALGSEL_MD5,
1748 int alg_type; member
1787 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init()
1932 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
[all …]
A Dcaamalg_qi2.c4399 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/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c427 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc()
447 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
450 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc()
466 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_free()
662 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init()
856 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC()
889 if (ctx->alg_type == SEC_AEAD) in sec_cipher_pbuf_unmap()
933 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map()
946 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map()
1350 if (alg_type == SEC_SKCIPHER) { in sec_update_iv()
[all …]
A Dsec.h152 enum sec_alg_type alg_type; member
/linux/drivers/crypto/rockchip/
A Drk3288_crypto.h254 enum alg_type { enum
265 enum alg_type type;
/linux/drivers/crypto/hisilicon/
A Dqm.h296 u8 alg_type; member
396 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type);
428 u8 alg_type, int node, struct hisi_qp **qps);
A Dqm.c286 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument
289 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT))
2526 qp->alg_type = alg_type; in qm_create_qp_nolock()
2552 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp()
2610 sqc->w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg()
2954 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local
2956 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue()
3067 qp->alg_type = type; in qm_set_sqctype()
3943 u8 alg_type, int node, struct hisi_qp **qps) in hisi_qm_alloc_qps_node() argument
3961 qps[i] = hisi_qm_create_qp(tmp->qm, alg_type); in hisi_qm_alloc_qps_node()
[all …]
/linux/drivers/crypto/hisilicon/zip/
A Dzip_crypto.c421 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb()
432 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb()
501 int alg_type, int req_type) in hisi_zip_start_qp() argument
507 qp->alg_type = alg_type; in hisi_zip_start_qp()

Completed in 45 milliseconds