Searched refs:alg_type (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 214 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 D | sec.h | 153 enum sec_alg_type alg_type; member in struct:sec_ctx
|
/linux-master/drivers/crypto/caam/ |
H A D | caamhash.c | 1581 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 D | caamalg_qi2.c | 4410 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 D | zip_crypto.c | 297 (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 D | hisi_acc_qm.h | 417 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 D | qm.c | 254 #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