/openbmc/u-boot/drivers/crypto/fsl/ |
H A D | fsl_hash.c | 24 u32 alg_type; member 36 .alg_type = OP_ALG_ALGSEL_SHA1, 41 .alg_type = OP_ALG_ALGSEL_SHA256, 146 driver_hash[caam_algo].alg_type, in caam_hash_finish() 184 driver_hash[algo].alg_type, in caam_hash()
|
H A D | jobdesc.h | 32 u32 alg_type, uint32_t alg_size, int sg_tbl);
|
H A D | jobdesc.c | 177 u32 alg_type, uint32_t alg_size, int sg_tbl) in inline_cnstr_jobdesc_hash() argument 190 OP_ALG_ENCRYPT | OP_ALG_ICV_OFF | alg_type); in inline_cnstr_jobdesc_hash()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 1582 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 …]
|
H A D | caamalg_qi2.c | 4410 u32 alg_type; member 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 4602 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init() 4665 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
|
/openbmc/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 211 if (unlikely(ctx->alg_type == SEC_SKCIPHER)) { in sec_cb_status_check() 217 } else if (unlikely(ctx->alg_type == SEC_AEAD)) { in sec_cb_status_check() 442 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc() 462 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 465 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 481 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_free() 544 int qp_ctx_id, int alg_type) in sec_create_qp_ctx() argument 712 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init() 907 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC() 918 if (!c_req->encrypt && ctx->alg_type == SEC_AEAD) { in GEN_SEC_SETKEY_FUNC() [all …]
|
H A D | sec.h | 152 enum sec_alg_type alg_type; member
|
/openbmc/linux/drivers/crypto/hisilicon/zip/ |
H A D | zip_crypto.c | 424 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb() 435 head_size = (qp->alg_type == 0) ? TO_HEAD_SIZE(qp->req_type) : 0; in hisi_zip_acomp_cb() 504 int alg_type, int req_type) in hisi_zip_start_qp() argument 510 qp->alg_type = alg_type; in hisi_zip_start_qp()
|
/openbmc/linux/include/linux/ |
H A D | hisi_acc_qm.h | 406 u8 alg_type; member 545 u8 alg_type, int node, struct hisi_qp **qps);
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 242 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument 245 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT)) 1885 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) in qm_create_qp_nolock() argument 1916 qp->alg_type = alg_type; in qm_create_qp_nolock() 1931 static struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type) in hisi_qm_create_qp() argument 1941 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp() 1997 sqc->w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg() 2347 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local 2349 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue() 2459 qp->alg_type = type; in qm_set_sqctype() [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd-uadk.c | 55 ss.alg_type = WD_ZLIB; in multifd_uadk_init_sess()
|