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

/linux-4.1.27/drivers/crypto/nx/
H A Dnx-sha256.c102 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_sha256_update()
136 * In ideal case, we could allow NX_PAGE_SIZE * max_sg_len, nx_sha256_update()
140 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); nx_sha256_update()
205 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_sha256_final()
H A Dnx-sha512.c102 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_sha512_update()
135 * In ideal case, we could allow NX_PAGE_SIZE * max_sg_len, nx_sha512_update()
139 (max_sg_len - 1 - used_sgs) * NX_PAGE_SIZE); nx_sha512_update()
209 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_sha512_final()
H A Dnx.c125 sg_addr = min_t(u64, NX_PAGE_NUM(sg_addr + NX_PAGE_SIZE), nx_build_sg_list()
288 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_build_sg_lists()
605 nx_ctx->kmem_len = (5 * NX_PAGE_SIZE) + nx_crypto_ctx_init()
608 nx_ctx->kmem_len = (4 * NX_PAGE_SIZE) + nx_crypto_ctx_init()
617 (u64)NX_PAGE_SIZE)); nx_crypto_ctx_init()
618 nx_ctx->in_sg = (struct nx_sg *)((u8 *)nx_ctx->csbcpb + NX_PAGE_SIZE); nx_crypto_ctx_init()
619 nx_ctx->out_sg = (struct nx_sg *)((u8 *)nx_ctx->in_sg + NX_PAGE_SIZE); nx_crypto_ctx_init()
624 NX_PAGE_SIZE); nx_crypto_ctx_init()
H A Dnx.h21 #define NX_PAGE_SIZE (4096) macro
22 #define NX_MAX_SG_ENTRIES (NX_PAGE_SIZE/(sizeof(struct nx_sg)))
H A Dnx-aes-gcm.c149 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_gca()
159 NX_PAGE_SIZE * (max_sg_len - 1)); nx_gca()
212 nx_ctx->ap->databytelen/NX_PAGE_SIZE); gmac()
225 NX_PAGE_SIZE * (max_sg_len - 1)); gmac()
H A Dnx-aes-xcbc.c213 nx_ctx->ap->databytelen/NX_PAGE_SIZE); nx_xcbc_update()
H A Dnx-aes-ccm.c294 nx_ctx->ap->databytelen/NX_PAGE_SIZE); generate_pat()

Completed in 73 milliseconds