Searched refs:crypto_tfm_ctx (Results 1 - 133 of 133) sorted by relevance

/linux-4.1.27/include/crypto/internal/
H A Drng.h23 return crypto_tfm_ctx(&tfm->base); crypto_rng_ctx()
H A Dhash.h133 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); crypto_ahash_ctx()
202 return crypto_tfm_ctx(&tfm->base); crypto_shash_ctx()
/linux-4.1.27/arch/arm/crypto/
H A Daes_glue.c18 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); aes_encrypt()
24 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); aes_decrypt()
31 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); aes_set_key()
H A Daesbs-glue.c60 struct aesbs_cbc_ctx *ctx = crypto_tfm_ctx(tfm); aesbs_cbc_set_key()
76 struct aesbs_ctr_ctx *ctx = crypto_tfm_ctx(tfm); aesbs_ctr_set_key()
90 struct aesbs_xts_ctx *ctx = crypto_tfm_ctx(tfm); aesbs_xts_set_key()
H A Dghash-ce-glue.c249 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); ghash_async_init_tfm()
266 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); ghash_async_exit_tfm()
H A Daes-ce-glue.c133 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); ce_aes_setkey()
152 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_set_key()
/linux-4.1.27/drivers/crypto/vmx/
H A Daes.c42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_init()
67 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_exit()
79 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_setkey()
94 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_encrypt()
109 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_decrypt()
H A Dghash.c61 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); p8_ghash_init_tfm()
89 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); p8_ghash_exit_tfm()
99 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); p8_ghash_init()
112 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); p8_ghash_setkey()
130 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); p8_ghash_update()
177 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); p8_ghash_final()
H A Daes_cbc.c43 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_cbc_init()
68 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_cbc_exit()
80 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_cbc_setkey()
99 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx( p8_aes_cbc_encrypt()
135 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx( p8_aes_cbc_decrypt()
H A Daes_ctr.c41 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_ctr_init()
66 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_ctr_exit()
78 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); p8_aes_ctr_setkey()
116 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx( p8_aes_ctr_crypt()
/linux-4.1.27/crypto/
H A Dlz4.c33 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); lz4_init()
44 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); lz4_exit()
51 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); lz4_compress_crypto()
H A Dlz4hc.c32 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); lz4hc_init()
43 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); lz4hc_exit()
51 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); lz4hc_compress_crypto()
H A Dlzo.c32 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); lzo_init()
46 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); lzo_exit()
54 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); lzo_compress()
H A Dzlib.c74 struct zlib_ctx *ctx = crypto_tfm_ctx(tfm); zlib_exit()
84 struct zlib_ctx *ctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_compress_setup()
133 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_compress_init()
147 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_compress_update()
185 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_compress_final()
215 struct zlib_ctx *ctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_decompress_setup()
247 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_decompress_init()
261 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_decompress_update()
300 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); zlib_decompress_final()
H A Dtea.c50 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); tea_setkey()
66 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); tea_encrypt()
94 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); tea_decrypt()
123 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); xtea_setkey()
139 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); xtea_encrypt()
159 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); xtea_decrypt()
183 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); xeta_encrypt()
203 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); xeta_decrypt()
H A D842.c52 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); nx842_init()
65 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); nx842_exit()
80 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); nx842_crypto_compress()
122 struct nx842_ctx *ctx = crypto_tfm_ctx(tfm); nx842_crypto_decompress()
H A Ddeflate.c106 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_init()
121 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); deflate_exit()
131 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); deflate_compress()
161 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); deflate_decompress()
H A Darc4.c32 struct arc4_ctx *ctx = crypto_tfm_ctx(tfm); arc4_set_key()
92 arc4_crypt(crypto_tfm_ctx(tfm), out, in, 1); arc4_crypt_one()
H A Dcryptd.c233 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); cryptd_blkcipher_encrypt()
242 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); cryptd_blkcipher_decrypt()
278 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_blkcipher_init_tfm()
293 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_blkcipher_exit_tfm()
399 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_hash_init_tfm()
415 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_hash_exit_tfm()
452 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); cryptd_hash_init()
552 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); cryptd_hash_digest()
678 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(areq->tfm); cryptd_aead_encrypt()
688 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(areq->tfm); cryptd_aead_decrypt()
723 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_aead_init_tfm()
738 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(tfm); cryptd_aead_exit_tfm()
H A Decb.c28 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(parent); crypto_ecb_setkey()
101 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ecb_init_tfm()
114 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ecb_exit_tfm()
H A Dablk_helper.c116 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); ablk_exit()
124 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); ablk_init_common()
H A Dblowfish_generic.c43 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); bf_encrypt()
77 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); bf_decrypt()
H A Dctr.c41 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(parent); crypto_ctr_setkey()
162 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ctr_init_tfm()
176 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ctr_exit_tfm()
310 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc3686_init_tfm()
331 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc3686_exit_tfm()
H A Dcast6_generic.c159 return __cast6_setkey(crypto_tfm_ctx(tfm), key, keylen, cast6_setkey()
219 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); cast6_encrypt()
257 __cast6_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); cast6_decrypt()
H A Dcbc.c29 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(parent); crypto_cbc_setkey()
197 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_cbc_init_tfm()
210 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_cbc_exit_tfm()
H A Dchainiv.c116 struct chainiv_ctx *ctx = crypto_tfm_ctx(tfm); chainiv_init()
266 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); async_chainiv_init()
278 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); async_chainiv_exit()
H A Dlrw.c82 struct priv *ctx = crypto_tfm_ctx(parent); setkey()
301 struct priv *ctx = crypto_tfm_ctx(tfm); init_tfm()
320 struct priv *ctx = crypto_tfm_ctx(tfm); exit_tfm()
H A Dpcbc.c32 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(parent); crypto_pcbc_setkey()
207 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_pcbc_init_tfm()
220 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_pcbc_exit_tfm()
H A Dxts.c36 struct priv *ctx = crypto_tfm_ctx(parent); setkey()
246 struct priv *ctx = crypto_tfm_ctx(tfm); init_tfm()
282 struct priv *ctx = crypto_tfm_ctx(tfm); exit_tfm()
H A Dcts.c60 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(parent); crypto_cts_setkey()
257 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); crypto_cts_init_tfm()
270 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); crypto_cts_exit_tfm()
H A Dcrc32.c50 u32 *key = crypto_tfm_ctx(tfm); crc32_cra_init()
H A Dghash-generic.c136 struct ghash_ctx *ctx = crypto_tfm_ctx(tfm); ghash_exit_tfm()
H A Dmcryptd.c280 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); mcryptd_hash_init_tfm()
296 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); mcryptd_hash_exit_tfm()
337 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); mcryptd_hash_init()
445 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); mcryptd_hash_digest()
H A Dcmac.c208 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cmac_init_tfm()
221 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); cmac_exit_tfm()
H A Dtwofish_generic.c111 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); twofish_encrypt()
148 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); twofish_decrypt()
H A Dxcbc.c182 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); xcbc_init_tfm()
195 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); xcbc_exit_tfm()
H A Dgcm.c463 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(req->base.tfm); gcm_hash()
655 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(tfm); crypto_gcm_init_tfm()
691 struct crypto_gcm_ctx *ctx = crypto_tfm_ctx(tfm); crypto_gcm_exit_tfm()
937 struct crypto_rfc4106_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4106_init_tfm()
959 struct crypto_rfc4106_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4106_exit_tfm()
1239 struct crypto_rfc4543_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4543_init_tfm()
1273 struct crypto_rfc4543_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4543_exit_tfm()
H A Dseed.c334 struct seed_ctx *ctx = crypto_tfm_ctx(tfm); seed_set_key()
370 const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); seed_encrypt()
408 const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); seed_decrypt()
H A Dccm.c436 struct crypto_ccm_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ccm_init_tfm()
469 struct crypto_ccm_ctx *ctx = crypto_tfm_ctx(tfm); crypto_ccm_exit_tfm()
720 struct crypto_rfc4309_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4309_init_tfm()
742 struct crypto_rfc4309_ctx *ctx = crypto_tfm_ctx(tfm); crypto_rfc4309_exit_tfm()
H A Dcrc32c_generic.c130 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); crc32c_cra_init()
H A Dsalsa20_generic.c172 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); setkey()
H A Dshash.c327 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); crypto_exit_shash_ops_async()
337 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); crypto_init_shash_ops_async()
448 struct shash_desc **descp = crypto_tfm_ctx(tfm); crypto_exit_shash_ops_compat()
460 struct shash_desc **descp = crypto_tfm_ctx(tfm); crypto_init_shash_ops_compat()
H A Dansi_cprng.c329 struct prng_context *ctx = crypto_tfm_ctx(tfm); cprng_init()
353 free_prng_context(crypto_tfm_ctx(tfm)); cprng_exit()
H A Ddes_generic.c784 struct des_ctx *dctx = crypto_tfm_ctx(tfm); des_setkey()
805 struct des_ctx *ctx = crypto_tfm_ctx(tfm); des_encrypt()
828 struct des_ctx *ctx = crypto_tfm_ctx(tfm); des_decrypt()
885 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); des3_ede_setkey()
894 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); des3_ede_encrypt()
925 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); des3_ede_decrypt()
H A Danubis.c465 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); anubis_setkey()
664 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); anubis_encrypt()
670 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); anubis_decrypt()
H A Dcast5_generic.c365 __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); cast5_encrypt()
409 __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); cast5_decrypt()
489 struct cast5_ctx *c = crypto_tfm_ctx(tfm); cast5_setkey()
H A Dfcrypt.c238 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); fcrypt_encrypt()
270 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); fcrypt_decrypt()
305 struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); fcrypt_setkey()
H A Dkhazad.c759 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); khazad_setkey()
839 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); khazad_encrypt()
845 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); khazad_decrypt()
H A Dpcrypt.c278 struct pcrypt_aead_ctx *ctx = crypto_tfm_ctx(tfm); pcrypt_aead_init_tfm()
304 struct pcrypt_aead_ctx *ctx = crypto_tfm_ctx(tfm); pcrypt_aead_exit_tfm()
H A Dauthenc.c551 struct crypto_authenc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_authenc_init_tfm()
590 struct crypto_authenc_ctx *ctx = crypto_tfm_ctx(tfm); crypto_authenc_exit_tfm()
H A Dauthencesn.c643 struct crypto_authenc_esn_ctx *ctx = crypto_tfm_ctx(tfm); crypto_authenc_esn_init_tfm()
682 struct crypto_authenc_esn_ctx *ctx = crypto_tfm_ctx(tfm); crypto_authenc_esn_exit_tfm()
H A Dvmac.c627 struct vmac_ctx_t *ctx = crypto_tfm_ctx(tfm); vmac_init_tfm()
639 struct vmac_ctx_t *ctx = crypto_tfm_ctx(tfm); vmac_exit_tfm()
H A Dcamellia_generic.c984 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_set_key()
1012 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_encrypt()
1040 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); camellia_decrypt()
H A Dserpent_generic.c441 return __serpent_setkey(crypto_tfm_ctx(tfm), key, keylen); serpent_setkey()
505 struct serpent_ctx *ctx = crypto_tfm_ctx(tfm); serpent_encrypt()
565 struct serpent_ctx *ctx = crypto_tfm_ctx(tfm); serpent_decrypt()
H A Daes_generic.c1280 * retrieved with crypto_tfm_ctx().
1285 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); crypto_aes_set_key()
1331 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_encrypt()
1403 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_decrypt()
H A Dblowfish_common.c351 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); blowfish_setkey()
H A Dblkcipher.c489 addr = (unsigned long)crypto_tfm_ctx(tfm); crypto_init_blkcipher_ops_sync()
H A Ddrbg.c1716 struct drbg_state *drbg = crypto_tfm_ctx(tfm); drbg_kcapi_init()
1730 drbg_uninstantiate(crypto_tfm_ctx(tfm)); drbg_kcapi_cleanup()
H A Dtwofish_common.c705 return __twofish_setkey(crypto_tfm_ctx(tfm), key, key_len, twofish_setkey()
/linux-4.1.27/arch/x86/crypto/
H A Daes_glue.c27 aes_enc_blk(crypto_tfm_ctx(tfm), dst, src); aes_encrypt()
32 aes_dec_blk(crypto_tfm_ctx(tfm), dst, src); aes_decrypt()
H A Dfpu.c30 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(parent); crypto_fpu_setkey()
85 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); crypto_fpu_init_tfm()
98 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); crypto_fpu_exit_tfm()
H A Dtwofish_glue.c56 twofish_enc_blk(crypto_tfm_ctx(tfm), dst, src); twofish_encrypt()
61 twofish_dec_blk(crypto_tfm_ctx(tfm), dst, src); twofish_decrypt()
H A Ddes3_ede_glue.c78 des3_ede_enc_blk(crypto_tfm_ctx(tfm), dst, src); des3_ede_x86_encrypt()
83 des3_ede_dec_blk(crypto_tfm_ctx(tfm), dst, src); des3_ede_x86_decrypt()
362 struct des3_ede_x86_ctx *ctx = crypto_tfm_ctx(tfm); des3_ede_x86_setkey()
H A Dtwofish_glue_3way.c219 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_twofish_setkey()
267 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_twofish_exit_tfm()
276 struct twofish_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_twofish_setkey()
H A Dsalsa20_glue.c43 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); setkey()
H A Daesni-intel_glue.c289 crypto_tfm_ctx(crypto_aead_tfm(tfm)), AESNI_ALIGN); aesni_rfc4106_gcm_ctx_get()
330 return aes_set_key_common(tfm, crypto_tfm_ctx(tfm), in_key, key_len); aes_set_key()
335 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); aes_encrypt()
348 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); aes_decrypt()
361 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); __aes_encrypt()
368 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); __aes_decrypt()
571 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_aesni_setkey()
584 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_aesni_exit_tfm()
640 struct aesni_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_aesni_setkey()
797 PTR_ALIGN((u8 *)crypto_tfm_ctx(tfm), AESNI_ALIGN); rfc4106_init()
819 PTR_ALIGN((u8 *)crypto_tfm_ctx(tfm), AESNI_ALIGN); rfc4106_exit()
H A Dghash-clmulni-intel_glue.c263 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); ghash_async_init_tfm()
280 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); ghash_async_exit_tfm()
H A Dcast6_avx_glue.c251 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_cast6_setkey()
316 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_exit_tfm()
329 struct cast6_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_cast6_setkey()
H A Dserpent_avx_glue.c259 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_serpent_setkey()
326 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_serpent_exit_tfm()
335 struct serpent_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_serpent_setkey()
H A Dserpent_sse2_glue.c232 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_serpent_setkey()
298 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_exit_tfm()
311 struct serpent_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_serpent_setkey()
H A Dcrc32-pclmul_glue.c84 u32 *key = crypto_tfm_ctx(tfm); crc32_pclmul_cra_init()
H A Dblowfish_glue.c72 blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src); blowfish_encrypt()
77 blowfish_dec_blk(crypto_tfm_ctx(tfm), dst, src); blowfish_decrypt()
H A Dcamellia_glue.c56 camellia_enc_blk(crypto_tfm_ctx(tfm), dst, src); camellia_encrypt()
61 camellia_dec_blk(crypto_tfm_ctx(tfm), dst, src); camellia_decrypt()
1278 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, camellia_setkey()
1443 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_camellia_setkey()
1493 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); lrw_camellia_exit_tfm()
1502 struct camellia_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_camellia_setkey()
H A Dcrc32c-intel_glue.c177 u32 *key = crypto_tfm_ctx(tfm); crc32c_intel_cra_init()
H A Dcamellia_aesni_avx_glue.c205 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, camellia_setkey()
H A Dcamellia_aesni_avx2_glue.c201 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, camellia_setkey()
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c75 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); crypto4xx_encrypt()
89 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); crypto4xx_decrypt()
111 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); crypto4xx_setkey_aes()
187 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); crypto4xx_hash_alg_init()
239 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); crypto4xx_hash_init()
256 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); crypto4xx_hash_update()
275 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); crypto4xx_hash_digest()
H A Dcrypto4xx_core.c636 ctx = crypto_tfm_ctx(ablk_req->base.tfm); crypto4xx_ablkcipher_done()
660 ctx = crypto_tfm_ctx(ahash_req->base.tfm); crypto4xx_ahash_done()
663 crypto_tfm_ctx(ahash_req->base.tfm)); crypto4xx_ahash_done()
996 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); crypto4xx_alg_init()
1020 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); crypto4xx_alg_exit()
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto-aes.c28 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); ccp_aes_complete()
43 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); ccp_aes_setkey()
72 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); ccp_aes_crypt()
129 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_cra_init()
158 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); ccp_aes_rfc3686_setkey()
171 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); ccp_aes_rfc3686_crypt()
204 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_rfc3686_cra_init()
H A Dccp-crypto-aes-xts.c100 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); ccp_aes_xts_setkey()
122 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); ccp_aes_xts_crypt()
194 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_xts_cra_init()
218 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_xts_cra_exit()
H A Dccp-crypto-sha.c240 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); ccp_sha_setkey()
290 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_sha_cra_init()
307 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_hmac_sha_cra_init()
325 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_hmac_sha_cra_exit()
H A Dccp-crypto-aes-cmac.c244 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); ccp_aes_cmac_setkey()
322 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_cmac_cra_init()
345 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); ccp_aes_cmac_cra_exit()
H A Dccp-crypto-main.c141 struct ccp_ctx *ctx = crypto_tfm_ctx(req->tfm); ccp_crypto_complete()
185 ctx = crypto_tfm_ctx(held->req->tfm); ccp_crypto_complete()
/linux-4.1.27/arch/s390/crypto/
H A Daes_s390.c97 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); setkey_fallback_cip()
116 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); aes_set_key()
137 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); aes_encrypt()
162 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); aes_decrypt()
188 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); fallback_init_cip()
204 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); fallback_exit_cip()
235 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); setkey_fallback_blk()
288 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); ecb_aes_set_key()
369 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); fallback_init_blk()
385 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); fallback_exit_blk()
417 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); cbc_aes_set_key()
534 struct s390_xts_ctx *xts_ctx = crypto_tfm_ctx(tfm); xts_fallback_setkey()
587 struct s390_xts_ctx *xts_ctx = crypto_tfm_ctx(tfm); xts_aes_set_key()
693 struct s390_xts_ctx *xts_ctx = crypto_tfm_ctx(tfm); xts_fallback_init()
708 struct s390_xts_ctx *xts_ctx = crypto_tfm_ctx(tfm); xts_fallback_exit()
743 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); ctr_aes_set_key()
H A Ddes_s390.c38 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des_setkey()
54 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des_encrypt()
61 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des_decrypt()
242 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des3_setkey()
258 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des3_encrypt()
265 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); des3_decrypt()
/linux-4.1.27/arch/arm64/crypto/
H A Daes-ce-cipher.c41 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_cipher_encrypt()
86 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_cipher_decrypt()
225 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); ce_aes_setkey()
H A Dcrc32-arm64.c208 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); crc32_cra_init()
216 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); crc32c_cra_init()
H A Daes-glue.c85 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); xts_set_key()
/linux-4.1.27/drivers/crypto/
H A Dgeode-aes.c119 struct geode_aes_op *op = crypto_tfm_ctx(tfm); geode_setkey_cip()
152 struct geode_aes_op *op = crypto_tfm_ctx(tfm); geode_setkey_blk()
218 struct geode_aes_op *op = crypto_tfm_ctx(tfm); geode_encrypt()
239 struct geode_aes_op *op = crypto_tfm_ctx(tfm); geode_decrypt()
259 struct geode_aes_op *op = crypto_tfm_ctx(tfm); fallback_init_cip()
274 struct geode_aes_op *op = crypto_tfm_ctx(tfm); fallback_exit_cip()
369 struct geode_aes_op *op = crypto_tfm_ctx(tfm); fallback_init_blk()
384 struct geode_aes_op *op = crypto_tfm_ctx(tfm); fallback_exit_blk()
H A Dpicoxcell_crypto.c409 struct spacc_ablk_ctx *aead_ctx = crypto_tfm_ctx(req->req->tfm); spacc_aead_free_ddts()
449 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_des_setkey()
469 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_aes_setkey()
532 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); spacc_aead_setauthsize()
550 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_need_fallback()
570 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(old_tfm); spacc_aead_do_fallback()
598 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_submit()
773 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_cra_init()
804 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aead_cra_exit()
819 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_des_setkey()
847 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_aes_setkey()
894 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_kasumi_f8_setkey()
917 ctx = crypto_tfm_ctx(tfm); spacc_ablk_need_fallback()
945 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_ablk_submit()
981 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(old_tfm); spacc_ablk_do_fallback()
1079 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_ablk_cra_init()
1105 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); spacc_ablk_cra_exit()
H A Dmv_cesa.c198 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); mv_setkey_aes()
256 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); mv_process_current_q()
325 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); mv_process_hash_current()
403 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); mv_hash_final_fallback()
665 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); mv_dec_aes_ecb()
687 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); mv_dec_aes_cbc()
724 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); mv_hash_init()
756 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); mv_hash_digest()
777 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(&tfm->base); mv_hash_setkey()
842 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); mv_cra_hash_init()
888 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); mv_cra_hash_exit()
H A Dixp4xx_crypto.c386 ctx = crypto_tfm_ctx(crypt->data.tfm); one_packet()
394 ctx = crypto_tfm_ctx(crypt->data.tfm); one_packet()
556 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); init_tfm()
584 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); exit_tfm()
592 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); register_chain_var()
653 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); setup_auth()
695 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); gen_rev_aes_key()
727 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); setup_cipher()
H A Ds5p-sss.c503 dev->ctx = crypto_tfm_ctx(dev->req->base.tfm); s5p_tasklet_cb()
552 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); s5p_aes_setkey()
587 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); s5p_aes_cra_init()
H A Dmxs-dcp.c254 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_block_crypt()
399 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); mxs_dcp_aes_enqueue()
486 struct dcp_async_ctx *actx = crypto_tfm_ctx(tfm); mxs_dcp_aes_fallback_init()
500 struct dcp_async_ctx *actx = crypto_tfm_ctx(tfm); mxs_dcp_aes_fallback_exit()
H A Dpadlock-sha.c215 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); padlock_cra_init()
239 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); padlock_cra_exit()
H A Dn2_core.c718 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); n2_aes_setkey()
747 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); n2_des_setkey()
774 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); n2_3des_setkey()
792 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); n2_arc4_setkey()
829 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); __n2_crypt_chunk()
H A Domap-sham.c949 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); omap_sham_finish_hmac()
1070 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); omap_sham_enqueue()
1132 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); omap_sham_final_shash()
1236 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); omap_sham_cra_init_alg()
1305 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); omap_sham_cra_exit()
H A Dimg-hash.c648 struct img_hash_ctx *ctx = crypto_tfm_ctx(tfm); img_hash_cra_init()
671 struct img_hash_ctx *tctx = crypto_tfm_ctx(tfm); img_hash_cra_exit()
H A Dsahara.c765 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); sahara_aes_cra_init()
781 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); sahara_aes_cra_exit()
1249 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); sahara_sha_cra_init()
1266 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); sahara_sha_cra_exit()
H A Datmel-tdes.c404 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); atmel_tdes_crypt_pdc()
440 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); atmel_tdes_crypt_dma()
903 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); atmel_tdes_cra_init()
H A Dhifn_795x.c1577 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); hifn_setup_session()
2051 struct hifn_context *ctx = crypto_tfm_ctx(tfm); hifn_setkey()
2079 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); hifn_handle_req()
2100 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); hifn_setup_crypto_req()
2170 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); hifn_setup_crypto()
2476 struct hifn_context *ctx = crypto_tfm_ctx(tfm); hifn_cra_init()
H A Dpadlock-aes.c96 return aes_ctx_common(crypto_tfm_ctx(tfm)); aes_ctx()
H A Datmel-sha.c893 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); atmel_sha_enqueue()
926 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); atmel_sha_final()
H A Dtalitos.c1837 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); keyhash()
1880 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); ahash_setkey()
2383 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); talitos_cra_init()
2413 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); talitos_cra_init_aead()
2425 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); talitos_cra_init_ahash()
H A Dbfin_crc.c491 struct bfin_crypto_crc_ctx *crc_ctx = crypto_tfm_ctx(tfm); bfin_crypto_crc_cra_init()
H A Domap-aes.c420 struct omap_aes_ctx *ctx = crypto_tfm_ctx(tfm); omap_aes_crypt_dma()
H A Domap-des.c404 struct omap_des_ctx *ctx = crypto_tfm_ctx(tfm); omap_des_crypt_dma()
/linux-4.1.27/drivers/crypto/nx/
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()
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()
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()
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()
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()
H A Dnx.c639 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_ccm_init()
646 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_gcm_init()
652 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_ctr_init()
658 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_cbc_init()
664 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_ecb_init()
670 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_SHA, NX_MODE_SHA); nx_crypto_ctx_sha_init()
675 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, nx_crypto_ctx_aes_xcbc_init()
689 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); nx_crypto_ctx_exit()
H A Dnx-aes-xcbc.c73 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()
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()
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()
H A Dnx-aes-cbc.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); cbc_aes_nx_set_key()
H A Dnx-aes-ecb.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); ecb_aes_nx_set_key()
/linux-4.1.27/include/crypto/
H A Dalgapi.h211 return PTR_ALIGN(crypto_tfm_ctx(tfm), crypto_tfm_ctx_aligned()
234 return crypto_tfm_ctx(&tfm->base); crypto_ablkcipher_ctx()
249 return crypto_tfm_ctx(&tfm->base); crypto_aead_ctx()
269 return crypto_tfm_ctx(&tfm->base); crypto_blkcipher_ctx()
301 return crypto_tfm_ctx(&tfm->base); crypto_hash_ctx()
/linux-4.1.27/arch/sparc/crypto/
H A Ddes_glue.c46 struct des_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); des_set_key()
72 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); des_encrypt()
80 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); des_decrypt()
203 struct des3_ede_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); des3_ede_set_key()
242 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); des3_ede_encrypt()
250 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); des3_ede_decrypt()
H A Dcamellia_glue.c38 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); camellia_set_key()
59 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); camellia_encrypt()
68 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); camellia_decrypt()
H A Dcrc32c_glue.c113 u32 *key = crypto_tfm_ctx(tfm); crc32c_sparc64_cra_init()
H A Daes_glue.c169 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_set_key()
201 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_encrypt()
208 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); aes_decrypt()
/linux-4.1.27/drivers/crypto/qce/
H A Dablkcipher.c166 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); qce_ablkcipher_setkey()
207 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); qce_ablkcipher_crypt()
239 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); qce_ablkcipher_init()
256 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); qce_ablkcipher_exit()
H A Dsha.c81 struct qce_sha_ctx *ctx = crypto_tfm_ctx(async_req->tfm); qce_ahash_async_req_handle()
371 struct qce_sha_ctx *ctx = crypto_tfm_ctx(&tfm->base); qce_ahash_hmac_setkey()
443 struct qce_sha_ctx *ctx = crypto_tfm_ctx(tfm); qce_ahash_cra_init()
H A Dcommon.c320 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); qce_setup_regs_ablkcipher()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-crypto-adler.c47 u32 *key = crypto_tfm_ctx(tfm); adler32_cra_init()
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_algs.c841 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_dec()
886 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_enc_internal()
940 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_genivenc()
1015 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_ablkcipher_encrypt()
1053 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_ablkcipher_decrypt()
1091 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_init()
1121 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_aead_exit()
1147 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_ablkcipher_init()
1158 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); qat_alg_ablkcipher_exit()
/linux-4.1.27/arch/powerpc/crypto/
H A Daes-spe-glue.c95 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); ppc_aes_setkey()
127 struct ppc_xts_ctx *ctx = crypto_tfm_ctx(tfm); ppc_xts_setkey()
163 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); ppc_aes_encrypt()
172 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); ppc_aes_decrypt()
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c771 struct sha1_mb_ctx *ctx = crypto_tfm_ctx(tfm); sha1_mb_async_init_tfm()
791 struct sha1_mb_ctx *ctx = crypto_tfm_ctx(tfm); sha1_mb_async_exit_tfm()
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamhash.c1758 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); caam_hash_cra_init()
1794 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); caam_hash_cra_exit()
H A Dcaamalg.c4140 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); caam_cra_init()
4158 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); caam_cra_exit()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c1095 struct cryp_ctx *ctx = crypto_tfm_ctx(tfm); cryp_cra_init()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c1497 struct hash_ctx *ctx = crypto_tfm_ctx(tfm); hash_cra_init()
/linux-4.1.27/include/linux/
H A Dcrypto.h809 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) crypto_tfm_ctx() function

Completed in 2055 milliseconds