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

/linux-master/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c214 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) {
220 } else if (unlikely(ctx->alg_type == SEC_AEAD)) {
445 if (ctx->alg_type == SEC_AEAD) {
465 if (ctx->alg_type == SEC_AEAD)
468 if (ctx->alg_type == SEC_AEAD)
484 if (ctx->alg_type == SEC_AEAD)
711 ctx->alg_type = SEC_SKCIPHER;
900 if (ctx->alg_type == SEC_AEAD)
911 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) {
933 if (ctx->alg_type
1386 sec_update_iv(struct sec_req *req, enum sec_alg_type alg_type) argument
[all...]
H A Dsec.h153 enum sec_alg_type alg_type; member in struct:sec_ctx
/linux-master/drivers/crypto/caam/
H A Dcaamhash.c1581 u32 alg_type; member in struct:caam_hash_template
1606 .alg_type = OP_ALG_ALGSEL_SHA1,
1627 .alg_type = OP_ALG_ALGSEL_SHA224,
1648 .alg_type = OP_ALG_ALGSEL_SHA256,
1669 .alg_type = OP_ALG_ALGSEL_SHA384,
1690 .alg_type = OP_ALG_ALGSEL_SHA512,
1711 .alg_type = OP_ALG_ALGSEL_MD5,
1730 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_XCBC_MAC,
1749 .alg_type = OP_ALG_ALGSEL_AES | OP_ALG_AAI_CMAC,
1755 int alg_type; member in struct:caam_hash_alg
[all...]
H A Dcaamalg_qi2.c4410 u32 alg_type; member in struct:caam_hash_template
4435 .alg_type = OP_ALG_ALGSEL_SHA1,
4456 .alg_type = OP_ALG_ALGSEL_SHA224,
4477 .alg_type = OP_ALG_ALGSEL_SHA256,
4498 .alg_type = OP_ALG_ALGSEL_SHA384,
4519 .alg_type = OP_ALG_ALGSEL_SHA512,
4540 .alg_type = OP_ALG_ALGSEL_MD5,
4547 int alg_type; member in struct:caam_hash_alg
4603 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type;
4668 t_alg->alg_type
[all...]
/linux-master/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c297 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status,
358 int alg_type, int req_type)
364 qp->alg_type = alg_type;
413 /* alg_type = 0 for compress, 1 for decompress in hw sqe */
357 hisi_zip_start_qp(struct hisi_qp *qp, struct hisi_zip_qp_ctx *qp_ctx, int alg_type, int req_type) argument
/linux-master/include/linux/
H A Dhisi_acc_qm.h417 u8 alg_type; member in struct:hisi_qp
570 u8 alg_type, int node, struct hisi_qp **qps);
/linux-master/drivers/crypto/hisilicon/
H A Dqm.c254 #define QM_MK_SQC_W13(priority, orders, alg_type) \
257 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT))
1825 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) argument
1858 qp->alg_type = alg_type;
1868 * @alg_type: Accelerator specific algorithm type in sqc.
1872 static struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) argument
1882 qp = qm_create_qp_nolock(qm, alg_type);
1924 sqc.w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type));
2262 u8 alg_type local
3361 hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num, u8 alg_type, int node, struct hisi_qp **qps) argument
[all...]

Completed in 159 milliseconds