Searched refs:nx_crypto_ctx (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/crypto/nx/ |
D | nx-aes-ctr.c | 26 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_set_key() 58 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr3686_aes_nx_set_key() 75 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_crypt() 118 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr3686_aes_nx_crypt() 134 .base.cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-aes-gcm.c | 27 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key() 66 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key() 99 static int nx_gca(struct nx_crypto_ctx *nx_ctx, in nx_gca() 172 struct nx_crypto_ctx *nx_ctx = in gmac() 245 struct nx_crypto_ctx *nx_ctx = in gcm_empty() 310 struct nx_crypto_ctx *nx_ctx = in gcm_aes_nx_crypt() 438 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_encrypt() 455 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_decrypt() 476 .cra_ctxsize = sizeof(struct nx_crypto_ctx), 494 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx.h | 117 struct nx_crypto_ctx { struct 155 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function); argument 156 int nx_hcall_sync(struct nx_crypto_ctx *ctx, struct vio_pfo_op *op, 159 int nx_build_sg_lists(struct nx_crypto_ctx *nx_ctx, const u8 *iv,
|
D | nx-aes-ccm.c | 27 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm_aes_nx_set_key() 57 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm4309_aes_nx_set_key() 158 struct nx_crypto_ctx *nx_ctx, in generate_pat() 333 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt() 411 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt() 482 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt() 506 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt() 535 .cra_ctxsize = sizeof(struct nx_crypto_ctx), 555 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-aes-ecb.c | 25 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_set_key() 57 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_crypt() 116 .base.cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-aes-xcbc.c | 32 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key() 61 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_empty() 140 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2() 170 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_update() 295 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_final() 375 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-aes-cbc.c | 25 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_set_key() 57 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_crypt() 116 .base.cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-sha256.c | 27 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha256_init() 65 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_update() 184 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_final() 284 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx-sha512.c | 26 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha512_init() 65 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_update() 187 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_final() 290 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
|
D | nx.c | 40 int nx_hcall_sync(struct nx_crypto_ctx *nx_ctx, in nx_hcall_sync() 259 int nx_build_sg_lists(struct nx_crypto_ctx *nx_ctx, in nx_build_sg_lists() 306 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function) in nx_ctx_init() 654 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init() 748 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_exit() 764 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit()
|