Home
last modified time | relevance | path

Searched defs:nx_ctx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/crypto/nx/
H A Dnx-aes-gcm.c27 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm_aes_nx_set_key() local
66 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in gcm4106_aes_nx_set_key() local
99 static int nx_gca(struct nx_crypto_ctx *nx_ctx, in nx_gca()
172 struct nx_crypto_ctx *nx_ctx = in gmac() local
245 struct nx_crypto_ctx *nx_ctx = in gcm_empty() local
310 struct nx_crypto_ctx *nx_ctx = in gcm_aes_nx_crypt() local
438 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_encrypt() local
455 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_decrypt() local
H A Dnx-aes-ctr.c26 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_set_key() local
58 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr3686_aes_nx_set_key() local
75 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_crypt() local
118 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr3686_aes_nx_crypt() local
H A Dnx-aes-ccm.c27 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm_aes_nx_set_key() local
57 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&tfm->base); in ccm4309_aes_nx_set_key() local
155 struct nx_crypto_ctx *nx_ctx, in generate_pat()
330 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt() local
408 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt() local
479 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt() local
503 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt() local
H A Dnx-aes-xcbc.c32 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key() local
61 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_empty() local
140 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2() local
170 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_update() local
295 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_xcbc_final() local
H A Dnx.c40 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() local
764 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit() local
H A Dnx-sha256.c27 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha256_init() local
65 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_update() local
184 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha256_final() local
H A Dnx-sha512.c26 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_sha512_init() local
65 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_update() local
187 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base); in nx_sha512_final() local
H A Dnx-aes-ecb.c25 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_set_key() local
57 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_crypt() local
H A Dnx-aes-cbc.c25 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_set_key() local
57 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_crypt() local