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()
169 struct nx_crypto_ctx *nx_ctx = in gmac() local
242 struct nx_crypto_ctx *nx_ctx = in gcm_empty() local
307 struct nx_crypto_ctx *nx_ctx = in gcm_aes_nx_crypt() local
433 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_encrypt() local
450 struct nx_crypto_ctx *nx_ctx = in gcm4106_aes_nx_decrypt() local
H A Dnx-aes-ctr.c28 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_set_key() local
60 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr3686_aes_nx_set_key() local
77 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ctr_aes_nx_crypt() local
120 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()
328 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_decrypt() local
405 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm_nx_encrypt() local
475 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_encrypt() local
499 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(req->base.tfm); in ccm4309_aes_nx_decrypt() local
H A Dnx-aes-xcbc.c31 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc); in nx_xcbc_set_key() local
60 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_empty() local
139 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_aes_xcbc_init2() local
168 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_update() local
247 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_xcbc_finup() local
H A Dnx.c40 int nx_hcall_sync(struct nx_crypto_ctx *nx_ctx, in nx_hcall_sync()
235 int nx_build_sg_lists(struct nx_crypto_ctx *nx_ctx, in nx_build_sg_lists()
282 void nx_ctx_init(struct nx_crypto_ctx *nx_ctx, unsigned int function) in nx_ctx_init()
630 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init()
724 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_exit() local
740 struct nx_crypto_ctx *nx_ctx = crypto_aead_ctx(tfm); in nx_crypto_ctx_aead_exit() local
H A Dnx-aes-ecb.c27 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_set_key() local
59 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in ecb_aes_nx_crypt() local
H A Dnx-aes-cbc.c27 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_set_key() local
59 struct nx_crypto_ctx *nx_ctx = crypto_skcipher_ctx(tfm); in cbc_aes_nx_crypt() local
H A Dnx-sha512.c29 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_sha512_init() local
66 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha512_update() local
148 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha512_finup() local
H A Dnx-sha256.c29 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(tfm); in nx_crypto_ctx_sha256_init() local
65 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha256_update() local
144 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc->tfm); in nx_sha256_finup() local