Home
last modified time | relevance | path

Searched refs:NX_PAGE_SIZE (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/crypto/nx/
Dnx.c124 sg_addr = min_t(u64, NX_PAGE_NUM(sg_addr + NX_PAGE_SIZE), in nx_build_sg_list()
287 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_build_sg_lists()
401 if (!trip->sglen || trip->databytelen < NX_PAGE_SIZE) { in nx_of_update_msc()
504 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) { in nx_check_prop()
676 nx_ctx->kmem_len = (5 * NX_PAGE_SIZE) + in nx_crypto_ctx_init()
679 nx_ctx->kmem_len = (4 * NX_PAGE_SIZE) + in nx_crypto_ctx_init()
688 (u64)NX_PAGE_SIZE)); in nx_crypto_ctx_init()
689 nx_ctx->in_sg = (struct nx_sg *)((u8 *)nx_ctx->csbcpb + NX_PAGE_SIZE); in nx_crypto_ctx_init()
690 nx_ctx->out_sg = (struct nx_sg *)((u8 *)nx_ctx->in_sg + NX_PAGE_SIZE); in nx_crypto_ctx_init()
695 NX_PAGE_SIZE); in nx_crypto_ctx_init()
Dnx-sha512.c102 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_sha512_update()
139 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha512_update()
209 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_sha512_final()
Dnx-sha256.c102 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_sha256_update()
140 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); in nx_sha256_update()
205 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_sha256_final()
Dnx.h22 #define NX_PAGE_SIZE (4096) macro
23 #define NX_MAX_SG_ENTRIES (NX_PAGE_SIZE/(sizeof(struct nx_sg)))
Dnx-aes-gcm.c137 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_gca()
147 NX_PAGE_SIZE * (max_sg_len - 1)); in nx_gca()
202 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in gmac()
215 NX_PAGE_SIZE * (max_sg_len - 1)); in gmac()
Dnx-aes-xcbc.c213 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in nx_xcbc_update()
Dnx-aes-ccm.c291 nx_ctx->ap->databytelen/NX_PAGE_SIZE); in generate_pat()