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

/linux-4.1.27/drivers/crypto/nx/
H A Dnx-aes-ctr.c38 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); ctr_aes_nx_set_key()
70 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); ctr3686_aes_nx_set_key()
89 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); ctr_aes_nx_crypt()
133 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); ctr3686_aes_nx_crypt()
153 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
174 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-aes-cbc.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); cbc_aes_nx_set_key()
71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); cbc_aes_nx_crypt()
136 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-aes-ecb.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); ecb_aes_nx_set_key()
71 struct nx_crypto_ctx *nx_ctx = crypto_blkcipher_ctx(desc->tfm); ecb_aes_nx_crypt()
137 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx.h127 struct nx_crypto_ctx { struct
161 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function);
162 int nx_hcall_sync(struct nx_crypto_ctx *ctx, struct vio_pfo_op *op,
165 int nx_build_sg_lists(struct nx_crypto_ctx *, struct blkcipher_desc *,
H A Dnx-aes-gcm.c39 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); gcm_aes_nx_set_key()
78 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); gcm4106_aes_nx_set_key()
124 static int nx_gca(struct nx_crypto_ctx *nx_ctx, nx_gca()
196 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); gmac()
269 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); gcm_empty()
332 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); gcm_aes_nx_crypt()
458 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); gcm4106_aes_nx_encrypt()
471 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); gcm4106_aes_nx_decrypt()
493 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
514 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-aes-ccm.c39 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); ccm_aes_nx_set_key()
69 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); ccm4309_aes_nx_set_key()
174 struct nx_crypto_ctx *nx_ctx, generate_pat()
348 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); ccm_nx_decrypt()
425 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); ccm_nx_encrypt()
496 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); ccm4309_aes_nx_encrypt()
528 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); ccm4309_aes_nx_decrypt()
570 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
592 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-aes-xcbc.c44 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); nx_xcbc_set_key()
73 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_xcbc_empty()
154 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); nx_crypto_ctx_aes_xcbc_init2()
184 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_xcbc_update()
310 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_xcbc_final()
392 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-sha256.c34 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); nx_crypto_ctx_sha256_init()
72 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_sha256_update()
192 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_sha256_final()
294 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx-sha512.c33 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); nx_crypto_ctx_sha512_init()
72 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_sha512_update()
195 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); nx_sha512_final()
300 .cra_ctxsize = sizeof(struct nx_crypto_ctx),
H A Dnx.c53 int nx_hcall_sync(struct nx_crypto_ctx *nx_ctx, nx_hcall_sync()
271 int nx_build_sg_lists(struct nx_crypto_ctx *nx_ctx, nx_build_sg_lists()
318 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function) nx_ctx_init()
595 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) nx_crypto_ctx_init()
689 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); nx_crypto_ctx_exit()

Completed in 88 milliseconds