Searched defs:tfm (Results 1 - 200 of 234) sorted by relevance

12

/linux-4.4.14/include/crypto/internal/
H A Drng.h34 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) crypto_rng_ctx() argument
39 static inline void crypto_rng_set_entropy(struct crypto_rng *tfm, crypto_rng_set_entropy() argument
H A Dakcipher.h25 static inline void *akcipher_tfm_ctx(struct crypto_akcipher *tfm) akcipher_tfm_ctx() argument
36 static inline const char *akcipher_alg_name(struct crypto_akcipher *tfm) akcipher_alg_name() argument
H A Dskcipher.h110 static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) crypto_skcipher_ctx() argument
H A Daead.h42 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) crypto_aead_ctx() argument
H A Dhash.h131 static inline void *crypto_ahash_ctx(struct crypto_ahash *tfm) crypto_ahash_ctx() argument
142 static inline void crypto_ahash_set_reqsize(struct crypto_ahash *tfm, crypto_ahash_set_reqsize() argument
200 static inline void *crypto_shash_ctx(struct crypto_shash *tfm) crypto_shash_ctx() argument
236 static inline void *crypto_shash_ctx_aligned(struct crypto_shash *tfm) crypto_shash_ctx_aligned() argument
241 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) __crypto_shash_cast() argument
194 ahash_tfm_in_queue(struct crypto_queue *queue, struct crypto_ahash *tfm) ahash_tfm_in_queue() argument
/linux-4.4.14/arch/x86/crypto/
H A Dtwofish_glue.c54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) twofish_encrypt() argument
59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) twofish_decrypt() argument
H A Daes_glue.c25 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_encrypt() argument
30 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_decrypt() argument
H A Dsalsa20_glue.c40 static int setkey(struct crypto_tfm *tfm, const u8 *key, setkey() argument
53 struct crypto_blkcipher *tfm = desc->tfm; encrypt() local
H A Dfpu.c81 static int crypto_fpu_init_tfm(struct crypto_tfm *tfm) crypto_fpu_init_tfm() argument
96 static void crypto_fpu_exit_tfm(struct crypto_tfm *tfm) crypto_fpu_exit_tfm() argument
H A Dblowfish_glue.c70 static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) blowfish_encrypt() argument
75 static void blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) blowfish_decrypt() argument
H A Dcrc32-pclmul_glue.c82 static int crc32_pclmul_cra_init(struct crypto_tfm *tfm) crc32_pclmul_cra_init() argument
H A Dcamellia_aesni_avx2_glue.c197 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, camellia_setkey() argument
H A Dcamellia_aesni_avx_glue.c201 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, camellia_setkey() argument
H A Dcast6_avx_glue.c247 static int lrw_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_cast6_setkey() argument
313 static void lrw_exit_tfm(struct crypto_tfm *tfm) lrw_exit_tfm() argument
325 static int xts_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, xts_cast6_setkey() argument
H A Dcrc32c-intel_glue.c174 static int crc32c_intel_cra_init(struct crypto_tfm *tfm) crc32c_intel_cra_init() argument
H A Ddes3_ede_glue.c76 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_x86_encrypt() argument
81 static void des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_x86_decrypt() argument
359 static int des3_ede_x86_setkey(struct crypto_tfm *tfm, const u8 *key, des3_ede_x86_setkey() argument
H A Dghash-clmulni-intel_glue.c55 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
167 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_init() local
191 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_update() local
209 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_final() local
224 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_digest() local
243 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, ghash_async_setkey() argument
260 static int ghash_async_init_tfm(struct crypto_tfm *tfm) ghash_async_init_tfm() argument
278 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) ghash_async_exit_tfm() argument
H A Dserpent_avx_glue.c255 int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_serpent_setkey() argument
323 void lrw_serpent_exit_tfm(struct crypto_tfm *tfm) lrw_serpent_exit_tfm() argument
331 int xts_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, xts_serpent_setkey() argument
H A Dserpent_sse2_glue.c229 static int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_serpent_setkey() argument
296 static void lrw_exit_tfm(struct crypto_tfm *tfm) lrw_exit_tfm() argument
308 static int xts_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, xts_serpent_setkey() argument
H A Dtwofish_glue_3way.c216 int lrw_twofish_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_twofish_setkey() argument
265 void lrw_twofish_exit_tfm(struct crypto_tfm *tfm) lrw_twofish_exit_tfm() argument
273 int xts_twofish_setkey(struct crypto_tfm *tfm, const u8 *key, xts_twofish_setkey() argument
H A Dcamellia_glue.c54 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) camellia_encrypt() argument
59 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) camellia_decrypt() argument
1275 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, camellia_setkey() argument
1440 int lrw_camellia_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_camellia_setkey() argument
1491 void lrw_camellia_exit_tfm(struct crypto_tfm *tfm) lrw_camellia_exit_tfm() argument
1499 int xts_camellia_setkey(struct crypto_tfm *tfm, const u8 *key, xts_camellia_setkey() argument
/linux-4.4.14/crypto/
H A Dcompress.c20 static int crypto_compress(struct crypto_tfm *tfm, crypto_compress() argument
28 static int crypto_decompress(struct crypto_tfm *tfm, crypto_decompress() argument
36 int crypto_init_compress_ops(struct crypto_tfm *tfm) crypto_init_compress_ops() argument
46 void crypto_exit_compress_ops(struct crypto_tfm *tfm) crypto_exit_compress_ops() argument
H A D842.c39 static int crypto842_compress(struct crypto_tfm *tfm, crypto842_compress() argument
48 static int crypto842_decompress(struct crypto_tfm *tfm, crypto842_decompress() argument
H A Dpcompress.c36 static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_pcomp_init() argument
41 static int crypto_pcomp_init_tfm(struct crypto_tfm *tfm) crypto_pcomp_init_tfm() argument
H A Dtwofish_generic.c109 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) twofish_encrypt() argument
146 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) twofish_decrypt() argument
H A Dablk_helper.c37 int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key, ablk_set_key() argument
56 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); __ablk_encrypt() local
71 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_encrypt() local
90 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_decrypt() local
114 void ablk_exit(struct crypto_tfm *tfm) ablk_exit() argument
122 int ablk_init_common(struct crypto_tfm *tfm, const char *drv_name) ablk_init_common() argument
140 int ablk_init(struct crypto_tfm *tfm) ablk_init() argument
H A Dakcipher.c56 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) crypto_akcipher_exit_tfm() argument
64 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) crypto_akcipher_init_tfm() argument
H A Dblowfish_generic.c41 static void bf_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) bf_encrypt() argument
75 static void bf_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) bf_decrypt() argument
H A Dlz4.c31 static int lz4_init(struct crypto_tfm *tfm) lz4_init() argument
42 static void lz4_exit(struct crypto_tfm *tfm) lz4_exit() argument
48 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, lz4_compress_crypto() argument
64 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, lz4_decompress_crypto() argument
H A Dlz4hc.c30 static int lz4hc_init(struct crypto_tfm *tfm) lz4hc_init() argument
41 static void lz4hc_exit(struct crypto_tfm *tfm) lz4hc_exit() argument
48 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, lz4hc_compress_crypto() argument
64 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, lz4hc_decompress_crypto() argument
H A Dlzo.c30 static int lzo_init(struct crypto_tfm *tfm) lzo_init() argument
44 static void lzo_exit(struct crypto_tfm *tfm) lzo_exit() argument
51 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, lzo_compress() argument
67 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, lzo_decompress() argument
H A Dblowfish_common.c349 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) blowfish_setkey() argument
H A Dchacha20_generic.c127 int crypto_chacha20_setkey(struct crypto_tfm *tfm, const u8 *key, crypto_chacha20_setkey() argument
H A Dcipher.c23 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, setkey_unaligned() argument
46 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) setkey() argument
78 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, cipher_encrypt_unaligned() argument
92 static void cipher_decrypt_unaligned(struct crypto_tfm *tfm, cipher_decrypt_unaligned() argument
106 int crypto_init_cipher_ops(struct crypto_tfm *tfm) crypto_init_cipher_ops() argument
120 void crypto_exit_cipher_ops(struct crypto_tfm *tfm) crypto_exit_cipher_ops() argument
63 cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, const u8 *), struct crypto_tfm *tfm, u8 *dst, const u8 *src) cipher_crypt_unaligned() argument
H A Dcrc32.c48 static int crc32_cra_init(struct crypto_tfm *tfm) crc32_cra_init() argument
H A Dcrc32c_generic.c76 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, chksum_setkey() argument
128 static int crc32c_cra_init(struct crypto_tfm *tfm) crc32c_cra_init() argument
H A Ddeflate.c104 static int deflate_init(struct crypto_tfm *tfm) deflate_init() argument
119 static void deflate_exit(struct crypto_tfm *tfm) deflate_exit() argument
127 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, deflate_compress() argument
156 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, deflate_decompress() argument
H A Dfcrypt.c236 static void fcrypt_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) fcrypt_encrypt() argument
268 static void fcrypt_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) fcrypt_decrypt() argument
303 static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) fcrypt_setkey() argument
H A Dghash-generic.c44 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
134 static void ghash_exit_tfm(struct crypto_tfm *tfm) ghash_exit_tfm() argument
H A Dmichael_mic.c136 static int michael_setkey(struct crypto_shash *tfm, const u8 *key, michael_setkey() argument
H A Drsa.c73 static inline struct rsa_key *rsa_get_key(struct crypto_akcipher *tfm) rsa_get_key() argument
80 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); rsa_enc() local
125 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); rsa_dec() local
169 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); rsa_sign() local
214 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); rsa_verify() local
274 static int rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, rsa_set_pub_key() argument
291 static int rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, rsa_set_priv_key() argument
308 static int rsa_max_size(struct crypto_akcipher *tfm) rsa_max_size() argument
315 static void rsa_exit_tfm(struct crypto_akcipher *tfm) rsa_exit_tfm() argument
H A Dtwofish_common.c703 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) twofish_setkey() argument
H A Dxcbc.c102 struct crypto_cipher *tfm = tctx->child; crypto_xcbc_digest_update() local
148 struct crypto_cipher *tfm = tctx->child; crypto_xcbc_digest_final() local
177 static int xcbc_init_tfm(struct crypto_tfm *tfm) xcbc_init_tfm() argument
193 static void xcbc_exit_tfm(struct crypto_tfm *tfm) xcbc_exit_tfm() argument
H A Dzlib.c67 static int zlib_init(struct crypto_tfm *tfm) zlib_init() argument
72 static void zlib_exit(struct crypto_tfm *tfm) zlib_exit() argument
81 static int zlib_compress_setup(struct crypto_pcomp *tfm, const void *params, zlib_compress_setup() argument
130 static int zlib_compress_init(struct crypto_pcomp *tfm) zlib_compress_init() argument
143 static int zlib_compress_update(struct crypto_pcomp *tfm, zlib_compress_update() argument
181 static int zlib_compress_final(struct crypto_pcomp *tfm, zlib_compress_final() argument
212 static int zlib_decompress_setup(struct crypto_pcomp *tfm, const void *params, zlib_decompress_setup() argument
244 static int zlib_decompress_init(struct crypto_pcomp *tfm) zlib_decompress_init() argument
257 static int zlib_decompress_update(struct crypto_pcomp *tfm, zlib_decompress_update() argument
296 static int zlib_decompress_final(struct crypto_pcomp *tfm, zlib_decompress_final() argument
H A Danubis.c462 static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, anubis_setkey() argument
662 static void anubis_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) anubis_encrypt() argument
668 static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) anubis_decrypt() argument
H A Darc4.c29 static int arc4_set_key(struct crypto_tfm *tfm, const u8 *in_key, arc4_set_key() argument
90 static void arc4_crypt_one(struct crypto_tfm *tfm, u8 *out, const u8 *in) arc4_crypt_one() argument
H A Dcast5_generic.c363 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) cast5_encrypt() argument
407 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) cast5_decrypt() argument
487 int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) cast5_setkey() argument
H A Dcast6_generic.c157 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) cast6_setkey() argument
217 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) cast6_encrypt() argument
255 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) cast6_decrypt() argument
H A Dcbc.c95 struct crypto_blkcipher *tfm = desc->tfm; crypto_cbc_encrypt() local
174 struct crypto_blkcipher *tfm = desc->tfm; crypto_cbc_decrypt() local
193 static int crypto_cbc_init_tfm(struct crypto_tfm *tfm) crypto_cbc_init_tfm() argument
208 static void crypto_cbc_exit_tfm(struct crypto_tfm *tfm) crypto_cbc_exit_tfm() argument
42 crypto_cbc_encrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_cbc_encrypt_segment() argument
66 crypto_cbc_encrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_cbc_encrypt_inplace() argument
114 crypto_cbc_decrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_cbc_decrypt_segment() argument
140 crypto_cbc_decrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_cbc_decrypt_inplace() argument
H A Dchainiv.c83 static int chainiv_init_common(struct crypto_tfm *tfm, char iv[]) chainiv_init_common() argument
99 static int chainiv_init(struct crypto_tfm *tfm) chainiv_init() argument
230 static int async_chainiv_init(struct crypto_tfm *tfm) async_chainiv_init() argument
251 static void async_chainiv_exit(struct crypto_tfm *tfm) async_chainiv_exit() argument
H A Dcmac.c128 struct crypto_cipher *tfm = tctx->child; crypto_cmac_digest_update() local
174 struct crypto_cipher *tfm = tctx->child; crypto_cmac_digest_final() local
203 static int cmac_init_tfm(struct crypto_tfm *tfm) cmac_init_tfm() argument
219 static void cmac_exit_tfm(struct crypto_tfm *tfm) cmac_exit_tfm() argument
H A Dcrypto_null.c32 static int null_compress(struct crypto_tfm *tfm, const u8 *src, null_compress() argument
64 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, null_hash_setkey() argument
68 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, null_setkey() argument
72 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) null_crypt() argument
158 struct crypto_blkcipher *tfm; crypto_get_default_null_skcipher() local
H A Dcts.c253 static int crypto_cts_init_tfm(struct crypto_tfm *tfm) crypto_cts_init_tfm() argument
268 static void crypto_cts_exit_tfm(struct crypto_tfm *tfm) crypto_cts_exit_tfm() argument
H A Decb.c74 struct crypto_blkcipher *tfm = desc->tfm; crypto_ecb_encrypt() local
88 struct crypto_blkcipher *tfm = desc->tfm; crypto_ecb_decrypt() local
97 static int crypto_ecb_init_tfm(struct crypto_tfm *tfm) crypto_ecb_init_tfm() argument
112 static void crypto_ecb_exit_tfm(struct crypto_tfm *tfm) crypto_ecb_exit_tfm() argument
41 crypto_ecb_crypt(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm, void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) crypto_ecb_crypt() argument
H A Deseqiv.c149 static int eseqiv_init(struct crypto_tfm *tfm) eseqiv_init() argument
H A Dhmac.c37 static inline struct hmac_ctx *hmac_ctx(struct crypto_shash *tfm) hmac_ctx() argument
156 static int hmac_init_tfm(struct crypto_tfm *tfm) hmac_init_tfm() argument
175 static void hmac_exit_tfm(struct crypto_tfm *tfm) hmac_exit_tfm() argument
H A Djitterentropy-kcapi.c121 static int jent_kcapi_init(struct crypto_tfm *tfm) jent_kcapi_init() argument
134 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) jent_kcapi_cleanup() argument
145 static int jent_kcapi_random(struct crypto_rng *tfm, jent_kcapi_random() argument
159 static int jent_kcapi_reset(struct crypto_rng *tfm, jent_kcapi_reset() argument
H A Dkhazad.c756 static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key, khazad_setkey() argument
837 static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) khazad_encrypt() argument
843 static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) khazad_decrypt() argument
H A Dpcbc.c102 struct crypto_blkcipher *tfm = desc->tfm; crypto_pcbc_encrypt() local
182 struct crypto_blkcipher *tfm = desc->tfm; crypto_pcbc_decrypt() local
203 static int crypto_pcbc_init_tfm(struct crypto_tfm *tfm) crypto_pcbc_init_tfm() argument
218 static void crypto_pcbc_exit_tfm(struct crypto_tfm *tfm) crypto_pcbc_exit_tfm() argument
45 crypto_pcbc_encrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_pcbc_encrypt_segment() argument
70 crypto_pcbc_encrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_pcbc_encrypt_inplace() argument
123 crypto_pcbc_decrypt_segment(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_pcbc_decrypt_segment() argument
150 crypto_pcbc_decrypt_inplace(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_pcbc_decrypt_inplace() argument
H A Drng.c35 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) __crypto_rng_cast() argument
40 int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) crypto_rng_reset() argument
61 static int crypto_rng_init_tfm(struct crypto_tfm *tfm) crypto_rng_init_tfm() argument
H A Dsalsa20_generic.c169 static int setkey(struct crypto_tfm *tfm, const u8 *key, setkey() argument
182 struct crypto_blkcipher *tfm = desc->tfm; encrypt() local
H A Dseed.c331 static int seed_set_key(struct crypto_tfm *tfm, const u8 *in_key, seed_set_key() argument
368 static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) seed_encrypt() argument
406 static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) seed_decrypt() argument
H A Dseqiv.c232 static int seqiv_init(struct crypto_tfm *tfm) seqiv_init() argument
H A Dskcipher.c34 static int skcipher_setkey_blkcipher(struct crypto_skcipher *tfm, skcipher_setkey_blkcipher() argument
57 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); skcipher_crypt_blkcipher() local
72 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher_encrypt_blkcipher() local
81 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher_decrypt_blkcipher() local
87 static void crypto_exit_skcipher_ops_blkcipher(struct crypto_tfm *tfm) crypto_exit_skcipher_ops_blkcipher() argument
94 static int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm) crypto_init_skcipher_ops_blkcipher() argument
126 static int skcipher_setkey_ablkcipher(struct crypto_skcipher *tfm, skcipher_setkey_ablkcipher() argument
148 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); skcipher_crypt_ablkcipher() local
164 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher_encrypt_ablkcipher() local
173 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); skcipher_decrypt_ablkcipher() local
179 static void crypto_exit_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) crypto_exit_skcipher_ops_ablkcipher() argument
186 static int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) crypto_init_skcipher_ops_ablkcipher() argument
219 static int crypto_skcipher_init_tfm(struct crypto_tfm *tfm) crypto_skcipher_init_tfm() argument
H A Dtea.c47 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, tea_setkey() argument
62 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) tea_encrypt() argument
90 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) tea_decrypt() argument
120 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, xtea_setkey() argument
135 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) xtea_encrypt() argument
156 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) xtea_decrypt() argument
179 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) xeta_encrypt() argument
200 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) xeta_decrypt() argument
H A Dxts.c82 struct crypto_tfm *tfm; member in struct:sinfo
241 static int init_tfm(struct crypto_tfm *tfm) init_tfm() argument
280 static void exit_tfm(struct crypto_tfm *tfm) exit_tfm() argument
H A Daead.c31 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, setkey_unaligned() argument
52 int crypto_aead_setkey(struct crypto_aead *tfm, crypto_aead_setkey() argument
64 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) crypto_aead_setauthsize() argument
82 static void crypto_aead_exit_tfm(struct crypto_tfm *tfm) crypto_aead_exit_tfm() argument
90 static int crypto_aead_init_tfm(struct crypto_tfm *tfm) crypto_aead_init_tfm() argument
175 static int aead_geniv_setkey(struct crypto_aead *tfm, aead_geniv_setkey() argument
183 static int aead_geniv_setauthsize(struct crypto_aead *tfm, aead_geniv_setauthsize() argument
322 void aead_exit_geniv(struct crypto_aead *tfm) aead_exit_geniv() argument
H A Daes_generic.c1282 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, crypto_aes_set_key() argument
1329 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_encrypt() argument
1401 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_decrypt() argument
H A Dalgif_hash.c250 struct algif_hash_tfm *tfm; hash_check_key() local
355 struct algif_hash_tfm *tfm; hash_bind() local
375 struct algif_hash_tfm *tfm = private; hash_release() local
383 struct algif_hash_tfm *tfm = private; hash_setkey() local
407 struct algif_hash_tfm *tfm = private; hash_accept_parent_nokey() local
441 struct algif_hash_tfm *tfm = private; hash_accept_parent() local
H A Dansi_cprng.c52 struct crypto_cipher *tfm; member in struct:prng_context
325 static int cprng_init(struct crypto_tfm *tfm) cprng_init() argument
349 static void cprng_exit(struct crypto_tfm *tfm) cprng_exit() argument
354 static int cprng_get_random(struct crypto_rng *tfm, cprng_get_random() argument
369 static int cprng_reset(struct crypto_rng *tfm, cprng_reset() argument
390 static int fips_cprng_get_random(struct crypto_rng *tfm, fips_cprng_get_random() argument
399 static int fips_cprng_reset(struct crypto_rng *tfm, fips_cprng_reset() argument
H A Dapi.c287 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_ops() argument
309 static void crypto_exit_ops(struct crypto_tfm *tfm) crypto_exit_ops() argument
369 struct crypto_tfm *tfm = NULL; __crypto_alloc_tfm() local
426 struct crypto_tfm *tfm; crypto_alloc_base() local
462 struct crypto_tfm *tfm = NULL; crypto_create_tfm() local
543 void *tfm; crypto_alloc_tfm() local
583 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) crypto_destroy_tfm() argument
H A Dauthenc.c315 static int crypto_authenc_init_tfm(struct crypto_aead *tfm) crypto_authenc_init_tfm() argument
362 static void crypto_authenc_exit_tfm(struct crypto_aead *tfm) crypto_authenc_exit_tfm() argument
H A Dauthencesn.c328 static int crypto_authenc_esn_init_tfm(struct crypto_aead *tfm) crypto_authenc_esn_init_tfm() argument
378 static void crypto_authenc_esn_exit_tfm(struct crypto_aead *tfm) crypto_authenc_esn_exit_tfm() argument
H A Dctr.c132 struct crypto_blkcipher *tfm = desc->tfm; crypto_ctr_crypt() local
158 static int crypto_ctr_init_tfm(struct crypto_tfm *tfm) crypto_ctr_init_tfm() argument
174 static void crypto_ctr_exit_tfm(struct crypto_tfm *tfm) crypto_ctr_exit_tfm() argument
280 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); crypto_rfc3686_crypt() local
306 static int crypto_rfc3686_init_tfm(struct crypto_tfm *tfm) crypto_rfc3686_init_tfm() argument
329 static void crypto_rfc3686_exit_tfm(struct crypto_tfm *tfm) crypto_rfc3686_exit_tfm() argument
55 crypto_ctr_crypt_final(struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_final() argument
74 crypto_ctr_crypt_segment(struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_segment() argument
100 crypto_ctr_crypt_inplace(struct blkcipher_walk *walk, struct crypto_cipher *tfm) crypto_ctr_crypt_inplace() argument
H A Ddes_generic.c781 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, des_setkey() argument
803 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des_encrypt() argument
826 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des_decrypt() argument
882 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, des3_ede_setkey() argument
892 static void des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_encrypt() argument
923 static void des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_decrypt() argument
H A Dkeywrap.c139 struct crypto_blkcipher *tfm = desc->tfm; crypto_kw_decrypt() local
224 struct crypto_blkcipher *tfm = desc->tfm; crypto_kw_encrypt() local
321 static int crypto_kw_init_tfm(struct crypto_tfm *tfm) crypto_kw_init_tfm() argument
336 static void crypto_kw_exit_tfm(struct crypto_tfm *tfm) crypto_kw_exit_tfm() argument
H A Dlrw.c101 struct crypto_tfm *tfm; member in struct:sinfo
296 static int init_tfm(struct crypto_tfm *tfm) init_tfm() argument
318 static void exit_tfm(struct crypto_tfm *tfm) exit_tfm() argument
H A Dpoly1305_generic.c54 int crypto_poly1305_setkey(struct crypto_shash *tfm, crypto_poly1305_setkey() argument
H A Dserpent_generic.c439 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) serpent_setkey() argument
503 static void serpent_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) serpent_encrypt() argument
563 static void serpent_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) serpent_decrypt() argument
570 static int tnepres_setkey(struct crypto_tfm *tfm, const u8 *key, tnepres_setkey() argument
582 static void tnepres_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) tnepres_encrypt() argument
602 static void tnepres_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) tnepres_decrypt() argument
H A Dahash.c188 static int ahash_setkey_unaligned(struct crypto_ahash *tfm, const u8 *key, ahash_setkey_unaligned() argument
208 int crypto_ahash_setkey(struct crypto_ahash *tfm, const u8 *key, crypto_ahash_setkey() argument
220 static int ahash_nosetkey(struct crypto_ahash *tfm, const u8 *key, ahash_nosetkey() argument
234 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_save_req() local
353 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); crypto_ahash_op() local
428 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_def_finup() local
449 static int crypto_ahash_init_tfm(struct crypto_tfm *tfm) crypto_ahash_init_tfm() argument
H A Dcamellia_generic.c981 camellia_set_key(struct crypto_tfm *tfm, const u8 *in_key, camellia_set_key() argument
1010 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) camellia_encrypt() argument
1038 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) camellia_decrypt() argument
H A Dpcrypt.c222 static int pcrypt_aead_init_tfm(struct crypto_aead *tfm) pcrypt_aead_init_tfm() argument
250 static void pcrypt_aead_exit_tfm(struct crypto_aead *tfm) pcrypt_aead_exit_tfm() argument
H A Dvmac.c622 static int vmac_init_tfm(struct crypto_tfm *tfm) vmac_init_tfm() argument
637 static void vmac_exit_tfm(struct crypto_tfm *tfm) vmac_exit_tfm() argument
H A Dablkcipher.c111 struct crypto_tfm *tfm = req->base.tfm; ablkcipher_walk_done() local
228 struct crypto_tfm *tfm = req->base.tfm; ablkcipher_walk_next() local
273 struct crypto_tfm *tfm = req->base.tfm; ablkcipher_walk_first() local
307 static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, setkey_unaligned() argument
329 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, setkey() argument
362 static int crypto_init_ablkcipher_ops(struct crypto_tfm *tfm, u32 type, crypto_init_ablkcipher_ops() argument
444 static int crypto_init_givcipher_ops(struct crypto_tfm *tfm, u32 type, crypto_init_givcipher_ops() argument
684 struct crypto_tfm *tfm; crypto_alloc_ablkcipher() local
189 ablkcipher_copy_iv(struct ablkcipher_walk *walk, struct crypto_tfm *tfm, unsigned int alignmask) ablkcipher_copy_iv() argument
H A Dalgapi.c677 struct crypto_tfm *tfm; crypto_spawn_tfm() local
702 struct crypto_tfm *tfm; crypto_spawn_tfm2() local
924 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) crypto_tfm_in_queue() argument
H A Dalgif_skcipher.c302 struct crypto_skcipher *tfm = skc->skcipher; skcipher_sendmsg() local
508 struct crypto_skcipher *tfm = skc->skcipher; skcipher_recvmsg_async() local
644 struct crypto_skcipher *tfm = skc->skcipher; skcipher_recvmsg_sync() local
765 struct skcipher_tfm *tfm; skcipher_check_key() local
858 struct skcipher_tfm *tfm; skcipher_bind() local
878 struct skcipher_tfm *tfm = private; skcipher_release() local
886 struct skcipher_tfm *tfm = private; skcipher_setkey() local
909 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(&ctx->req); skcipher_sock_destruct() local
924 struct skcipher_tfm *tfm = private; skcipher_accept_parent_nokey() local
964 struct skcipher_tfm *tfm = private; skcipher_accept_parent() local
H A Dblkcipher.c375 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, setkey_unaligned() argument
397 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) setkey() argument
413 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, async_setkey() argument
421 struct crypto_tfm *tfm = req->base.tfm; async_encrypt() local
435 struct crypto_tfm *tfm = req->base.tfm; async_decrypt() local
461 static int crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) crypto_init_blkcipher_ops_async() argument
479 static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) crypto_init_blkcipher_ops_sync() argument
498 static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_blkcipher_ops() argument
721 int skcipher_geniv_init(struct crypto_tfm *tfm) skcipher_geniv_init() argument
737 void skcipher_geniv_exit(struct crypto_tfm *tfm) skcipher_geniv_exit() argument
361 blkcipher_aead_walk_virt_block(struct blkcipher_desc *desc, struct blkcipher_walk *walk, struct crypto_aead *tfm, unsigned int blocksize) blkcipher_aead_walk_virt_block() argument
H A Dccm.c87 struct crypto_cipher *tfm = ctx->cipher; crypto_ccm_setkey() local
110 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, crypto_ccm_setauthsize() argument
170 static void compute_mac(struct crypto_cipher *tfm, u8 *data, int n, compute_mac() argument
209 static void get_data_to_compute(struct crypto_cipher *tfm, get_data_to_compute() argument
451 static int crypto_ccm_init_tfm(struct crypto_aead *tfm) crypto_ccm_init_tfm() argument
487 static void crypto_ccm_exit_tfm(struct crypto_aead *tfm) crypto_ccm_exit_tfm() argument
769 static int crypto_rfc4309_init_tfm(struct crypto_aead *tfm) crypto_rfc4309_init_tfm() argument
794 static void crypto_rfc4309_exit_tfm(struct crypto_aead *tfm) crypto_rfc4309_exit_tfm() argument
H A Dchacha20poly1305.c173 struct crypto_aead *tfm = crypto_aead_reqtfm(req); poly_tail() local
372 struct crypto_aead *tfm = crypto_aead_reqtfm(req); poly_genkey() local
505 static int chachapoly_setauthsize(struct crypto_aead *tfm, chachapoly_setauthsize() argument
514 static int chachapoly_init(struct crypto_aead *tfm) chachapoly_init() argument
552 static void chachapoly_exit(struct crypto_aead *tfm) chachapoly_exit() argument
H A Dmcryptd.c220 static inline struct mcryptd_queue *mcryptd_get_queue(struct crypto_tfm *tfm) mcryptd_get_queue() argument
275 static int mcryptd_hash_init_tfm(struct crypto_tfm *tfm) mcryptd_hash_init_tfm() argument
294 static void mcryptd_hash_exit_tfm(struct crypto_tfm *tfm) mcryptd_hash_exit_tfm() argument
323 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); mcryptd_hash_enqueue() local
601 struct crypto_ahash *tfm; mcryptd_alloc_ahash() local
633 struct crypto_shash *tfm = desc->tfm; shash_ahash_mcryptd_update() local
645 struct crypto_shash *tfm = desc->tfm; shash_ahash_mcryptd_finup() local
657 struct crypto_shash *tfm = desc->tfm; shash_ahash_mcryptd_final() local
666 struct crypto_shash *mcryptd_ahash_child(struct mcryptd_ahash *tfm) mcryptd_ahash_child() argument
681 void mcryptd_free_ahash(struct mcryptd_ahash *tfm) mcryptd_free_ahash() argument
H A Dshash.c27 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, shash_no_setkey() argument
33 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, shash_setkey_unaligned() argument
54 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, crypto_shash_setkey() argument
77 struct crypto_shash *tfm = desc->tfm; shash_update_unaligned() local
101 struct crypto_shash *tfm = desc->tfm; crypto_shash_update() local
114 struct crypto_shash *tfm = desc->tfm; shash_final_unaligned() local
136 struct crypto_shash *tfm = desc->tfm; crypto_shash_final() local
157 struct crypto_shash *tfm = desc->tfm; crypto_shash_finup() local
178 struct crypto_shash *tfm = desc->tfm; crypto_shash_digest() local
201 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, shash_async_setkey() argument
325 static void crypto_exit_shash_ops_async(struct crypto_tfm *tfm) crypto_exit_shash_ops_async() argument
332 int crypto_init_shash_ops_async(struct crypto_tfm *tfm) crypto_init_shash_ops_async() argument
371 static int shash_compat_setkey(struct crypto_hash *tfm, const u8 *key, shash_compat_setkey() argument
446 static void crypto_exit_shash_ops_compat(struct crypto_tfm *tfm) crypto_exit_shash_ops_compat() argument
455 static int crypto_init_shash_ops_compat(struct crypto_tfm *tfm) crypto_init_shash_ops_compat() argument
495 static int crypto_init_shash_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_shash_ops() argument
516 static int crypto_shash_init_tfm(struct crypto_tfm *tfm) crypto_shash_init_tfm() argument
H A Dtcrypt.c307 struct crypto_aead *tfm; test_aead_speed() local
464 struct crypto_blkcipher *tfm; test_cipher_speed() local
730 struct crypto_hash *tfm; test_hash_speed() local
954 struct crypto_ahash *tfm; test_ahash_speed() local
1118 struct crypto_ablkcipher *tfm; test_acipher_speed() local
/linux-4.4.14/lib/
H A Dlibcrc32c.c40 static struct crypto_shash *tfm; variable in typeref:struct:crypto_shash
/linux-4.4.14/fs/btrfs/
H A Dhash.c18 static struct crypto_shash *tfm; variable in typeref:struct:crypto_shash
/linux-4.4.14/include/crypto/
H A Dcryptd.h24 __cryptd_ablkcipher_cast( struct crypto_ablkcipher *tfm) __cryptd_ablkcipher_cast() argument
40 __cryptd_ahash_cast( struct crypto_ahash *tfm) __cryptd_ahash_cast() argument
57 __cryptd_aead_cast( struct crypto_aead *tfm) __cryptd_aead_cast() argument
H A Drng.h97 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) crypto_rng_tfm() argument
110 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) crypto_rng_alg() argument
120 static inline void crypto_free_rng(struct crypto_rng *tfm) crypto_free_rng() argument
139 static inline int crypto_rng_generate(struct crypto_rng *tfm, crypto_rng_generate() argument
157 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, crypto_rng_get_bytes() argument
195 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) crypto_rng_seedsize() argument
H A Daead.h158 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) __crypto_aead_cast() argument
179 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) crypto_aead_tfm() argument
188 static inline void crypto_free_aead(struct crypto_aead *tfm) crypto_free_aead() argument
193 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) crypto_aead_alg() argument
213 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) crypto_aead_ivsize() argument
230 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) crypto_aead_authsize() argument
245 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) crypto_aead_blocksize() argument
250 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) crypto_aead_alignmask() argument
255 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) crypto_aead_get_flags() argument
260 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) crypto_aead_set_flags() argument
265 static inline void crypto_aead_clear_flags(struct crypto_aead *tfm, u32 flags) crypto_aead_clear_flags() argument
379 static inline unsigned int crypto_aead_reqsize(struct crypto_aead *tfm) crypto_aead_reqsize() argument
410 static inline struct aead_request *aead_request_alloc(struct crypto_aead *tfm, aead_request_alloc() argument
392 aead_request_set_tfm(struct aead_request *req, struct crypto_aead *tfm) aead_request_set_tfm() argument
H A Dakcipher.h156 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) crypto_akcipher_reqsize() argument
178 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) crypto_free_akcipher() argument
266 static inline int crypto_akcipher_maxsize(struct crypto_akcipher *tfm) crypto_akcipher_maxsize() argument
285 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); crypto_akcipher_encrypt() local
303 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); crypto_akcipher_decrypt() local
321 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); crypto_akcipher_sign() local
339 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); crypto_akcipher_verify() local
357 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm, crypto_akcipher_set_pub_key() argument
378 static inline int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm, crypto_akcipher_set_priv_key() argument
133 crypto_akcipher_tfm( struct crypto_akcipher *tfm) crypto_akcipher_tfm() argument
144 __crypto_akcipher_tfm( struct crypto_tfm *tfm) __crypto_akcipher_tfm() argument
150 crypto_akcipher_alg( struct crypto_akcipher *tfm) crypto_akcipher_alg() argument
161 akcipher_request_set_tfm(struct akcipher_request *req, struct crypto_akcipher *tfm) akcipher_request_set_tfm() argument
191 akcipher_request_alloc( struct crypto_akcipher *tfm, gfp_t gfp) akcipher_request_alloc() argument
H A Dcompress.h79 static inline struct crypto_tfm *crypto_pcomp_tfm(struct crypto_pcomp *tfm) crypto_pcomp_tfm() argument
84 static inline void crypto_free_pcomp(struct crypto_pcomp *tfm) crypto_free_pcomp() argument
94 static inline struct pcomp_alg *crypto_pcomp_alg(struct crypto_pcomp *tfm) crypto_pcomp_alg() argument
99 static inline int crypto_compress_setup(struct crypto_pcomp *tfm, crypto_compress_setup() argument
105 static inline int crypto_compress_init(struct crypto_pcomp *tfm) crypto_compress_init() argument
110 static inline int crypto_compress_update(struct crypto_pcomp *tfm, crypto_compress_update() argument
116 static inline int crypto_compress_final(struct crypto_pcomp *tfm, crypto_compress_final() argument
122 static inline int crypto_decompress_setup(struct crypto_pcomp *tfm, crypto_decompress_setup() argument
128 static inline int crypto_decompress_init(struct crypto_pcomp *tfm) crypto_decompress_init() argument
133 static inline int crypto_decompress_update(struct crypto_pcomp *tfm, crypto_decompress_update() argument
139 static inline int crypto_decompress_final(struct crypto_pcomp *tfm, crypto_decompress_final() argument
H A Dmcryptd.h21 __mcryptd_ahash_cast( struct crypto_ahash *tfm) __mcryptd_ahash_cast() argument
H A Dhash.h143 struct crypto_shash *tfm; member in struct:shash_desc
226 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) __crypto_ahash_cast() argument
248 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) crypto_ahash_tfm() argument
257 static inline void crypto_free_ahash(struct crypto_ahash *tfm) crypto_free_ahash() argument
277 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) crypto_ahash_blocksize() argument
304 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) crypto_ahash_digestsize() argument
309 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) crypto_ahash_statesize() argument
314 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) crypto_ahash_get_flags() argument
319 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) crypto_ahash_set_flags() argument
324 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) crypto_ahash_clear_flags() argument
355 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) crypto_ahash_reqsize() argument
379 static inline bool crypto_ahash_has_setkey(struct crypto_ahash *tfm) crypto_ahash_has_setkey() argument
646 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) crypto_shash_tfm() argument
655 static inline void crypto_free_shash(struct crypto_shash *tfm) crypto_free_shash() argument
675 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) crypto_shash_blocksize() argument
685 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) crypto_shash_alg() argument
699 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) crypto_shash_digestsize() argument
704 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm) crypto_shash_statesize() argument
709 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) crypto_shash_get_flags() argument
714 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) crypto_shash_set_flags() argument
719 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) crypto_shash_clear_flags() argument
739 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) crypto_shash_descsize() argument
262 crypto_ahash_alignmask( struct crypto_ahash *tfm) crypto_ahash_alignmask() argument
288 crypto_hash_alg_common( struct crypto_ahash *tfm) crypto_hash_alg_common() argument
511 ahash_request_set_tfm(struct ahash_request *req, struct crypto_ahash *tfm) ahash_request_set_tfm() argument
530 ahash_request_alloc( struct crypto_ahash *tfm, gfp_t gfp) ahash_request_alloc() argument
660 crypto_shash_alignmask( struct crypto_shash *tfm) crypto_shash_alignmask() argument
H A Dskcipher.h213 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) crypto_free_skcipher() argument
244 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) crypto_skcipher_ivsize() argument
271 static inline u32 crypto_skcipher_get_flags(struct crypto_skcipher *tfm) crypto_skcipher_get_flags() argument
276 static inline void crypto_skcipher_set_flags(struct crypto_skcipher *tfm, crypto_skcipher_set_flags() argument
282 static inline void crypto_skcipher_clear_flags(struct crypto_skcipher *tfm, crypto_skcipher_clear_flags() argument
304 static inline int crypto_skcipher_setkey(struct crypto_skcipher *tfm, crypto_skcipher_setkey() argument
310 static inline bool crypto_skcipher_has_setkey(struct crypto_skcipher *tfm) crypto_skcipher_has_setkey() argument
343 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_skcipher_encrypt() local
361 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); crypto_skcipher_decrypt() local
383 static inline unsigned int crypto_skcipher_reqsize(struct crypto_skcipher *tfm) crypto_skcipher_reqsize() argument
96 skcipher_givcrypt_set_tfm( struct skcipher_givcrypt_request *req, struct crypto_ablkcipher *tfm) skcipher_givcrypt_set_tfm() argument
109 skcipher_givcrypt_alloc( struct crypto_ablkcipher *tfm, gfp_t gfp) skcipher_givcrypt_alloc() argument
180 __crypto_skcipher_cast( struct crypto_tfm *tfm) __crypto_skcipher_cast() argument
203 crypto_skcipher_tfm( struct crypto_skcipher *tfm) crypto_skcipher_tfm() argument
259 crypto_skcipher_blocksize( struct crypto_skcipher *tfm) crypto_skcipher_blocksize() argument
265 crypto_skcipher_alignmask( struct crypto_skcipher *tfm) crypto_skcipher_alignmask() argument
396 skcipher_request_set_tfm(struct skcipher_request *req, struct crypto_skcipher *tfm) skcipher_request_set_tfm() argument
420 skcipher_request_alloc( struct crypto_skcipher *tfm, gfp_t gfp) skcipher_request_alloc() argument
H A Dalgapi.h212 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) crypto_tfm_ctx_aligned() argument
235 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx() argument
240 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx_aligned() argument
254 static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx() argument
259 static inline void *crypto_blkcipher_ctx_aligned(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx_aligned() argument
273 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) crypto_cipher_alg() argument
286 static inline void *crypto_hash_ctx(struct crypto_hash *tfm) crypto_hash_ctx() argument
291 static inline void *crypto_hash_ctx_aligned(struct crypto_hash *tfm) crypto_hash_ctx_aligned() argument
218 crypto_tfm_alg_instance( struct crypto_tfm *tfm) crypto_tfm_alg_instance() argument
229 crypto_ablkcipher_alg( struct crypto_ablkcipher *tfm) crypto_ablkcipher_alg() argument
347 ablkcipher_tfm_in_queue(struct crypto_queue *queue, struct crypto_ablkcipher *tfm) ablkcipher_tfm_in_queue() argument
/linux-4.4.14/security/apparmor/
H A Dcrypto.c76 struct crypto_shash *tfm; init_profile_hash() local
/linux-4.4.14/arch/arm/crypto/
H A Daes_glue.c16 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_encrypt() argument
22 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_decrypt() argument
28 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
H A Daes-ce-glue.c130 static int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, ce_aes_setkey() argument
149 static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, xts_set_key() argument
H A Dghash-ce-glue.c109 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_init() local
177 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_update() local
195 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_final() local
210 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ghash_async_digest() local
229 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, ghash_async_setkey() argument
246 static int ghash_async_init_tfm(struct crypto_tfm *tfm) ghash_async_init_tfm() argument
264 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) ghash_async_exit_tfm() argument
H A Daesbs-glue.c57 static int aesbs_cbc_set_key(struct crypto_tfm *tfm, const u8 *in_key, aesbs_cbc_set_key() argument
73 static int aesbs_ctr_set_key(struct crypto_tfm *tfm, const u8 *in_key, aesbs_ctr_set_key() argument
87 static int aesbs_xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, aesbs_xts_set_key() argument
/linux-4.4.14/net/mac80211/
H A Daes_ccm.c21 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_encrypt() argument
46 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_decrypt() argument
77 struct crypto_aead *tfm; ieee80211_aes_key_setup_encrypt() local
98 void ieee80211_aes_key_free(struct crypto_aead *tfm) ieee80211_aes_key_free() argument
H A Daes_gcm.c18 void ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, ieee80211_aes_gcm_encrypt() argument
42 int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, ieee80211_aes_gcm_decrypt() argument
72 struct crypto_aead *tfm; ieee80211_aes_gcm_key_setup_encrypt() local
93 void ieee80211_aes_gcm_key_free(struct crypto_aead *tfm) ieee80211_aes_gcm_key_free() argument
H A Daes_gmac.c24 int ieee80211_aes_gmac(struct crypto_aead *tfm, const u8 *aad, u8 *nonce, ieee80211_aes_gmac() argument
62 struct crypto_aead *tfm; ieee80211_aes_gmac_key_setup() local
79 void ieee80211_aes_gmac_key_free(struct crypto_aead *tfm) ieee80211_aes_gmac_key_free() argument
H A Daes_cmac.c38 static void aes_cmac_vector(struct crypto_cipher *tfm, size_t num_elem, aes_cmac_vector() argument
95 void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad, ieee80211_aes_cmac() argument
113 void ieee80211_aes_cmac_256(struct crypto_cipher *tfm, const u8 *aad, ieee80211_aes_cmac_256() argument
134 struct crypto_cipher *tfm; ieee80211_aes_cmac_key_setup() local
144 void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm) ieee80211_aes_cmac_key_free() argument
H A Dwep.c134 int ieee80211_wep_encrypt_data(struct crypto_cipher *tfm, u8 *rc4key, ieee80211_wep_encrypt_data() argument
195 int ieee80211_wep_decrypt_data(struct crypto_cipher *tfm, u8 *rc4key, ieee80211_wep_decrypt_data() argument
H A Dkey.h87 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14986::__anon14988
92 struct crypto_cipher *tfm; member in struct:ieee80211_key::__anon14986::__anon14989
98 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14986::__anon14990
109 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14986::__anon14991
H A Dtkip.c225 int ieee80211_tkip_encrypt_data(struct crypto_cipher *tfm, ieee80211_tkip_encrypt_data() argument
242 int ieee80211_tkip_decrypt_data(struct crypto_cipher *tfm, ieee80211_tkip_decrypt_data() argument
/linux-4.4.14/drivers/crypto/nx/
H A Dnx-aes-cbc.c33 static int cbc_aes_nx_set_key(struct crypto_tfm *tfm, cbc_aes_nx_set_key() argument
H A Dnx-aes-ctr.c34 static int ctr_aes_nx_set_key(struct crypto_tfm *tfm, ctr_aes_nx_set_key() argument
66 static int ctr3686_aes_nx_set_key(struct crypto_tfm *tfm, ctr3686_aes_nx_set_key() argument
H A Dnx-aes-ecb.c33 static int ecb_aes_nx_set_key(struct crypto_tfm *tfm, ecb_aes_nx_set_key() argument
H A Dnx-sha256.c32 static int nx_crypto_ctx_sha256_init(struct crypto_tfm *tfm) nx_crypto_ctx_sha256_init() argument
H A Dnx-aes-xcbc.c152 static int nx_crypto_ctx_aes_xcbc_init2(struct crypto_tfm *tfm) nx_crypto_ctx_aes_xcbc_init2() argument
H A Dnx-sha512.c31 static int nx_crypto_ctx_sha512_init(struct crypto_tfm *tfm) nx_crypto_ctx_sha512_init() argument
H A Dnx-842-powernv.c587 static int nx842_powernv_crypto_init(struct crypto_tfm *tfm) nx842_powernv_crypto_init() argument
H A Dnx-842.c113 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) nx842_crypto_init() argument
133 void nx842_crypto_exit(struct crypto_tfm *tfm) nx842_crypto_exit() argument
258 int nx842_crypto_compress(struct crypto_tfm *tfm, nx842_crypto_compress() argument
442 int nx842_crypto_decompress(struct crypto_tfm *tfm, nx842_crypto_decompress() argument
H A Dnx-aes-ccm.c35 static int ccm_aes_nx_set_key(struct crypto_aead *tfm, ccm_aes_nx_set_key() argument
65 static int ccm4309_aes_nx_set_key(struct crypto_aead *tfm, ccm4309_aes_nx_set_key() argument
81 static int ccm_aes_nx_setauthsize(struct crypto_aead *tfm, ccm_aes_nx_setauthsize() argument
100 static int ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, ccm4309_aes_nx_setauthsize() argument
H A Dnx-aes-gcm.c34 static int gcm_aes_nx_set_key(struct crypto_aead *tfm, gcm_aes_nx_set_key() argument
73 static int gcm4106_aes_nx_set_key(struct crypto_aead *tfm, gcm4106_aes_nx_set_key() argument
95 static int gcm4106_aes_nx_setauthsize(struct crypto_aead *tfm, gcm4106_aes_nx_setauthsize() argument
H A Dnx.c708 int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm) nx_crypto_ctx_aes_ccm_init() argument
715 int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm) nx_crypto_ctx_aes_gcm_init() argument
722 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_ctr_init() argument
728 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_cbc_init() argument
734 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_ecb_init() argument
740 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm) nx_crypto_ctx_sha_init() argument
745 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_xcbc_init() argument
759 void nx_crypto_ctx_exit(struct crypto_tfm *tfm) nx_crypto_ctx_exit() argument
770 void nx_crypto_ctx_aead_exit(struct crypto_aead *tfm) nx_crypto_ctx_aead_exit() argument
/linux-4.4.14/drivers/crypto/vmx/
H A Daes.c38 static int p8_aes_init(struct crypto_tfm *tfm) p8_aes_init() argument
68 static void p8_aes_exit(struct crypto_tfm *tfm) p8_aes_exit() argument
78 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, p8_aes_setkey() argument
97 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) p8_aes_encrypt() argument
114 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) p8_aes_decrypt() argument
H A Daes_cbc.c39 static int p8_aes_cbc_init(struct crypto_tfm *tfm) p8_aes_cbc_init() argument
69 static void p8_aes_cbc_exit(struct crypto_tfm *tfm) p8_aes_cbc_exit() argument
79 static int p8_aes_cbc_setkey(struct crypto_tfm *tfm, const u8 *key, p8_aes_cbc_setkey() argument
H A Daes_ctr.c37 static int p8_aes_ctr_init(struct crypto_tfm *tfm) p8_aes_ctr_init() argument
67 static void p8_aes_ctr_exit(struct crypto_tfm *tfm) p8_aes_ctr_exit() argument
77 static int p8_aes_ctr_setkey(struct crypto_tfm *tfm, const u8 *key, p8_aes_ctr_setkey() argument
H A Dghash.c56 static int p8_ghash_init_tfm(struct crypto_tfm *tfm) p8_ghash_init_tfm() argument
89 static void p8_ghash_exit_tfm(struct crypto_tfm *tfm) p8_ghash_exit_tfm() argument
111 static int p8_ghash_setkey(struct crypto_shash *tfm, const u8 *key, p8_ghash_setkey() argument
/linux-4.4.14/net/mac802154/
H A Dllsec.h32 struct crypto_aead *tfm[3]; member in struct:mac802154_llsec_key
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-crypto-adler.c45 static int adler32_cra_init(struct crypto_tfm *tfm) adler32_cra_init() argument
/linux-4.4.14/drivers/crypto/qce/
H A Dcipher.h56 static inline struct qce_alg_template *to_cipher_tmpl(struct crypto_tfm *tfm) to_cipher_tmpl() argument
H A Dsha.h68 static inline struct qce_alg_template *to_ahash_tmpl(struct crypto_tfm *tfm) to_ahash_tmpl() argument
H A Dablkcipher.c155 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablk); qce_ablkcipher_setkey() local
195 struct crypto_tfm *tfm = qce_ablkcipher_crypt() local
227 static int qce_ablkcipher_init(struct crypto_tfm *tfm) qce_ablkcipher_init() argument
244 static void qce_ablkcipher_exit(struct crypto_tfm *tfm) qce_ablkcipher_exit() argument
H A Dsha.c231 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); qce_ahash_update() local
363 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, qce_ahash_hmac_setkey() argument
436 static int qce_ahash_cra_init(struct crypto_tfm *tfm) qce_ahash_cra_init() argument
/linux-4.4.14/crypto/asymmetric_keys/
H A Dpkcs7_verify.c28 struct crypto_shash *tfm; pkcs7_digest() local
H A Dx509_public_key.c160 struct crypto_shash *tfm; x509_get_sig_params() local
H A Dverify_pefile.c325 struct crypto_shash *tfm; pefile_digest_pe() local
/linux-4.4.14/arch/s390/crypto/
H A Dghash_s390.c41 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
H A Ddes_s390.c36 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, des_setkey() argument
53 static void des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) des_encrypt() argument
60 static void des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) des_decrypt() argument
240 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, des3_setkey() argument
257 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_encrypt() argument
264 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_decrypt() argument
H A Daes_s390.c95 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, setkey_fallback_cip() argument
114 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
136 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_encrypt() argument
161 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_decrypt() argument
186 static int fallback_init_cip(struct crypto_tfm *tfm) fallback_init_cip() argument
203 static void fallback_exit_cip(struct crypto_tfm *tfm) fallback_exit_cip() argument
233 static int setkey_fallback_blk(struct crypto_tfm *tfm, const u8 *key, setkey_fallback_blk() argument
257 struct crypto_blkcipher *tfm; fallback_blk_dec() local
274 struct crypto_blkcipher *tfm; fallback_blk_enc() local
286 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, ecb_aes_set_key() argument
367 static int fallback_init_blk(struct crypto_tfm *tfm) fallback_init_blk() argument
384 static void fallback_exit_blk(struct crypto_tfm *tfm) fallback_exit_blk() argument
415 static int cbc_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, cbc_aes_set_key() argument
532 static int xts_fallback_setkey(struct crypto_tfm *tfm, const u8 *key, xts_fallback_setkey() argument
556 struct crypto_blkcipher *tfm; xts_fallback_decrypt() local
573 struct crypto_blkcipher *tfm; xts_fallback_encrypt() local
585 static int xts_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, xts_aes_set_key() argument
691 static int xts_fallback_init(struct crypto_tfm *tfm) xts_fallback_init() argument
707 static void xts_fallback_exit(struct crypto_tfm *tfm) xts_fallback_exit() argument
741 static int ctr_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, ctr_aes_set_key() argument
/linux-4.4.14/arch/arm64/crypto/
H A Daes-ce-cipher.c39 static void aes_cipher_encrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) aes_cipher_encrypt() argument
84 static void aes_cipher_decrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) aes_cipher_decrypt() argument
222 int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, ce_aes_setkey() argument
H A Dghash-ce-glue.c103 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
H A Daes-ce-ccm-glue.c47 static int ccm_setkey(struct crypto_aead *tfm, const u8 *in_key, ccm_setkey() argument
61 static int ccm_setauthsize(struct crypto_aead *tfm, unsigned int authsize) ccm_setauthsize() argument
H A Daes-glue.c82 static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, xts_set_key() argument
H A Dcrc32-arm64.c115 static int chksum_setkey(struct crypto_shash *tfm, const u8 *key, chksum_setkey() argument
206 static int crc32_cra_init(struct crypto_tfm *tfm) crc32_cra_init() argument
214 static int crc32c_cra_init(struct crypto_tfm *tfm) crc32c_cra_init() argument
/linux-4.4.14/drivers/misc/sgi-gru/
H A Dgrukdump.c80 struct gru_tlb_fault_map *tfm; gru_dump_tfm() local
H A Dgrufault.c159 struct gru_tlb_fault_map *tfm; get_clear_fault_map() local
/linux-4.4.14/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c97 static int ccp_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_xts_setkey() argument
120 struct crypto_tfm *tfm = ccp_aes_xts_crypt() local
192 static int ccp_aes_xts_cra_init(struct crypto_tfm *tfm) ccp_aes_xts_cra_init() argument
216 static void ccp_aes_xts_cra_exit(struct crypto_tfm *tfm) ccp_aes_xts_cra_exit() argument
H A Dccp-crypto-aes-cmac.c30 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_aes_cmac_complete() local
61 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_do_cmac_update() local
259 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, ccp_aes_cmac_setkey() argument
338 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) ccp_aes_cmac_cra_init() argument
361 static void ccp_aes_cmac_cra_exit(struct crypto_tfm *tfm) ccp_aes_cmac_cra_exit() argument
H A Dccp-crypto-aes.c40 static int ccp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_setkey() argument
127 static int ccp_aes_cra_init(struct crypto_tfm *tfm) ccp_aes_cra_init() argument
139 static void ccp_aes_cra_exit(struct crypto_tfm *tfm) ccp_aes_cra_exit() argument
155 static int ccp_aes_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_rfc3686_setkey() argument
202 static int ccp_aes_rfc3686_cra_init(struct crypto_tfm *tfm) ccp_aes_rfc3686_cra_init() argument
214 static void ccp_aes_rfc3686_cra_exit(struct crypto_tfm *tfm) ccp_aes_rfc3686_cra_exit() argument
H A Dccp-crypto-main.c67 struct crypto_tfm *tfm; member in struct:ccp_crypto_cmd
H A Dccp-crypto-sha.c29 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_sha_complete() local
60 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_do_sha_update() local
162 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_sha_init() local
250 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, ccp_sha_setkey() argument
301 static int ccp_sha_cra_init(struct crypto_tfm *tfm) ccp_sha_cra_init() argument
314 static void ccp_sha_cra_exit(struct crypto_tfm *tfm) ccp_sha_cra_exit() argument
318 static int ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) ccp_hmac_sha_cra_init() argument
336 static void ccp_hmac_sha_cra_exit(struct crypto_tfm *tfm) ccp_hmac_sha_cra_exit() argument
H A Dccp-crypto.h51 ccp_crypto_ablkcipher_alg(struct crypto_tfm *tfm) ccp_crypto_ablkcipher_alg() argument
59 ccp_crypto_ahash_alg(struct crypto_tfm *tfm) ccp_crypto_ahash_alg() argument
/linux-4.4.14/drivers/crypto/sunxi-ss/
H A Dsun4i-ss-hash.c21 int sun4i_hash_crainit(struct crypto_tfm *tfm) sun4i_hash_crainit() argument
32 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); sun4i_hash_init() local
171 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); sun4i_hash_update() local
350 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); sun4i_hash_final() local
H A Dsun4i-ss-cipher.c21 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_opti_poll() local
128 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cipher_poll() local
321 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_aes_encrypt() local
332 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_aes_decrypt() local
344 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_aes_encrypt() local
355 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_aes_decrypt() local
367 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_des_encrypt() local
378 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_des_decrypt() local
390 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_des_encrypt() local
401 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_des_decrypt() local
413 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_des3_encrypt() local
424 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_cbc_des3_decrypt() local
436 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_des3_encrypt() local
447 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); sun4i_ss_ecb_des3_decrypt() local
456 int sun4i_ss_cipher_init(struct crypto_tfm *tfm) sun4i_ss_cipher_init() argument
473 int sun4i_ss_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, sun4i_ss_aes_setkey() argument
500 int sun4i_ss_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, sun4i_ss_des_setkey() argument
530 int sun4i_ss_des3_setkey(struct crypto_ablkcipher *tfm, const u8 *key, sun4i_ss_des3_setkey() argument
/linux-4.4.14/drivers/block/
H A Dcryptoloop.c49 struct crypto_blkcipher *tfm; cryptoloop_init() local
117 struct crypto_blkcipher *tfm = lo->key_data; cryptoloop_transfer() local
178 struct crypto_blkcipher *tfm = lo->key_data; cryptoloop_release() local
/linux-4.4.14/fs/f2fs/
H A Dcrypto_key.c50 struct crypto_ablkcipher *tfm = crypto_alloc_ablkcipher("ecb(aes)", 0, f2fs_derive_key_aes() local
H A Dcrypto.c335 struct crypto_ablkcipher *tfm = ci->ci_ctfm; f2fs_page_crypto() local
H A Dcrypto_fname.c76 struct crypto_ablkcipher *tfm = ci->ci_ctfm; f2fs_fname_encrypt() local
155 struct crypto_ablkcipher *tfm = ci->ci_ctfm; f2fs_fname_decrypt() local
/linux-4.4.14/net/xfrm/
H A Dxfrm_ipcomp.c50 struct crypto_comp *tfm = *per_cpu_ptr(ipcd->tfms, cpu); ipcomp_decompress() local
144 struct crypto_comp *tfm; ipcomp_compress() local
269 struct crypto_comp *tfm = *per_cpu_ptr(tfms, cpu); for_each_possible_cpu() local
283 struct crypto_comp *tfm; ipcomp_alloc_tfms() local
307 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, for_each_possible_cpu() local
/linux-4.4.14/fs/ext4/
H A Dcrypto_key.c47 struct crypto_ablkcipher *tfm = crypto_alloc_ablkcipher("ecb(aes)", 0, ext4_derive_key_aes() local
H A Dcrypto.c268 struct crypto_ablkcipher *tfm = ci->ci_ctfm; ext4_page_crypto() local
H A Dcrypto_fname.c71 struct crypto_ablkcipher *tfm = ci->ci_ctfm; ext4_fname_encrypt() local
152 struct crypto_ablkcipher *tfm = ci->ci_ctfm; ext4_fname_decrypt() local
/linux-4.4.14/arch/sparc/crypto/
H A Dcrc32c_glue.c111 static int crc32c_sparc64_cra_init(struct crypto_tfm *tfm) crc32c_sparc64_cra_init() argument
H A Daes_glue.c166 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
199 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_encrypt() argument
206 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_decrypt() argument
H A Dcamellia_glue.c35 static int camellia_set_key(struct crypto_tfm *tfm, const u8 *_in_key, camellia_set_key() argument
57 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) camellia_encrypt() argument
66 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) camellia_decrypt() argument
H A Ddes_glue.c43 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, des_set_key() argument
70 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des_encrypt() argument
78 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des_decrypt() argument
200 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, des3_ede_set_key() argument
240 static void des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_encrypt() argument
248 static void des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_ede_decrypt() argument
/linux-4.4.14/arch/powerpc/crypto/
H A Daes-spe-glue.c92 static int ppc_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, ppc_aes_setkey() argument
124 static int ppc_xts_setkey(struct crypto_tfm *tfm, const u8 *in_key, ppc_xts_setkey() argument
161 static void ppc_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) ppc_aes_encrypt() argument
170 static void ppc_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) ppc_aes_decrypt() argument
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtllib_crypt_ccmp.c47 struct crypto_tfm *tfm; member in struct:rtllib_ccmp_data
55 static void rtllib_ccmp_aes_encrypt(struct crypto_tfm *tfm, rtllib_ccmp_aes_encrypt() argument
109 static void ccmp_init_blocks(struct crypto_tfm *tfm, ccmp_init_blocks() argument
362 struct crypto_tfm *tfm = data->tfm; rtllib_ccmp_set_key() local
H A Drtllib_crypt_tkip.c658 struct crypto_hash *tfm = tkey->tx_tfm_michael; rtllib_tkip_set_key() local
/linux-4.4.14/drivers/target/iscsi/
H A Discsi_target_auth.c188 struct crypto_hash *tfm; chap_server_compute_md5() local
/linux-4.4.14/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c110 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); crypto4xx_setkey_aes() local
180 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, crypto4xx_hash_alg_init() argument
289 int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) crypto4xx_sha1_alg_init() argument
H A Dcrypto4xx_core.c972 static int crypto4xx_alg_init(struct crypto_tfm *tfm) crypto4xx_alg_init() argument
998 static void crypto4xx_alg_exit(struct crypto_tfm *tfm) crypto4xx_alg_exit() argument
/linux-4.4.14/drivers/crypto/
H A Dgeode-aes.c116 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, geode_setkey_cip() argument
149 static int geode_setkey_blk(struct crypto_tfm *tfm, const u8 *key, geode_setkey_blk() argument
187 struct crypto_blkcipher *tfm; fallback_blk_dec() local
203 struct crypto_blkcipher *tfm; fallback_blk_enc() local
216 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) geode_encrypt() argument
237 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) geode_decrypt() argument
256 static int fallback_init_cip(struct crypto_tfm *tfm) fallback_init_cip() argument
272 static void fallback_exit_cip(struct crypto_tfm *tfm) fallback_exit_cip() argument
366 static int fallback_init_blk(struct crypto_tfm *tfm) fallback_init_blk() argument
382 static void fallback_exit_blk(struct crypto_tfm *tfm) fallback_exit_blk() argument
H A Dpadlock-sha.c211 static int padlock_cra_init(struct crypto_tfm *tfm) padlock_cra_init() argument
237 static void padlock_cra_exit(struct crypto_tfm *tfm) padlock_cra_exit() argument
H A Dpadlock-aes.c94 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) aes_ctx() argument
99 static inline struct aes_ctx *blk_aes_ctx(struct crypto_blkcipher *tfm) blk_aes_ctx() argument
104 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
298 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_encrypt() argument
310 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_decrypt() argument
H A Dbfin_crc.c130 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_init() local
417 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_final() local
430 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_finup() local
453 static int bfin_crypto_crc_setkey(struct crypto_ahash *tfm, const u8 *key, bfin_crypto_crc_setkey() argument
469 static int bfin_crypto_crc_cra_init(struct crypto_tfm *tfm) bfin_crypto_crc_cra_init() argument
480 static void bfin_crypto_crc_cra_exit(struct crypto_tfm *tfm) bfin_crypto_crc_cra_exit() argument
H A Datmel-sha.c257 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); atmel_sha_init() local
983 static int atmel_sha_cra_init(struct crypto_tfm *tfm) atmel_sha_cra_init() argument
H A Datmel-tdes.c401 static int atmel_tdes_crypt_pdc(struct crypto_tfm *tfm, dma_addr_t dma_addr_in, atmel_tdes_crypt_pdc() argument
437 static int atmel_tdes_crypt_dma(struct crypto_tfm *tfm, dma_addr_t dma_addr_in, atmel_tdes_crypt_dma() argument
508 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( atmel_tdes_crypt_start() local
777 static int atmel_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_des_setkey() argument
803 static int atmel_tdes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_tdes_setkey() argument
901 static int atmel_tdes_cra_init(struct crypto_tfm *tfm) atmel_tdes_cra_init() argument
915 static void atmel_tdes_cra_exit(struct crypto_tfm *tfm) atmel_tdes_cra_exit() argument
H A Dimg-hash.c483 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_init() local
548 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_update() local
563 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_final() local
577 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_finup() local
592 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); img_hash_digest() local
646 static int img_hash_cra_init(struct crypto_tfm *tfm) img_hash_cra_init() argument
669 static void img_hash_cra_exit(struct crypto_tfm *tfm) img_hash_cra_exit() argument
H A Dmxs-dcp.c377 struct crypto_tfm *tfm = mxs_dcp_block_fallback() local
439 static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, mxs_dcp_aes_setkey() argument
482 static int mxs_dcp_aes_fallback_init(struct crypto_tfm *tfm) mxs_dcp_aes_fallback_init() argument
498 static void mxs_dcp_aes_fallback_exit(struct crypto_tfm *tfm) mxs_dcp_aes_fallback_exit() argument
514 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); mxs_dcp_run_sha() local
564 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_req_to_buf() local
678 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_init() local
708 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); dcp_sha_update_fx() local
767 static int dcp_sha_cra_init(struct crypto_tfm *tfm) dcp_sha_cra_init() argument
774 static void dcp_sha_cra_exit(struct crypto_tfm *tfm) dcp_sha_cra_exit() argument
/linux-4.4.14/security/integrity/evm/
H A Devm_crypto.c39 struct crypto_shash **tfm; init_desc() local
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_ccmp.c51 struct crypto_tfm *tfm; member in struct:ieee80211_ccmp_data
59 static void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm, ieee80211_ccmp_aes_encrypt() argument
114 static void ccmp_init_blocks(struct crypto_tfm *tfm, ccmp_init_blocks() argument
374 struct crypto_tfm *tfm = data->tfm; ieee80211_ccmp_set_key() local
H A Dieee80211_crypt_tkip.c663 struct crypto_hash *tfm = tkey->tx_tfm_michael; ieee80211_tkip_set_key() local
/linux-4.4.14/drivers/crypto/marvell/
H A Dcipher.c216 static int mv_cesa_ablkcipher_cra_init(struct crypto_tfm *tfm) mv_cesa_ablkcipher_cra_init() argument
230 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); mv_cesa_aes_setkey() local
255 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); mv_cesa_des_setkey() local
279 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); mv_cesa_des3_ede_setkey() local
396 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); mv_cesa_ablkcipher_req_init() local
H A Dhash.c434 static inline int mv_cesa_ahash_cra_init(struct crypto_tfm *tfm) mv_cesa_ahash_cra_init() argument
1152 struct crypto_ahash *tfm; mv_cesa_ahmac_setkey() local
1201 static int mv_cesa_ahmac_cra_init(struct crypto_tfm *tfm) mv_cesa_ahmac_cra_init() argument
1225 static int mv_cesa_ahmac_md5_setkey(struct crypto_ahash *tfm, const u8 *key, mv_cesa_ahmac_md5_setkey() argument
1295 static int mv_cesa_ahmac_sha1_setkey(struct crypto_ahash *tfm, const u8 *key, mv_cesa_ahmac_sha1_setkey() argument
1352 static int mv_cesa_ahmac_sha256_setkey(struct crypto_ahash *tfm, const u8 *key, mv_cesa_ahmac_sha256_setkey() argument
/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dqat_asym_algs.c242 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); qat_rsa_enc() local
373 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); qat_rsa_dec() local
604 static int qat_rsa_setkey(struct crypto_akcipher *tfm, const void *key, qat_rsa_setkey() argument
664 static int qat_rsa_setpubkey(struct crypto_akcipher *tfm, const void *key, qat_rsa_setpubkey() argument
670 static int qat_rsa_setprivkey(struct crypto_akcipher *tfm, const void *key, qat_rsa_setprivkey() argument
676 static int qat_rsa_max_size(struct crypto_akcipher *tfm) qat_rsa_max_size() argument
683 static int qat_rsa_init_tfm(struct crypto_akcipher *tfm) qat_rsa_init_tfm() argument
697 static void qat_rsa_exit_tfm(struct crypto_akcipher *tfm) qat_rsa_exit_tfm() argument
/linux-4.4.14/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c704 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_init() local
718 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_update() local
731 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_finup() local
744 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_final() local
755 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_digest() local
765 static int sha1_mb_async_init_tfm(struct crypto_tfm *tfm) sha1_mb_async_init_tfm() argument
786 static void sha1_mb_async_exit_tfm(struct crypto_tfm *tfm) sha1_mb_async_exit_tfm() argument
/linux-4.4.14/net/bluetooth/
H A Damp.c137 struct crypto_shash *tfm; hmac_sha256() local
/linux-4.4.14/net/ceph/
H A Dcrypto.c165 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt() local
225 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt2() local
287 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt() local
352 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt2() local
/linux-4.4.14/net/wireless/
H A Dlib80211_crypt_ccmp.c55 struct crypto_cipher *tfm; member in struct:lib80211_ccmp_data
63 static inline void lib80211_ccmp_aes_encrypt(struct crypto_cipher *tfm, lib80211_ccmp_aes_encrypt() argument
111 static void ccmp_init_blocks(struct crypto_cipher *tfm, ccmp_init_blocks() argument
384 struct crypto_cipher *tfm = data->tfm; lib80211_ccmp_set_key() local
H A Dlib80211_crypt_tkip.c648 struct crypto_hash *tfm = tkey->tx_tfm_michael; lib80211_tkip_set_key() local
/linux-4.4.14/security/integrity/ima/
H A Dima_crypto.c86 struct crypto_shash *tfm = ima_shash_tfm; ima_alloc_tfm() local
103 static void ima_free_tfm(struct crypto_shash *tfm) ima_free_tfm() argument
173 struct crypto_ahash *tfm = ima_ahash_tfm; ima_alloc_atfm() local
193 static void ima_free_atfm(struct crypto_ahash *tfm) ima_free_atfm() argument
339 struct crypto_ahash *tfm; ima_calc_file_ahash() local
412 struct crypto_shash *tfm; ima_calc_file_shash() local
507 struct crypto_shash *tfm; ima_calc_field_array_hash() local
561 struct crypto_shash *tfm; ima_calc_boot_aggregate() local
227 ima_calc_file_hash_atfm(struct file *file, struct ima_digest_data *hash, struct crypto_ahash *tfm) ima_calc_file_hash_atfm() argument
353 ima_calc_file_hash_tfm(struct file *file, struct ima_digest_data *hash, struct crypto_shash *tfm) ima_calc_file_hash_tfm() argument
458 ima_calc_field_array_hash_tfm(struct ima_field_data *field_data, struct ima_template_desc *td, int num_fields, struct ima_digest_data *hash, struct crypto_shash *tfm) ima_calc_field_array_hash_tfm() argument
534 ima_calc_boot_aggregate_tfm(char *digest, struct crypto_shash *tfm) ima_calc_boot_aggregate_tfm() argument
/linux-4.4.14/net/sctp/
H A Dauth.c451 struct crypto_hash *tfm = NULL; sctp_auth_init_hmacs() local
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_krb5_crypto.c462 gss_encrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, gss_encrypt_xdr_buf() argument
538 gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *buf, gss_decrypt_xdr_buf() argument
53 krb5_encrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) krb5_encrypt() argument
87 krb5_decrypt( struct crypto_blkcipher *tfm, void * iv, void * in, void * out, int length) krb5_decrypt() argument
/linux-4.4.14/kernel/
H A Dkexec_file.c551 struct crypto_shash *tfm; kexec_calculate_store_digests() local
/linux-4.4.14/drivers/md/
H A Ddm-verity.c58 struct crypto_shash *tfm; member in struct:dm_verity
/linux-4.4.14/drivers/crypto/caam/
H A Dcaamhash.c1759 static int caam_hash_cra_init(struct crypto_tfm *tfm) caam_hash_cra_init() argument
1803 static void caam_hash_cra_exit(struct crypto_tfm *tfm) caam_hash_cra_exit() argument

Completed in 3091 milliseconds

12