Home
last modified time | relevance | path

Searched refs:NX_CPB_FDM (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/crypto/nx/
Dnx-aes-gcm.c119 NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_CONTINUATION; in nx_gca()
141 NX_CPB_FDM(csbcpb_aead) |= NX_FDM_INTERMEDIATE; in nx_gca()
143 NX_CPB_FDM(csbcpb_aead) &= ~NX_FDM_INTERMEDIATE; in nx_gca()
156 NX_CPB_FDM(csbcpb_aead) |= NX_FDM_CONTINUATION; in nx_gca()
183 NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; in gmac()
208 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in gmac()
210 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in gmac()
228 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in gmac()
262 NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; in gcm_empty()
264 NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; in gcm_empty()
[all …]
Dnx-aes-ccm.c254 NX_CPB_FDM(nx_ctx->csbcpb) |= NX_FDM_ENDE_ENCRYPT; in generate_pat()
255 NX_CPB_FDM(nx_ctx->csbcpb) |= NX_FDM_INTERMEDIATE; in generate_pat()
288 NX_CPB_FDM(nx_ctx->csbcpb_aead) |= in generate_pat()
291 NX_CPB_FDM(nx_ctx->csbcpb_aead) &= in generate_pat()
310 NX_CPB_FDM(nx_ctx->csbcpb_aead) |= NX_FDM_CONTINUATION; in generate_pat()
361 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in ccm_nx_decrypt()
363 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in ccm_nx_decrypt()
365 NX_CPB_FDM(nx_ctx->csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; in ccm_nx_decrypt()
387 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in ccm_nx_decrypt()
430 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in ccm_nx_encrypt()
[all …]
Dnx-sha512.c89 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in nx_sha512_update()
90 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in nx_sha512_update()
210 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_sha512_final()
211 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in nx_sha512_final()
213 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_sha512_final()
214 NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; in nx_sha512_final()
217 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_sha512_final()
Dnx-aes-xcbc.c73 NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; in nx_xcbc_empty()
133 NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; in nx_xcbc_empty()
256 if (NX_CPB_FDM(csbcpb) & NX_FDM_CONTINUATION) { in nx_xcbc_update()
262 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in nx_xcbc_update()
275 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in nx_xcbc_update()
304 if (NX_CPB_FDM(csbcpb) & NX_FDM_CONTINUATION) { in nx_xcbc_final()
321 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_xcbc_final()
Dnx-sha256.c89 NX_CPB_FDM(csbcpb) |= NX_FDM_INTERMEDIATE; in nx_sha256_update()
90 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in nx_sha256_update()
205 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_sha256_final()
206 NX_CPB_FDM(csbcpb) |= NX_FDM_CONTINUATION; in nx_sha256_final()
208 NX_CPB_FDM(csbcpb) &= ~NX_FDM_INTERMEDIATE; in nx_sha256_final()
209 NX_CPB_FDM(csbcpb) &= ~NX_FDM_CONTINUATION; in nx_sha256_final()
Dnx-aes-ecb.c66 NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; in ecb_aes_nx_crypt()
68 NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; in ecb_aes_nx_crypt()
Dnx-aes-cbc.c66 NX_CPB_FDM(csbcpb) |= NX_FDM_ENDE_ENCRYPT; in cbc_aes_nx_crypt()
68 NX_CPB_FDM(csbcpb) &= ~NX_FDM_ENDE_ENCRYPT; in cbc_aes_nx_crypt()
Dnx_csbcpb.h104 #define NX_CPB_FDM(c) ((c)->cpb.hdr.fdm) macro