Home
last modified time | relevance | path

Searched refs:nx_crypto_ctx (Results 1 – 10 of 10) sorted by relevance

/drivers/crypto/nx/
Dnx-aes-ctr.c38 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in ctr_aes_nx_set_key()
70 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in ctr3686_aes_nx_set_key()
89 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr_aes_nx_crypt()
133 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ctr3686_aes_nx_crypt()
153 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-aes-gcm.c38 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key()
77 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key()
110 static int nx_gca(struct nx_crypto_ctx *nx_ctx, in nx_gca()
184 struct nx_crypto_ctx *nx_ctx = in gmac()
258 struct nx_crypto_ctx *nx_ctx = in gcm_empty()
323 struct nx_crypto_ctx *nx_ctx = in gcm_aes_nx_crypt()
453 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_encrypt()
470 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_decrypt()
496 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
514 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-aes-ccm.c39 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm_aes_nx_set_key()
69 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm4309_aes_nx_set_key()
170 struct nx_crypto_ctx *nx_ctx, in generate_pat()
345 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt()
423 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt()
494 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt()
524 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt()
564 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
584 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx.h127 struct nx_crypto_ctx { struct
164 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function); argument
165 int nx_hcall_sync(struct nx_crypto_ctx *ctx, struct vio_pfo_op *op,
168 int nx_build_sg_lists(struct nx_crypto_ctx *, struct blkcipher_desc *,
Dnx-aes-xcbc.c44 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key()
73 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_empty()
154 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2()
184 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_update()
310 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_final()
392 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-aes-ecb.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in ecb_aes_nx_set_key()
71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in ecb_aes_nx_crypt()
137 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-aes-cbc.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in cbc_aes_nx_set_key()
71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); in cbc_aes_nx_crypt()
136 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-sha256.c34 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha256_init()
72 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_update()
192 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_final()
294 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx-sha512.c33 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha512_init()
72 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_update()
195 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_final()
300 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
Dnx.c53 int nx_hcall_sync(struct nx_crypto_ctx *nx_ctx, in nx_hcall_sync()
271 int nx_build_sg_lists(struct nx_crypto_ctx *nx_ctx, in nx_build_sg_lists()
318 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function) in nx_ctx_init()
667 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
761 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_exit()
772 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit()