Searched refs:alg_type (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caamhash.c | 1581 u32 alg_type; member 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, 1755 int alg_type; member 1795 if (is_xcbc_aes(caam_hash->alg_type)) { in caam_hash_cra_init() 1937 t_alg->alg_type = template->alg_type; in caam_hash_alloc() [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 4603 ctx->adata.algtype = OP_TYPE_CLASS2_ALG | caam_hash->alg_type; in caam_hash_cra_init() 4668 t_alg->alg_type = template->alg_type; in caam_hash_alloc()
|
/linux/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 445 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_alloc() 465 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 468 if (ctx->alg_type == SEC_AEAD) in sec_alg_resource_alloc() 484 if (ctx->alg_type == SEC_AEAD) { in sec_alg_resource_free() 713 ctx->alg_type = SEC_SKCIPHER; in sec_skcipher_init() 902 if (ctx->alg_type == SEC_AEAD) in GEN_SEC_SETKEY_FUNC() 935 if (ctx->alg_type == SEC_AEAD) in sec_cipher_pbuf_unmap() 979 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map() 992 if (ctx->alg_type == SEC_AEAD) { in sec_cipher_map() 1403 if (alg_type == SEC_SKCIPHER) { in sec_update_iv() [all …]
|
H A D | sec.h | 153 enum sec_alg_type alg_type; member
|
/linux/drivers/crypto/hisilicon/zip/ |
H A D | zip_crypto.c | 297 (qp->alg_type == 0) ? "" : "de", qp->qp_id, status, in hisi_zip_acomp_cb() 358 int alg_type, int req_type) in hisi_zip_start_qp() argument 364 qp->alg_type = alg_type; in hisi_zip_start_qp()
|
/linux/include/linux/ |
H A D | hisi_acc_qm.h | 417 u8 alg_type; member 570 u8 alg_type, int node, struct hisi_qp **qps);
|
/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 254 #define QM_MK_SQC_W13(priority, orders, alg_type) \ argument 257 (((alg_type) & QM_SQ_TYPE_MASK) << QM_SQ_TYPE_SHIFT)) 1861 qp->alg_type = alg_type; in qm_create_qp_nolock() 1885 qp = qm_create_qp_nolock(qm, alg_type); in hisi_qm_create_qp() 1927 sqc.w13 = cpu_to_le16(QM_MK_SQC_W13(0, 1, qp->alg_type)); in qm_sq_ctx_cfg() 2265 u8 alg_type = 0; in hisi_qm_uacce_get_queue() local 2267 qp = hisi_qm_create_qp(qm, alg_type); in hisi_qm_uacce_get_queue() 2401 qp->alg_type = type; in qm_set_sqctype() 3362 u8 alg_type, int node, struct hisi_qp **qps) in hisi_qm_alloc_qps_node() argument 3380 qps[i] = hisi_qm_create_qp(tmp->qm, alg_type); in hisi_qm_alloc_qps_node() [all …]
|