Home
last modified time | relevance | path

Searched refs:crypto_tfm_ctx (Results 1 – 138 of 138) sorted by relevance

/linux-4.4.14/drivers/crypto/vmx/
Daes.c42 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_init()
70 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_exit()
82 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_setkey()
99 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_encrypt()
116 struct p8_aes_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_decrypt()
Dghash.c61 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_init_tfm()
91 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(tfm); in p8_ghash_exit_tfm()
101 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_init()
114 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(tfm)); in p8_ghash_setkey()
134 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_update()
187 struct p8_ghash_ctx *ctx = crypto_tfm_ctx(crypto_shash_tfm(desc->tfm)); in p8_ghash_final()
Daes_cbc.c43 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_init()
71 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_exit()
83 struct p8_aes_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_cbc_setkey()
105 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_cbc_encrypt()
146 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_cbc_decrypt()
Daes_ctr.c41 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_init()
69 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_exit()
81 struct p8_aes_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in p8_aes_ctr_setkey()
121 crypto_tfm_ctx(crypto_blkcipher_tfm(desc->tfm)); in p8_aes_ctr_crypt()
/linux-4.4.14/crypto/
Dzlib.c74 struct zlib_ctx *ctx = crypto_tfm_ctx(tfm); in zlib_exit()
84 struct zlib_ctx *ctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_compress_setup()
133 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_compress_init()
147 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_compress_update()
185 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_compress_final()
215 struct zlib_ctx *ctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_decompress_setup()
247 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_decompress_init()
261 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_decompress_update()
300 struct zlib_ctx *dctx = crypto_tfm_ctx(crypto_pcomp_tfm(tfm)); in zlib_decompress_final()
Dtea.c50 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_setkey()
66 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_encrypt()
94 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in tea_decrypt()
123 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_setkey()
139 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_encrypt()
159 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xtea_decrypt()
183 struct xtea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_encrypt()
203 struct tea_ctx *ctx = crypto_tfm_ctx(tfm); in xeta_decrypt()
Dlzo.c32 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_init()
46 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_exit()
54 struct lzo_ctx *ctx = crypto_tfm_ctx(tfm); in lzo_compress()
Dlz4hc.c32 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_init()
43 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_exit()
51 struct lz4hc_ctx *ctx = crypto_tfm_ctx(tfm); in lz4hc_compress_crypto()
Dlz4.c33 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_init()
44 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_exit()
51 struct lz4_ctx *ctx = crypto_tfm_ctx(tfm); in lz4_compress_crypto()
Ddeflate.c106 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_init()
121 struct deflate_ctx *ctx = crypto_tfm_ctx(tfm); in deflate_exit()
131 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_compress()
161 struct deflate_ctx *dctx = crypto_tfm_ctx(tfm); in deflate_decompress()
Dskcipher.c89 struct crypto_blkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_blkcipher()
98 struct crypto_blkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_blkcipher()
181 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_ablkcipher()
190 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_ablkcipher()
Dkhazad.c759 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_setkey()
839 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_encrypt()
845 struct khazad_ctx *ctx = crypto_tfm_ctx(tfm); in khazad_decrypt()
Decb.c28 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(parent); in crypto_ecb_setkey()
101 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_init_tfm()
114 struct crypto_ecb_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ecb_exit_tfm()
Djitterentropy-kcapi.c123 struct jitterentropy *rng = crypto_tfm_ctx(tfm); in jent_kcapi_init()
136 struct jitterentropy *rng = crypto_tfm_ctx(tfm); in jent_kcapi_cleanup()
Dablk_helper.c116 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); in ablk_exit()
124 struct async_helper_ctx *ctx = crypto_tfm_ctx(tfm); in ablk_init_common()
Dcryptd.c232 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_encrypt()
241 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(req->tfm); in cryptd_blkcipher_decrypt()
277 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_init_tfm()
292 struct cryptd_blkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_blkcipher_exit_tfm()
408 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_init_tfm()
424 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in cryptd_hash_exit_tfm()
461 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in cryptd_hash_init()
561 struct cryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in cryptd_hash_digest()
707 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(areq->tfm); in cryptd_aead_encrypt()
717 struct cryptd_aead_ctx *ctx = crypto_tfm_ctx(areq->tfm); in cryptd_aead_decrypt()
Dctr.c41 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(parent); in crypto_ctr_setkey()
162 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ctr_init_tfm()
176 struct crypto_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_ctr_exit_tfm()
310 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_rfc3686_init_tfm()
331 struct crypto_rfc3686_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_rfc3686_exit_tfm()
Darc4.c32 struct arc4_ctx *ctx = crypto_tfm_ctx(tfm); in arc4_set_key()
92 arc4_crypt(crypto_tfm_ctx(tfm), out, in, 1); in arc4_crypt_one()
Dseed.c334 struct seed_ctx *ctx = crypto_tfm_ctx(tfm); in seed_set_key()
370 const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); in seed_encrypt()
408 const struct seed_ctx *ctx = crypto_tfm_ctx(tfm); in seed_decrypt()
Danubis.c465 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_setkey()
664 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_encrypt()
670 struct anubis_ctx *ctx = crypto_tfm_ctx(tfm); in anubis_decrypt()
Dblowfish_generic.c43 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); in bf_encrypt()
77 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); in bf_decrypt()
Dchainiv.c102 struct chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in chainiv_init()
233 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_init()
253 struct async_chainiv_ctx *ctx = crypto_tfm_ctx(tfm); in async_chainiv_exit()
Dkeywrap.c308 struct crypto_kw_ctx *ctx = crypto_tfm_ctx(parent); in crypto_kw_setkey()
325 struct crypto_kw_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_kw_init_tfm()
338 struct crypto_kw_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_kw_exit_tfm()
Dtwofish_generic.c111 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); in twofish_encrypt()
148 struct twofish_ctx *ctx = crypto_tfm_ctx(tfm); in twofish_decrypt()
Dpcbc.c32 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(parent); in crypto_pcbc_setkey()
207 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_pcbc_init_tfm()
220 struct crypto_pcbc_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_pcbc_exit_tfm()
Dcbc.c29 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(parent); in crypto_cbc_setkey()
197 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cbc_init_tfm()
210 struct crypto_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cbc_exit_tfm()
Dxts.c36 struct priv *ctx = crypto_tfm_ctx(parent); in setkey()
246 struct priv *ctx = crypto_tfm_ctx(tfm); in init_tfm()
282 struct priv *ctx = crypto_tfm_ctx(tfm); in exit_tfm()
Dcts.c60 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(parent); in crypto_cts_setkey()
257 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_init_tfm()
270 struct crypto_cts_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_cts_exit_tfm()
D842.c43 struct crypto842_ctx *ctx = crypto_tfm_ctx(tfm); in crypto842_compress()
Dcast6_generic.c159 return __cast6_setkey(crypto_tfm_ctx(tfm), key, keylen, in cast6_setkey()
219 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt()
257 __cast6_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_decrypt()
Dlrw.c82 struct priv *ctx = crypto_tfm_ctx(parent); in setkey()
301 struct priv *ctx = crypto_tfm_ctx(tfm); in init_tfm()
320 struct priv *ctx = crypto_tfm_ctx(tfm); in exit_tfm()
Ddes_generic.c784 struct des_ctx *dctx = crypto_tfm_ctx(tfm); in des_setkey()
805 struct des_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt()
828 struct des_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt()
885 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_setkey()
894 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_encrypt()
925 struct des3_ede_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_decrypt()
Dxcbc.c182 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_init_tfm()
195 struct xcbc_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in xcbc_exit_tfm()
Dcmac.c208 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cmac_init_tfm()
221 struct cmac_tfm_ctx *ctx = crypto_tfm_ctx(tfm); in cmac_exit_tfm()
Dshash.c327 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_async()
337 struct crypto_shash **ctx = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_async()
448 struct shash_desc **descp = crypto_tfm_ctx(tfm); in crypto_exit_shash_ops_compat()
460 struct shash_desc **descp = crypto_tfm_ctx(tfm); in crypto_init_shash_ops_compat()
Dmcryptd.c280 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mcryptd_hash_init_tfm()
296 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mcryptd_hash_exit_tfm()
337 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in mcryptd_hash_init()
445 struct mcryptd_hash_ctx *ctx = crypto_tfm_ctx(req_async->tfm); in mcryptd_hash_digest()
Daes_generic.c1285 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_aes_set_key()
1331 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
1403 const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()
Dcrc32.c50 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init()
Dansi_cprng.c327 struct prng_context *ctx = crypto_tfm_ctx(tfm); in cprng_init()
351 free_prng_context(crypto_tfm_ctx(tfm)); in cprng_exit()
Dcrc32c_generic.c130 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); in crc32c_cra_init()
Dcast5_generic.c365 __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_encrypt()
409 __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_decrypt()
489 struct cast5_ctx *c = crypto_tfm_ctx(tfm); in cast5_setkey()
Dblowfish_common.c351 struct bf_ctx *ctx = crypto_tfm_ctx(tfm); in blowfish_setkey()
Dghash-generic.c136 struct ghash_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_exit_tfm()
Dfcrypt.c238 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); in fcrypt_encrypt()
270 const struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); in fcrypt_decrypt()
305 struct fcrypt_ctx *ctx = crypto_tfm_ctx(tfm); in fcrypt_setkey()
Dsalsa20_generic.c172 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey()
Dchacha20_generic.c130 struct chacha20_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_chacha20_setkey()
Dcamellia_generic.c984 struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_set_key()
1012 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_encrypt()
1040 const struct camellia_ctx *cctx = crypto_tfm_ctx(tfm); in camellia_decrypt()
Dtwofish_common.c705 return __twofish_setkey(crypto_tfm_ctx(tfm), key, key_len, in twofish_setkey()
Dvmac.c627 struct vmac_ctx_t *ctx = crypto_tfm_ctx(tfm); in vmac_init_tfm()
639 struct vmac_ctx_t *ctx = crypto_tfm_ctx(tfm); in vmac_exit_tfm()
Dserpent_generic.c441 return __serpent_setkey(crypto_tfm_ctx(tfm), key, keylen); in serpent_setkey()
505 struct serpent_ctx *ctx = crypto_tfm_ctx(tfm); in serpent_encrypt()
565 struct serpent_ctx *ctx = crypto_tfm_ctx(tfm); in serpent_decrypt()
Ddrbg.c1769 struct drbg_state *drbg = crypto_tfm_ctx(tfm); in drbg_kcapi_init()
1778 drbg_uninstantiate(crypto_tfm_ctx(tfm)); in drbg_kcapi_cleanup()
Dblkcipher.c490 addr = (unsigned long)crypto_tfm_ctx(tfm); in crypto_init_blkcipher_ops_sync()
/linux-4.4.14/drivers/crypto/amcc/
Dcrypto4xx_alg.c75 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_encrypt()
89 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_decrypt()
111 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_setkey_aes()
187 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_hash_alg_init()
239 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_init()
256 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_update()
275 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in crypto4xx_hash_digest()
Dcrypto4xx_core.c636 ctx = crypto_tfm_ctx(ablk_req->base.tfm); in crypto4xx_ablkcipher_done()
660 ctx = crypto_tfm_ctx(ahash_req->base.tfm); in crypto4xx_ahash_done()
663 crypto_tfm_ctx(ahash_req->base.tfm)); in crypto4xx_ahash_done()
976 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_alg_init()
1000 struct crypto4xx_ctx *ctx = crypto_tfm_ctx(tfm); in crypto4xx_alg_exit()
/linux-4.4.14/arch/arm/crypto/
Daes_glue.c18 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
24 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()
31 struct AES_CTX *ctx = crypto_tfm_ctx(tfm); in aes_set_key()
Dghash-ce-glue.c249 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm()
266 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_exit_tfm()
Daesbs-glue.c60 struct aesbs_cbc_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_cbc_set_key()
76 struct aesbs_ctr_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_ctr_set_key()
90 struct aesbs_xts_ctx *ctx = crypto_tfm_ctx(tfm); in aesbs_xts_set_key()
Daes-ce-glue.c133 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey()
152 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_set_key()
/linux-4.4.14/drivers/crypto/ccp/
Dccp-crypto-aes.c28 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_complete()
43 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_setkey()
72 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_crypt()
129 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cra_init()
158 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_rfc3686_setkey()
171 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_rfc3686_crypt()
204 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_rfc3686_cra_init()
Dccp-crypto-aes-xts.c100 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ablkcipher_tfm(tfm)); in ccp_aes_xts_setkey()
122 struct ccp_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in ccp_aes_xts_crypt()
194 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_init()
218 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_xts_cra_exit()
Dccp-crypto-sha.c253 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_sha_setkey()
303 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_sha_cra_init()
320 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_init()
338 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_hmac_sha_cra_exit()
Dccp-crypto-main.c141 struct ccp_ctx *ctx = crypto_tfm_ctx(req->tfm); in ccp_crypto_complete()
185 ctx = crypto_tfm_ctx(held->req->tfm); in ccp_crypto_complete()
Dccp-crypto-aes-cmac.c262 struct ccp_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ccp_aes_cmac_setkey()
340 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cmac_cra_init()
363 struct ccp_ctx *ctx = crypto_tfm_ctx(tfm); in ccp_aes_cmac_cra_exit()
/linux-4.4.14/arch/s390/crypto/
Daes_s390.c98 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_cip()
117 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_set_key()
138 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_encrypt()
163 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in aes_decrypt()
189 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_cip()
205 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_cip()
236 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in setkey_fallback_blk()
289 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in ecb_aes_set_key()
370 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_init_blk()
386 struct s390_aes_ctx *sctx = crypto_tfm_ctx(tfm); in fallback_exit_blk()
[all …]
Ddes_s390.c39 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_setkey()
55 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt()
62 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt()
243 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_setkey()
259 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_encrypt()
266 struct s390_des_ctx *ctx = crypto_tfm_ctx(tfm); in des3_decrypt()
/linux-4.4.14/arch/x86/crypto/
Dtwofish_glue.c56 twofish_enc_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_encrypt()
61 twofish_dec_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_decrypt()
Daes_glue.c27 aes_enc_blk(crypto_tfm_ctx(tfm), dst, src); in aes_encrypt()
32 aes_dec_blk(crypto_tfm_ctx(tfm), dst, src); in aes_decrypt()
Dfpu.c30 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(parent); in crypto_fpu_setkey()
85 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_fpu_init_tfm()
98 struct crypto_fpu_ctx *ctx = crypto_tfm_ctx(tfm); in crypto_fpu_exit_tfm()
Dtwofish_glue_3way.c219 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_twofish_setkey()
267 struct twofish_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_twofish_exit_tfm()
276 struct twofish_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_twofish_setkey()
Dcamellia_glue.c56 camellia_enc_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_encrypt()
61 camellia_dec_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_decrypt()
1278 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, in camellia_setkey()
1443 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_camellia_setkey()
1493 struct camellia_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_camellia_exit_tfm()
1502 struct camellia_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_camellia_setkey()
Ddes3_ede_glue.c78 des3_ede_enc_blk(crypto_tfm_ctx(tfm), dst, src); in des3_ede_x86_encrypt()
83 des3_ede_dec_blk(crypto_tfm_ctx(tfm), dst, src); in des3_ede_x86_decrypt()
362 struct des3_ede_x86_ctx *ctx = crypto_tfm_ctx(tfm); in des3_ede_x86_setkey()
Daesni-intel_glue.c331 return aes_set_key_common(tfm, crypto_tfm_ctx(tfm), in_key, key_len); in aes_set_key()
336 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_encrypt()
349 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in aes_decrypt()
362 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_encrypt()
369 struct crypto_aes_ctx *ctx = aes_ctx(crypto_tfm_ctx(tfm)); in __aes_decrypt()
572 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_aesni_setkey()
585 struct aesni_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_aesni_exit_tfm()
641 struct aesni_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_aesni_setkey()
Dsalsa20_glue.c43 struct salsa20_ctx *ctx = crypto_tfm_ctx(tfm); in setkey()
Dghash-clmulni-intel_glue.c263 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_init_tfm()
280 struct ghash_async_ctx *ctx = crypto_tfm_ctx(tfm); in ghash_async_exit_tfm()
Dserpent_sse2_glue.c232 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey()
298 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm()
311 struct serpent_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_serpent_setkey()
Dcast6_avx_glue.c250 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_cast6_setkey()
315 struct cast6_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_exit_tfm()
328 struct cast6_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_cast6_setkey()
Dserpent_avx_glue.c258 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_setkey()
325 struct serpent_lrw_ctx *ctx = crypto_tfm_ctx(tfm); in lrw_serpent_exit_tfm()
334 struct serpent_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_serpent_setkey()
Dcrc32-pclmul_glue.c84 u32 *key = crypto_tfm_ctx(tfm); in crc32_pclmul_cra_init()
Dblowfish_glue.c72 blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, src); in blowfish_encrypt()
77 blowfish_dec_blk(crypto_tfm_ctx(tfm), dst, src); in blowfish_decrypt()
Dcrc32c-intel_glue.c176 u32 *key = crypto_tfm_ctx(tfm); in crc32c_intel_cra_init()
Dcamellia_aesni_avx_glue.c204 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, in camellia_setkey()
Dcamellia_aesni_avx2_glue.c200 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len, in camellia_setkey()
/linux-4.4.14/drivers/crypto/
Dgeode-aes.c119 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_setkey_cip()
152 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_setkey_blk()
218 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_encrypt()
239 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in geode_decrypt()
259 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_init_cip()
274 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_exit_cip()
369 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_init_blk()
384 struct geode_aes_op *op = crypto_tfm_ctx(tfm); in fallback_exit_blk()
Dmv_cesa.c203 struct mv_ctx *ctx = crypto_tfm_ctx(tfm); in mv_setkey_aes()
261 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_current_q()
330 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); in mv_process_hash_current()
408 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); in mv_hash_final_fallback()
670 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_ecb()
692 struct mv_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_dec_aes_cbc()
729 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); in mv_hash_init()
761 const struct mv_tfm_hash_ctx *tfm_ctx = crypto_tfm_ctx(req->base.tfm); in mv_hash_digest()
782 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(&tfm->base); in mv_hash_setkey()
847 struct mv_tfm_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cra_hash_init()
[all …]
Dpicoxcell_crypto.c491 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(crypto_aead_tfm(tfm)); in spacc_aead_setauthsize()
525 struct spacc_aead_ctx *ctx = crypto_tfm_ctx(old_tfm); in spacc_aead_do_fallback()
730 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_des_setkey()
758 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_aes_setkey()
805 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_kasumi_f8_setkey()
828 ctx = crypto_tfm_ctx(tfm); in spacc_ablk_need_fallback()
856 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_ablk_submit()
892 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(old_tfm); in spacc_ablk_do_fallback()
990 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_ablk_cra_init()
1016 struct spacc_ablk_ctx *ctx = crypto_tfm_ctx(tfm); in spacc_ablk_cra_exit()
Dixp4xx_crypto.c397 ctx = crypto_tfm_ctx(crypt->data.tfm); in one_packet()
405 ctx = crypto_tfm_ctx(crypt->data.tfm); in one_packet()
567 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in init_tfm()
595 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in exit_tfm()
608 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in register_chain_var()
669 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in setup_auth()
711 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in gen_rev_aes_key()
743 struct ixp_ctx *ctx = crypto_tfm_ctx(tfm); in setup_cipher()
Ds5p-sss.c485 dev->ctx = crypto_tfm_ctx(dev->req->base.tfm); in s5p_tasklet_cb()
534 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); in s5p_aes_setkey()
569 struct s5p_aes_ctx *ctx = crypto_tfm_ctx(tfm); in s5p_aes_cra_init()
Dmxs-dcp.c254 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_block_crypt()
399 struct dcp_async_ctx *actx = crypto_tfm_ctx(arq->tfm); in mxs_dcp_aes_enqueue()
486 struct dcp_async_ctx *actx = crypto_tfm_ctx(tfm); in mxs_dcp_aes_fallback_init()
500 struct dcp_async_ctx *actx = crypto_tfm_ctx(tfm); in mxs_dcp_aes_fallback_exit()
Dpadlock-sha.c215 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); in padlock_cra_init()
239 struct padlock_sha_ctx *ctx = crypto_tfm_ctx(tfm); in padlock_cra_exit()
Dsahara.c739 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_aes_cra_init()
755 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_aes_cra_exit()
1185 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_sha_cra_init()
1202 struct sahara_ctx *ctx = crypto_tfm_ctx(tfm); in sahara_sha_cra_exit()
Domap-sham.c955 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_finish_hmac()
1076 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_enqueue()
1138 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_final_shash()
1242 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_init_alg()
1311 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_exit()
Dhifn_795x.c1575 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_session()
2049 struct hifn_context *ctx = crypto_tfm_ctx(tfm); in hifn_setkey()
2077 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_handle_req()
2098 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_crypto_req()
2168 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm); in hifn_setup_crypto()
2474 struct hifn_context *ctx = crypto_tfm_ctx(tfm); in hifn_cra_init()
Dn2_core.c718 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); in n2_aes_setkey()
747 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); in n2_des_setkey()
774 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); in n2_3des_setkey()
792 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); in n2_arc4_setkey()
829 struct n2_cipher_context *ctx = crypto_tfm_ctx(tfm); in __n2_crypt_chunk()
Datmel-tdes.c404 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); in atmel_tdes_crypt_pdc()
440 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); in atmel_tdes_crypt_dma()
903 struct atmel_tdes_ctx *ctx = crypto_tfm_ctx(tfm); in atmel_tdes_cra_init()
Dimg-hash.c648 struct img_hash_ctx *ctx = crypto_tfm_ctx(tfm); in img_hash_cra_init()
671 struct img_hash_ctx *tctx = crypto_tfm_ctx(tfm); in img_hash_cra_exit()
Dpadlock-aes.c96 return aes_ctx_common(crypto_tfm_ctx(tfm)); in aes_ctx()
Datmel-sha.c893 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in atmel_sha_enqueue()
926 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in atmel_sha_final()
Dtalitos.c2026 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in keyhash()
2069 struct talitos_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in ahash_setkey()
2624 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); in talitos_cra_init()
2651 struct talitos_ctx *ctx = crypto_tfm_ctx(tfm); in talitos_cra_init_ahash()
Dbfin_crc.c471 struct bfin_crypto_crc_ctx *crc_ctx = crypto_tfm_ctx(tfm); in bfin_crypto_crc_cra_init()
Domap-des.c404 struct omap_des_ctx *ctx = crypto_tfm_ctx(tfm); in omap_des_crypt_dma()
Domap-aes.c417 struct omap_aes_ctx *ctx = crypto_tfm_ctx(tfm); in omap_aes_crypt_dma()
/linux-4.4.14/arch/arm64/crypto/
Daes-ce-cipher.c41 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_encrypt()
86 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_cipher_decrypt()
225 struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ce_aes_setkey()
Dcrc32-arm64.c208 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); in crc32_cra_init()
216 struct chksum_ctx *mctx = crypto_tfm_ctx(tfm); in crc32c_cra_init()
Daes-glue.c85 struct crypto_aes_xts_ctx *ctx = crypto_tfm_ctx(tfm); in xts_set_key()
/linux-4.4.14/drivers/crypto/nx/
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()
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()
Dnx-aes-xcbc.c73 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()
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()
Dnx.c724 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ctr_init()
730 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_cbc_init()
736 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_ecb_init()
742 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_SHA, NX_MODE_SHA); in nx_crypto_ctx_sha_init()
747 return nx_crypto_ctx_init(crypto_tfm_ctx(tfm), NX_FC_AES, in nx_crypto_ctx_aes_xcbc_init()
761 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in nx_crypto_ctx_exit()
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()
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()
Dnx-842.c115 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_init()
135 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_exit()
262 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_compress()
446 struct nx842_crypto_ctx *ctx = crypto_tfm_ctx(tfm); in nx842_crypto_decompress()
Dnx-aes-ecb.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in ecb_aes_nx_set_key()
Dnx-aes-cbc.c37 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(tfm); in cbc_aes_nx_set_key()
/linux-4.4.14/arch/sparc/crypto/
Ddes_glue.c46 struct des_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); in des_set_key()
72 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des_encrypt()
80 struct des_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des_decrypt()
203 struct des3_ede_sparc64_ctx *dctx = crypto_tfm_ctx(tfm); in des3_ede_set_key()
242 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des3_ede_encrypt()
250 struct des3_ede_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in des3_ede_decrypt()
Dcamellia_glue.c38 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_set_key()
59 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_encrypt()
68 struct camellia_sparc64_ctx *ctx = crypto_tfm_ctx(tfm); in camellia_decrypt()
Daes_glue.c169 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_set_key()
201 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_encrypt()
208 struct crypto_sparc64_aes_ctx *ctx = crypto_tfm_ctx(tfm); in aes_decrypt()
Dcrc32c_glue.c113 u32 *key = crypto_tfm_ctx(tfm); in crc32c_sparc64_cra_init()
/linux-4.4.14/include/crypto/
Dalgapi.h214 return PTR_ALIGN(crypto_tfm_ctx(tfm), in crypto_tfm_ctx_aligned()
237 return crypto_tfm_ctx(&tfm->base); in crypto_ablkcipher_ctx()
256 return crypto_tfm_ctx(&tfm->base); in crypto_blkcipher_ctx()
288 return crypto_tfm_ctx(&tfm->base); in crypto_hash_ctx()
/linux-4.4.14/drivers/crypto/marvell/
Dcipher.c218 struct mv_cesa_aes_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_ablkcipher_cra_init()
231 struct mv_cesa_aes_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_aes_setkey()
256 struct mv_cesa_des_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_des_setkey()
280 struct mv_cesa_des_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_des3_ede_setkey()
421 struct mv_cesa_des_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_des_op()
541 struct mv_cesa_des3_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_des3_op()
667 struct mv_cesa_aes_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_aes_op()
Dhash.c436 struct mv_cesa_hash_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_ahash_cra_init()
1203 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(tfm); in mv_cesa_ahmac_cra_init()
1214 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_ahmac_md5_init()
1228 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_md5_setkey()
1284 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_ahmac_sha1_init()
1298 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha1_setkey()
1355 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in mv_cesa_ahmac_sha256_setkey()
1374 struct mv_cesa_hmac_ctx *ctx = crypto_tfm_ctx(req->base.tfm); in mv_cesa_ahmac_sha256_init()
Dcesa.c57 ctx = crypto_tfm_ctx(req->tfm); in mv_cesa_dequeue_req_unlocked()
91 ctx = crypto_tfm_ctx(req->tfm); in mv_cesa_int()
/linux-4.4.14/drivers/crypto/qce/
Dablkcipher.c156 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ablkcipher_setkey()
197 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ablkcipher_crypt()
229 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ablkcipher_init()
246 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ablkcipher_exit()
Dsha.c80 struct qce_sha_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_ahash_async_req_handle()
367 struct qce_sha_ctx *ctx = crypto_tfm_ctx(&tfm->base); in qce_ahash_hmac_setkey()
439 struct qce_sha_ctx *ctx = crypto_tfm_ctx(tfm); in qce_ahash_cra_init()
Dcommon.c320 struct qce_cipher_ctx *ctx = crypto_tfm_ctx(async_req->tfm); in qce_setup_regs_ablkcipher()
/linux-4.4.14/include/crypto/internal/
Drng.h36 return crypto_tfm_ctx(&tfm->base); in crypto_rng_ctx()
Dhash.h133 return crypto_tfm_ctx(crypto_ahash_tfm(tfm)); in crypto_ahash_ctx()
202 return crypto_tfm_ctx(&tfm->base); in crypto_shash_ctx()
Dskcipher.h112 return crypto_tfm_ctx(&tfm->base); in crypto_skcipher_ctx()
Daead.h44 return crypto_tfm_ctx(&tfm->base); in crypto_aead_ctx()
/linux-4.4.14/arch/powerpc/crypto/
Daes-spe-glue.c95 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_setkey()
127 struct ppc_xts_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_xts_setkey()
163 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_encrypt()
172 struct ppc_aes_ctx *ctx = crypto_tfm_ctx(tfm); in ppc_aes_decrypt()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto-adler.c47 u32 *key = crypto_tfm_ctx(tfm); in adler32_cra_init()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c818 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_aead_dec()
860 struct qat_alg_aead_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_aead_enc()
987 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_ablkcipher_encrypt()
1024 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_ablkcipher_decrypt()
1114 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_ablkcipher_init()
1125 struct qat_alg_ablkcipher_ctx *ctx = crypto_tfm_ctx(tfm); in qat_alg_ablkcipher_exit()
/linux-4.4.14/arch/x86/crypto/sha-mb/
Dsha1_mb.c768 struct sha1_mb_ctx *ctx = crypto_tfm_ctx(tfm); in sha1_mb_async_init_tfm()
788 struct sha1_mb_ctx *ctx = crypto_tfm_ctx(tfm); in sha1_mb_async_exit_tfm()
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c458 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_ss_cipher_init()
/linux-4.4.14/include/linux/
Dcrypto.h676 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() function
/linux-4.4.14/drivers/crypto/caam/
Dcaamhash.c1769 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_init()
1805 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_exit()
Dcaamalg.c4349 struct caam_ctx *ctx = crypto_tfm_ctx(tfm); in caam_cra_init()
4390 caam_exit_common(crypto_tfm_ctx(tfm)); in caam_cra_exit()
/linux-4.4.14/drivers/crypto/ux500/hash/
Dhash_core.c1497 struct hash_ctx *ctx = crypto_tfm_ctx(tfm); in hash_cra_init()
/linux-4.4.14/drivers/crypto/ux500/cryp/
Dcryp_core.c1095 struct cryp_ctx *ctx = crypto_tfm_ctx(tfm); in cryp_cra_init()