Home
last modified time | relevance | path

Searched refs:nx_csbcpb (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/nx/
H A Dnx-aes-ecb.c17 #include "nx_csbcpb.h"
26 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in ecb_aes_nx_set_key()
58 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ecb_aes_nx_crypt()
H A Dnx-aes-gcm.c19 #include "nx_csbcpb.h"
28 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_aes_nx_set_key()
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in gcm_aes_nx_set_key()
105 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in nx_gca()
174 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gmac()
247 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_empty()
313 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_aes_nx_crypt()
H A Dnx-sha512.c15 #include "nx_csbcpb.h"
61 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha512_update()
183 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha512_final()
H A Dnx-sha256.c16 #include "nx_csbcpb.h"
61 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha256_update()
180 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha256_final()
H A Dnx-aes-xcbc.c18 #include "nx_csbcpb.h"
33 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_set_key()
62 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_empty()
141 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_crypto_ctx_aes_xcbc_init2()
171 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_update()
296 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_final()
H A Dnx-aes-cbc.c17 #include "nx_csbcpb.h"
26 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in cbc_aes_nx_set_key()
58 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in cbc_aes_nx_crypt()
H A Dnx.h121 struct nx_csbcpb *csbcpb; /* aligned page given to phyp @ hcall time */
123 struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */
H A Dnx-aes-ctr.c18 #include "nx_csbcpb.h"
27 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ctr_aes_nx_set_key()
76 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ctr_aes_nx_crypt()
H A Dnx-aes-ccm.c19 #include "nx_csbcpb.h"
28 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_aes_nx_set_key()
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in ccm_aes_nx_set_key()
334 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_nx_decrypt()
412 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_nx_encrypt()
H A Dnx.c26 #include "nx_csbcpb.h"
664 sizeof(struct nx_csbcpb); in nx_crypto_ctx_init()
667 sizeof(struct nx_csbcpb); in nx_crypto_ctx_init()
674 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init()
681 (struct nx_csbcpb *)((u8 *)nx_ctx->out_sg + in nx_crypto_ctx_init()
H A Dnx_csbcpb.h148 struct nx_csbcpb { struct
154 /* nx_csbcpb related definitions */
H A Dnx-842-pseries.c14 #include "nx_csbcpb.h" /* struct nx_csbcpb */
70 struct nx_csbcpb csbcpb;
75 /* Macros for fields within nx_csbcpb */
285 struct nx_csbcpb *csbcpb; in nx842_pseries_compress()
415 struct nx_csbcpb *csbcpb; in nx842_pseries_decompress()
/kernel/linux/linux-6.6/drivers/crypto/nx/
H A Dnx-aes-ecb.c17 #include "nx_csbcpb.h"
26 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in ecb_aes_nx_set_key()
58 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ecb_aes_nx_crypt()
H A Dnx-aes-gcm.c19 #include "nx_csbcpb.h"
28 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_aes_nx_set_key()
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in gcm_aes_nx_set_key()
105 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in nx_gca()
174 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gmac()
247 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_empty()
313 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in gcm_aes_nx_crypt()
H A Dnx-sha512.c15 #include "nx_csbcpb.h"
66 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha512_update()
188 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha512_final()
H A Dnx-sha256.c16 #include "nx_csbcpb.h"
66 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha256_update()
185 struct nx_csbcpb *csbcpb = (struct nx_csbcpb *)nx_ctx->csbcpb; in nx_sha256_final()
H A Dnx-aes-xcbc.c18 #include "nx_csbcpb.h"
33 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_set_key()
62 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_empty()
141 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_crypto_ctx_aes_xcbc_init2()
171 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_update()
296 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in nx_xcbc_final()
H A Dnx-aes-cbc.c17 #include "nx_csbcpb.h"
26 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in cbc_aes_nx_set_key()
58 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in cbc_aes_nx_crypt()
H A Dnx-aes-ctr.c18 #include "nx_csbcpb.h"
27 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ctr_aes_nx_set_key()
76 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ctr_aes_nx_crypt()
H A Dnx.h121 struct nx_csbcpb *csbcpb; /* aligned page given to phyp @ hcall time */
123 struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */
H A Dnx-aes-ccm.c19 #include "nx_csbcpb.h"
28 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_aes_nx_set_key()
29 struct nx_csbcpb *csbcpb_aead = nx_ctx->csbcpb_aead; in ccm_aes_nx_set_key()
331 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_nx_decrypt()
409 struct nx_csbcpb *csbcpb = nx_ctx->csbcpb; in ccm_nx_encrypt()
H A Dnx.c26 #include "nx_csbcpb.h"
665 sizeof(struct nx_csbcpb); in nx_crypto_ctx_init()
668 sizeof(struct nx_csbcpb); in nx_crypto_ctx_init()
675 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init()
682 (struct nx_csbcpb *)((u8 *)nx_ctx->out_sg + in nx_crypto_ctx_init()
H A Dnx_csbcpb.h148 struct nx_csbcpb { struct
154 /* nx_csbcpb related definitions */
H A Dnx-common-pseries.c16 #include "nx_csbcpb.h" /* struct nx_csbcpb */
95 struct nx_csbcpb csbcpb;
100 /* Macros for fields within nx_csbcpb */
312 struct nx_csbcpb *csbcpb; in nx842_pseries_compress()
442 struct nx_csbcpb *csbcpb; in nx842_pseries_decompress()

Completed in 16 milliseconds