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

12

/linux-4.1.27/include/crypto/internal/
H A Drng.h21 static inline void *crypto_rng_ctx(struct crypto_rng *tfm) crypto_rng_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.1.27/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.c198 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, camellia_setkey() argument
H A Dcamellia_aesni_avx_glue.c202 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, camellia_setkey() argument
H A Dcast6_avx_glue.c248 static int lrw_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_cast6_setkey() argument
314 static void lrw_exit_tfm(struct crypto_tfm *tfm) lrw_exit_tfm() argument
326 static int xts_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, xts_cast6_setkey() argument
H A Dcrc32c-intel_glue.c175 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.c256 int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_serpent_setkey() argument
324 void lrw_serpent_exit_tfm(struct crypto_tfm *tfm) lrw_serpent_exit_tfm() argument
332 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
H A Daesni-intel_glue.c284 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) aesni_rfc4106_gcm_ctx_get() argument
303 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, aes_set_key_common() argument
327 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
333 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_encrypt() argument
346 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) aes_decrypt() argument
359 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) __aes_encrypt() argument
366 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) __aes_decrypt() argument
533 static int ablk_ecb_init(struct crypto_tfm *tfm) ablk_ecb_init() argument
538 static int ablk_cbc_init(struct crypto_tfm *tfm) ablk_cbc_init() argument
544 static int ablk_ctr_init(struct crypto_tfm *tfm) ablk_ctr_init() argument
552 static int ablk_pcbc_init(struct crypto_tfm *tfm) ablk_pcbc_init() argument
568 static int lrw_aesni_setkey(struct crypto_tfm *tfm, const u8 *key, lrw_aesni_setkey() argument
582 static void lrw_aesni_exit_tfm(struct crypto_tfm *tfm) lrw_aesni_exit_tfm() argument
637 static int xts_aesni_setkey(struct crypto_tfm *tfm, const u8 *key, xts_aesni_setkey() argument
793 static int rfc4106_init(struct crypto_tfm *tfm) rfc4106_init() argument
815 static void rfc4106_exit(struct crypto_tfm *tfm) rfc4106_exit() argument
899 struct crypto_tfm *tfm = crypto_aead_tfm(aead); common_rfc4106_set_key() local
1002 struct crypto_aead *tfm = crypto_aead_reqtfm(req); __driver_rfc4106_encrypt() local
1088 struct crypto_aead *tfm = crypto_aead_reqtfm(req); __driver_rfc4106_decrypt() local
1174 struct crypto_aead *tfm = crypto_aead_reqtfm(req); rfc4106_encrypt() local
1195 struct crypto_aead *tfm = crypto_aead_reqtfm(req); rfc4106_decrypt() local
/linux-4.1.27/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 Dkrng.c19 static int krng_get_random(struct crypto_rng *tfm, u8 *rdata, unsigned int dlen) krng_get_random() argument
25 static int krng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) krng_reset() 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 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 Dpcompress.c36 static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_pcomp_init() argument
46 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 Dblowfish_common.c349 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) blowfish_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 Dcrypto_null.c28 static int null_compress(struct crypto_tfm *tfm, const u8 *src, null_compress() argument
60 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, null_hash_setkey() argument
64 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, null_setkey() argument
68 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) null_crypt() 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 Drng.c32 static int rngapi_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) rngapi_reset() argument
52 static int crypto_init_rng_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_rng_ops() argument
H A D842.c50 static int nx842_init(struct crypto_tfm *tfm) nx842_init() argument
63 static void nx842_exit(struct crypto_tfm *tfm) nx842_exit() argument
77 static int nx842_crypto_compress(struct crypto_tfm *tfm, const u8 *src, nx842_crypto_compress() argument
119 static int nx842_crypto_decompress(struct crypto_tfm *tfm, const u8 *src, nx842_crypto_decompress() 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.c107 static int chainiv_init_common(struct crypto_tfm *tfm) chainiv_init_common() argument
114 static int chainiv_init(struct crypto_tfm *tfm) chainiv_init() argument
264 static int async_chainiv_init(struct crypto_tfm *tfm) async_chainiv_init() argument
276 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 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 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 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 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.c235 static int seqiv_init(struct crypto_tfm *tfm) seqiv_init() argument
247 static int seqiv_aead_init(struct crypto_tfm *tfm) seqiv_aead_init() 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 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, 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, 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 Daead.c29 static int setkey_unaligned(struct crypto_aead *tfm, const u8 *key, setkey_unaligned() argument
51 static int setkey(struct crypto_aead *tfm, const u8 *key, unsigned int keylen) setkey() argument
62 int crypto_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) crypto_aead_setauthsize() argument
93 static int crypto_init_aead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_aead_ops() argument
177 static int crypto_init_nivaead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_nivaead_ops() argument
374 int aead_geniv_init(struct crypto_tfm *tfm) aead_geniv_init() argument
390 void aead_geniv_exit(struct crypto_tfm *tfm) aead_geniv_exit() argument
528 struct crypto_tfm *tfm; crypto_alloc_aead() local
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.c242 struct algif_hash_tfm *tfm; hash_check_key() local
347 struct algif_hash_tfm *tfm; hash_bind() local
367 struct algif_hash_tfm *tfm = private; hash_release() local
375 struct algif_hash_tfm *tfm = private; hash_setkey() local
399 struct algif_hash_tfm *tfm = private; hash_accept_parent_nokey() local
433 struct algif_hash_tfm *tfm = private; hash_accept_parent() local
H A Dansi_cprng.c54 struct crypto_cipher *tfm; member in struct:prng_context
327 static int cprng_init(struct crypto_tfm *tfm) cprng_init() argument
351 static void cprng_exit(struct crypto_tfm *tfm) cprng_exit() argument
356 static int cprng_get_random(struct crypto_rng *tfm, u8 *rdata, cprng_get_random() argument
370 static int cprng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) cprng_reset() argument
390 static int fips_cprng_get_random(struct crypto_rng *tfm, u8 *rdata, fips_cprng_get_random() argument
398 static int fips_cprng_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) 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 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 Deseqiv.c172 static int eseqiv_init(struct crypto_tfm *tfm) eseqiv_init() 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 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 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 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 Dauthenc.c547 static int crypto_authenc_init_tfm(struct crypto_tfm *tfm) crypto_authenc_init_tfm() argument
588 static void crypto_authenc_exit_tfm(struct crypto_tfm *tfm) crypto_authenc_exit_tfm() argument
H A Dauthencesn.c639 static int crypto_authenc_esn_init_tfm(struct crypto_tfm *tfm) crypto_authenc_esn_init_tfm() argument
680 static void crypto_authenc_esn_exit_tfm(struct crypto_tfm *tfm) crypto_authenc_esn_exit_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.c273 static int pcrypt_aead_init_tfm(struct crypto_tfm *tfm) pcrypt_aead_init_tfm() argument
302 static void pcrypt_aead_exit_tfm(struct crypto_tfm *tfm) pcrypt_aead_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
676 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.c653 struct crypto_tfm *tfm; crypto_spawn_tfm() local
678 struct crypto_tfm *tfm; crypto_spawn_tfm2() local
907 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) crypto_tfm_in_queue() argument
H A Dalgif_skcipher.c310 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); skcipher_sendmsg() local
763 struct skcipher_tfm *tfm; skcipher_check_key() local
856 struct skcipher_tfm *tfm; skcipher_bind() local
876 struct skcipher_tfm *tfm = private; skcipher_release() local
884 struct skcipher_tfm *tfm = private; skcipher_setkey() local
907 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); skcipher_sock_destruct() local
922 struct skcipher_tfm *tfm = private; skcipher_accept_parent_nokey() local
961 struct skcipher_tfm *tfm = private; skcipher_accept_parent() local
H A Dblkcipher.c374 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, setkey_unaligned() argument
396 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) setkey() argument
412 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, async_setkey() argument
420 struct crypto_tfm *tfm = req->base.tfm; async_encrypt() local
434 struct crypto_tfm *tfm = req->base.tfm; async_decrypt() local
460 static int crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) crypto_init_blkcipher_ops_async() argument
478 static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) crypto_init_blkcipher_ops_sync() argument
497 static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_blkcipher_ops() argument
720 int skcipher_geniv_init(struct crypto_tfm *tfm) skcipher_geniv_init() argument
736 void skcipher_geniv_exit(struct crypto_tfm *tfm) skcipher_geniv_exit() argument
360 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.c81 struct crypto_cipher *tfm = ctx->cipher; crypto_ccm_setkey() local
104 static int crypto_ccm_setauthsize(struct crypto_aead *tfm, crypto_ccm_setauthsize() argument
164 static void compute_mac(struct crypto_cipher *tfm, u8 *data, int n, compute_mac() argument
203 static void get_data_to_compute(struct crypto_cipher *tfm, get_data_to_compute() argument
432 static int crypto_ccm_init_tfm(struct crypto_tfm *tfm) crypto_ccm_init_tfm() argument
467 static void crypto_ccm_exit_tfm(struct crypto_tfm *tfm) crypto_ccm_exit_tfm() argument
716 static int crypto_rfc4309_init_tfm(struct crypto_tfm *tfm) crypto_rfc4309_init_tfm() argument
740 static void crypto_rfc4309_exit_tfm(struct crypto_tfm *tfm) crypto_rfc4309_exit_tfm() 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.c274 struct crypto_aead *tfm; test_aead_speed() local
426 struct crypto_blkcipher *tfm; test_cipher_speed() local
692 struct crypto_hash *tfm; test_hash_speed() local
932 struct crypto_ahash *tfm; test_ahash_speed() local
1089 struct crypto_ablkcipher *tfm; test_acipher_speed() local
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 Dcryptd.c164 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) cryptd_get_queue() argument
253 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); cryptd_blkcipher_enqueue() local
273 static int cryptd_blkcipher_init_tfm(struct crypto_tfm *tfm) cryptd_blkcipher_init_tfm() argument
291 static void cryptd_blkcipher_exit_tfm(struct crypto_tfm *tfm) cryptd_blkcipher_exit_tfm() argument
394 static int cryptd_hash_init_tfm(struct crypto_tfm *tfm) cryptd_hash_init_tfm() argument
413 static void cryptd_hash_exit_tfm(struct crypto_tfm *tfm) cryptd_hash_exit_tfm() argument
440 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); cryptd_hash_enqueue() local
700 struct crypto_aead *tfm = crypto_aead_reqtfm(req); cryptd_aead_enqueue() local
718 static int cryptd_aead_init_tfm(struct crypto_tfm *tfm) cryptd_aead_init_tfm() argument
736 static void cryptd_aead_exit_tfm(struct crypto_tfm *tfm) cryptd_aead_exit_tfm() argument
855 struct crypto_tfm *tfm; cryptd_alloc_ablkcipher() local
876 struct crypto_blkcipher *cryptd_ablkcipher_child(struct cryptd_ablkcipher *tfm) cryptd_ablkcipher_child() argument
883 void cryptd_free_ablkcipher(struct cryptd_ablkcipher *tfm) cryptd_free_ablkcipher() argument
893 struct crypto_ahash *tfm; cryptd_alloc_ahash() local
910 struct crypto_shash *cryptd_ahash_child(struct cryptd_ahash *tfm) cryptd_ahash_child() argument
925 void cryptd_free_ahash(struct cryptd_ahash *tfm) cryptd_free_ahash() argument
935 struct crypto_aead *tfm; cryptd_alloc_aead() local
951 struct crypto_aead *cryptd_aead_child(struct cryptd_aead *tfm) cryptd_aead_child() argument
959 void cryptd_free_aead(struct cryptd_aead *tfm) cryptd_free_aead() argument
H A Ddrbg.c1583 struct crypto_shash *tfm; drbg_init_hash_kernel() local
1634 struct crypto_cipher *tfm; drbg_init_sym_kernel() local
1648 struct crypto_cipher *tfm = drbg_fini_sym_kernel() local
1659 struct crypto_cipher *tfm = drbg_kcapi_sym() local
1714 static int drbg_kcapi_init(struct crypto_tfm *tfm) drbg_kcapi_init() argument
1728 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) drbg_kcapi_cleanup() argument
1745 static int drbg_kcapi_random(struct crypto_rng *tfm, u8 *rdata, drbg_kcapi_random() argument
1771 static int drbg_kcapi_reset(struct crypto_rng *tfm, u8 *seed, unsigned int slen) drbg_kcapi_reset() argument
H A Dgcm.c170 static int crypto_gcm_setauthsize(struct crypto_aead *tfm, crypto_gcm_setauthsize() argument
651 static int crypto_gcm_init_tfm(struct crypto_tfm *tfm) crypto_gcm_init_tfm() argument
689 static void crypto_gcm_exit_tfm(struct crypto_tfm *tfm) crypto_gcm_exit_tfm() argument
933 static int crypto_rfc4106_init_tfm(struct crypto_tfm *tfm) crypto_rfc4106_init_tfm() argument
957 static void crypto_rfc4106_exit_tfm(struct crypto_tfm *tfm) crypto_rfc4106_exit_tfm() argument
1234 static int crypto_rfc4543_init_tfm(struct crypto_tfm *tfm) crypto_rfc4543_init_tfm() argument
1271 static void crypto_rfc4543_exit_tfm(struct crypto_tfm *tfm) crypto_rfc4543_exit_tfm() argument
H A Dtestmgr.c191 static int __test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, __test_hash() argument
390 static int test_hash(struct crypto_ahash *tfm, struct hash_testvec *template, test_hash() argument
417 static int __test_aead(struct crypto_aead *tfm, int enc, __test_aead() argument
798 static int test_aead(struct crypto_aead *tfm, int enc, test_aead() argument
831 static int test_cipher(struct crypto_cipher *tfm, int enc, test_cipher() argument
906 static int __test_skcipher(struct crypto_ablkcipher *tfm, int enc, __test_skcipher() argument
1151 static int test_skcipher(struct crypto_ablkcipher *tfm, int enc, test_skcipher() argument
1184 static int test_comp(struct crypto_comp *tfm, struct comp_testvec *ctemplate, test_comp() argument
1264 static int test_pcomp(struct crypto_pcomp *tfm, test_pcomp() argument
1441 static int test_cprng(struct crypto_rng *tfm, struct cprng_testvec *template, test_cprng() argument
1505 struct crypto_aead *tfm; alg_test_aead() local
1534 struct crypto_cipher *tfm; alg_test_cipher() local
1563 struct crypto_ablkcipher *tfm; alg_test_skcipher() local
1592 struct crypto_comp *tfm; alg_test_comp() local
1614 struct crypto_pcomp *tfm; alg_test_pcomp() local
1636 struct crypto_ahash *tfm; alg_test_hash() local
1659 struct crypto_shash *tfm; alg_test_crc32c() local
/linux-4.1.27/fs/btrfs/
H A Dhash.c18 static struct crypto_shash *tfm; variable in typeref:struct:crypto_shash
/linux-4.1.27/lib/
H A Dlibcrc32c.c40 static struct crypto_shash *tfm; variable in typeref:struct:crypto_shash
/linux-4.1.27/include/crypto/
H A Dcryptd.h23 __cryptd_ablkcipher_cast( struct crypto_ablkcipher *tfm) __cryptd_ablkcipher_cast() argument
39 __cryptd_ahash_cast( struct crypto_ahash *tfm) __cryptd_ahash_cast() argument
56 __cryptd_aead_cast( struct crypto_aead *tfm) __cryptd_aead_cast() argument
H A Drng.h30 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) __crypto_rng_cast() argument
65 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) crypto_rng_tfm() argument
78 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) crypto_rng_alg() argument
83 static inline struct rng_tfm *crypto_rng_crt(struct crypto_rng *tfm) crypto_rng_crt() argument
92 static inline void crypto_free_rng(struct crypto_rng *tfm) crypto_free_rng() argument
108 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, crypto_rng_get_bytes() argument
131 static inline int crypto_rng_reset(struct crypto_rng *tfm, crypto_rng_reset() argument
149 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) crypto_rng_seedsize() argument
H A Daead.h51 aead_givcrypt_set_tfm(struct aead_givcrypt_request *req, struct crypto_aead *tfm) aead_givcrypt_set_tfm() argument
57 aead_givcrypt_alloc( struct crypto_aead *tfm, gfp_t gfp) aead_givcrypt_alloc() argument
H A Dskcipher.h55 skcipher_givcrypt_set_tfm( struct skcipher_givcrypt_request *req, struct crypto_ablkcipher *tfm) skcipher_givcrypt_set_tfm() argument
68 skcipher_givcrypt_alloc( struct crypto_ablkcipher *tfm, gfp_t gfp) skcipher_givcrypt_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.h138 struct crypto_shash *tfm; member in struct:shash_desc
221 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) __crypto_ahash_cast() argument
243 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) crypto_ahash_tfm() argument
252 static inline void crypto_free_ahash(struct crypto_ahash *tfm) crypto_free_ahash() argument
285 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) crypto_ahash_digestsize() argument
290 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) crypto_ahash_statesize() argument
295 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) crypto_ahash_get_flags() argument
300 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) crypto_ahash_set_flags() argument
305 static inline void crypto_ahash_clear_flags(struct crypto_ahash *tfm, u32 flags) crypto_ahash_clear_flags() argument
336 static inline unsigned int crypto_ahash_reqsize(struct crypto_ahash *tfm) crypto_ahash_reqsize() argument
360 static inline bool crypto_ahash_has_setkey(struct crypto_ahash *tfm) crypto_ahash_has_setkey() argument
627 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) crypto_shash_tfm() argument
636 static inline void crypto_free_shash(struct crypto_shash *tfm) crypto_free_shash() argument
656 static inline unsigned int crypto_shash_blocksize(struct crypto_shash *tfm) crypto_shash_blocksize() argument
666 static inline struct shash_alg *crypto_shash_alg(struct crypto_shash *tfm) crypto_shash_alg() argument
680 static inline unsigned int crypto_shash_digestsize(struct crypto_shash *tfm) crypto_shash_digestsize() argument
685 static inline unsigned int crypto_shash_statesize(struct crypto_shash *tfm) crypto_shash_statesize() argument
690 static inline u32 crypto_shash_get_flags(struct crypto_shash *tfm) crypto_shash_get_flags() argument
695 static inline void crypto_shash_set_flags(struct crypto_shash *tfm, u32 flags) crypto_shash_set_flags() argument
700 static inline void crypto_shash_clear_flags(struct crypto_shash *tfm, u32 flags) crypto_shash_clear_flags() argument
720 static inline unsigned int crypto_shash_descsize(struct crypto_shash *tfm) crypto_shash_descsize() argument
257 crypto_ahash_alignmask( struct crypto_ahash *tfm) crypto_ahash_alignmask() argument
269 crypto_hash_alg_common( struct crypto_ahash *tfm) crypto_hash_alg_common() argument
492 ahash_request_set_tfm(struct ahash_request *req, struct crypto_ahash *tfm) ahash_request_set_tfm() argument
511 ahash_request_alloc( struct crypto_ahash *tfm, gfp_t gfp) ahash_request_alloc() argument
641 crypto_shash_alignmask( struct crypto_shash *tfm) crypto_shash_alignmask() argument
H A Dalgapi.h209 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) crypto_tfm_ctx_aligned() argument
232 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx() argument
237 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx_aligned() argument
242 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) crypto_aead_alg() argument
247 static inline void *crypto_aead_ctx(struct crypto_aead *tfm) crypto_aead_ctx() argument
267 static inline void *crypto_blkcipher_ctx(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx() argument
272 static inline void *crypto_blkcipher_ctx_aligned(struct crypto_blkcipher *tfm) crypto_blkcipher_ctx_aligned() argument
286 static inline struct cipher_alg *crypto_cipher_alg(struct crypto_cipher *tfm) crypto_cipher_alg() argument
299 static inline void *crypto_hash_ctx(struct crypto_hash *tfm) crypto_hash_ctx() argument
304 static inline void *crypto_hash_ctx_aligned(struct crypto_hash *tfm) crypto_hash_ctx_aligned() argument
215 crypto_tfm_alg_instance( struct crypto_tfm *tfm) crypto_tfm_alg_instance() argument
226 crypto_ablkcipher_alg( struct crypto_ablkcipher *tfm) crypto_ablkcipher_alg() argument
360 ablkcipher_tfm_in_queue(struct crypto_queue *queue, struct crypto_ablkcipher *tfm) ablkcipher_tfm_in_queue() argument
/linux-4.1.27/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.1.27/security/apparmor/
H A Dcrypto.c76 struct crypto_shash *tfm; init_profile_hash() local
/linux-4.1.27/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-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
102 static int ccm4309_aes_nx_setauthsize(struct crypto_aead *tfm, ccm4309_aes_nx_setauthsize() argument
H A Dnx-aes-gcm.c35 static int gcm_aes_nx_set_key(struct crypto_aead *tfm, gcm_aes_nx_set_key() argument
74 static int gcm4106_aes_nx_set_key(struct crypto_aead *tfm, gcm4106_aes_nx_set_key() argument
96 static int gcm_aes_nx_setauthsize(struct crypto_aead *tfm, gcm_aes_nx_setauthsize() argument
107 static int gcm4106_aes_nx_setauthsize(struct crypto_aead *tfm, gcm4106_aes_nx_setauthsize() argument
H A Dnx.c636 int nx_crypto_ctx_aes_ccm_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_ccm_init() argument
643 int nx_crypto_ctx_aes_gcm_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_gcm_init() argument
650 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_ctr_init() argument
656 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_cbc_init() argument
662 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_ecb_init() argument
668 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm) nx_crypto_ctx_sha_init() argument
673 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm) nx_crypto_ctx_aes_xcbc_init() argument
687 void nx_crypto_ctx_exit(struct crypto_tfm *tfm) nx_crypto_ctx_exit() argument
/linux-4.1.27/drivers/crypto/vmx/
H A Daes.c38 static int p8_aes_init(struct crypto_tfm *tfm) p8_aes_init() argument
65 static void p8_aes_exit(struct crypto_tfm *tfm) p8_aes_exit() argument
75 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, p8_aes_setkey() argument
92 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) p8_aes_encrypt() argument
107 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
66 static void p8_aes_cbc_exit(struct crypto_tfm *tfm) p8_aes_cbc_exit() argument
76 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
64 static void p8_aes_ctr_exit(struct crypto_tfm *tfm) p8_aes_ctr_exit() argument
74 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
87 static void p8_ghash_exit_tfm(struct crypto_tfm *tfm) p8_ghash_exit_tfm() argument
109 static int p8_ghash_setkey(struct crypto_shash *tfm, const u8 *key, p8_ghash_setkey() argument
/linux-4.1.27/crypto/asymmetric_keys/
H A Dpkcs7_verify.c28 struct crypto_shash *tfm; pkcs7_digest() local
H A Dverify_pefile.c325 struct crypto_shash *tfm; pefile_digest_pe() local
H A Dx509_public_key.c130 struct crypto_shash *tfm; x509_get_sig_params() local
/linux-4.1.27/net/mac80211/
H A Daes_ccm.c22 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_encrypt() argument
48 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_decrypt() argument
80 struct crypto_aead *tfm; ieee80211_aes_key_setup_encrypt() local
101 void ieee80211_aes_key_free(struct crypto_aead *tfm) ieee80211_aes_key_free() argument
H A Daes_gcm.c19 void ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, ieee80211_aes_gcm_encrypt() argument
44 int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, ieee80211_aes_gcm_decrypt() argument
75 struct crypto_aead *tfm; ieee80211_aes_gcm_key_setup_encrypt() local
96 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
64 struct crypto_aead *tfm; ieee80211_aes_gmac_key_setup() local
81 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.h89 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14148::__anon14150
95 struct crypto_cipher *tfm; member in struct:ieee80211_key::__anon14148::__anon14151
102 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14148::__anon14152
114 struct crypto_aead *tfm; member in struct:ieee80211_key::__anon14148::__anon14153
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.1.27/net/mac802154/
H A Dllsec.h32 struct crypto_aead *tfm[3]; member in struct:mac802154_llsec_key
/linux-4.1.27/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.1.27/drivers/crypto/qce/
H A Dcipher.h60 static inline struct qce_alg_template *to_cipher_tmpl(struct crypto_tfm *tfm) to_cipher_tmpl() argument
H A Dsha.h70 static inline struct qce_alg_template *to_ahash_tmpl(struct crypto_tfm *tfm) to_ahash_tmpl() argument
H A Dablkcipher.c165 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablk); qce_ablkcipher_setkey() local
205 struct crypto_tfm *tfm = qce_ablkcipher_crypt() local
237 static int qce_ablkcipher_init(struct crypto_tfm *tfm) qce_ablkcipher_init() argument
254 static void qce_ablkcipher_exit(struct crypto_tfm *tfm) qce_ablkcipher_exit() argument
H A Dsha.c235 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); qce_ahash_update() local
367 static int qce_ahash_hmac_setkey(struct crypto_ahash *tfm, const u8 *key, qce_ahash_hmac_setkey() argument
440 static int qce_ahash_cra_init(struct crypto_tfm *tfm) qce_ahash_cra_init() argument
/linux-4.1.27/arch/s390/crypto/
H A Dghash_s390.c40 static int ghash_setkey(struct crypto_shash *tfm, ghash_setkey() argument
H A Ddes_s390.c35 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, des_setkey() argument
52 static void des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) des_encrypt() argument
59 static void des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) des_decrypt() argument
239 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, des3_setkey() argument
256 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_encrypt() argument
263 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) des3_decrypt() argument
H A Daes_s390.c94 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, setkey_fallback_cip() argument
113 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, aes_set_key() argument
135 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_encrypt() argument
160 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) aes_decrypt() argument
185 static int fallback_init_cip(struct crypto_tfm *tfm) fallback_init_cip() argument
202 static void fallback_exit_cip(struct crypto_tfm *tfm) fallback_exit_cip() argument
232 static int setkey_fallback_blk(struct crypto_tfm *tfm, const u8 *key, setkey_fallback_blk() argument
256 struct crypto_blkcipher *tfm; fallback_blk_dec() local
273 struct crypto_blkcipher *tfm; fallback_blk_enc() local
285 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, ecb_aes_set_key() argument
366 static int fallback_init_blk(struct crypto_tfm *tfm) fallback_init_blk() argument
383 static void fallback_exit_blk(struct crypto_tfm *tfm) fallback_exit_blk() argument
414 static int cbc_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, cbc_aes_set_key() argument
531 static int xts_fallback_setkey(struct crypto_tfm *tfm, const u8 *key, xts_fallback_setkey() argument
555 struct crypto_blkcipher *tfm; xts_fallback_decrypt() local
572 struct crypto_blkcipher *tfm; xts_fallback_encrypt() local
584 static int xts_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, xts_aes_set_key() argument
690 static int xts_fallback_init(struct crypto_tfm *tfm) xts_fallback_init() argument
706 static void xts_fallback_exit(struct crypto_tfm *tfm) xts_fallback_exit() argument
740 static int ctr_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, ctr_aes_set_key() argument
/linux-4.1.27/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.1.27/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_fname.c65 struct crypto_ablkcipher *tfm = ctx->ctfm; ext4_fname_encrypt() local
143 struct crypto_ablkcipher *tfm = ctx->ctfm; ext4_fname_decrypt() local
H A Dext4_crypto.h79 struct crypto_tfm *tfm; /* Crypto API context */ member in struct:ext4_crypto_ctx
/linux-4.1.27/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.1.27/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
241 static int ccp_aes_cmac_setkey(struct crypto_ahash *tfm, const u8 *key, ccp_aes_cmac_setkey() argument
320 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) ccp_aes_cmac_cra_init() argument
343 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
149 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ccp_sha_init() local
237 static int ccp_sha_setkey(struct crypto_ahash *tfm, const u8 *key, ccp_sha_setkey() argument
288 static int ccp_sha_cra_init(struct crypto_tfm *tfm) ccp_sha_cra_init() argument
301 static void ccp_sha_cra_exit(struct crypto_tfm *tfm) ccp_sha_cra_exit() argument
305 static int ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) ccp_hmac_sha_cra_init() argument
323 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.1.27/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.1.27/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.1.27/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.1.27/kernel/
H A Dmodule_signing.c48 struct crypto_shash *tfm; mod_make_digest() local
/linux-4.1.27/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.1.27/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.c661 struct crypto_hash *tfm = tkey->tx_tfm_michael; rtllib_tkip_set_key() local
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_auth.c188 struct crypto_hash *tfm; chap_server_compute_md5() local
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dcapa.c80 unsigned int ll_crypto_tfm_alg_min_keysize(struct crypto_blkcipher *tfm) ll_crypto_tfm_alg_min_keysize() argument
242 static inline int ll_crypto_hmac(struct crypto_hash *tfm, ll_crypto_hmac() argument
261 struct crypto_hash *tfm; capa_hmac() local
294 struct crypto_blkcipher *tfm; capa_encrypt_id() local
347 struct crypto_blkcipher *tfm; capa_decrypt_id() local
/linux-4.1.27/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.c992 static int crypto4xx_alg_init(struct crypto_tfm *tfm) crypto4xx_alg_init() argument
1018 static void crypto4xx_alg_exit(struct crypto_tfm *tfm) crypto4xx_alg_exit() argument
/linux-4.1.27/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.c150 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_init() local
437 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_final() local
450 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); bfin_crypto_crc_finup() local
473 static int bfin_crypto_crc_setkey(struct crypto_ahash *tfm, const u8 *key, bfin_crypto_crc_setkey() argument
489 static int bfin_crypto_crc_cra_init(struct crypto_tfm *tfm) bfin_crypto_crc_cra_init() argument
500 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
H A Datmel-aes.c823 static int atmel_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_aes_setkey() argument
948 static int atmel_aes_cra_init(struct crypto_tfm *tfm) atmel_aes_cra_init() argument
955 static void atmel_aes_cra_exit(struct crypto_tfm *tfm) atmel_aes_cra_exit() argument
H A Dixp4xx_crypto.c147 struct crypto_tfm *tfm; member in union:crypt_ctl::__anon3810
235 static inline u32 cipher_cfg_enc(struct crypto_tfm *tfm) cipher_cfg_enc() argument
240 static inline u32 cipher_cfg_dec(struct crypto_tfm *tfm) cipher_cfg_dec() argument
245 static inline const struct ix_hash_algo *ix_hash(struct crypto_tfm *tfm) ix_hash() argument
340 struct crypto_aead *tfm = crypto_aead_reqtfm(req); finish_scattered_hmac() local
554 static int init_tfm(struct crypto_tfm *tfm) init_tfm() argument
570 static int init_tfm_ablk(struct crypto_tfm *tfm) init_tfm_ablk() argument
576 static int init_tfm_aead(struct crypto_tfm *tfm) init_tfm_aead() argument
582 static void exit_tfm(struct crypto_tfm *tfm) exit_tfm() argument
589 static int register_chain_var(struct crypto_tfm *tfm, u8 xpad, u32 target, register_chain_var() argument
645 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, setup_auth() argument
692 static int gen_rev_aes_key(struct crypto_tfm *tfm) gen_rev_aes_key() argument
720 static int setup_cipher(struct crypto_tfm *tfm, int encrypt, setup_cipher() argument
814 static int ablk_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ablk_setkey() argument
850 static int ablk_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ablk_rfc3686_setkey() argument
868 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_perform() local
951 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_rfc3686_crypt() local
992 struct crypto_aead *tfm = crypto_aead_reqtfm(req); aead_perform() local
1094 static int aead_setup(struct crypto_aead *tfm, unsigned int authsize) aead_setup() argument
1138 static int aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) aead_setauthsize() argument
1147 static int aead_setkey(struct crypto_aead *tfm, const u8 *key, aead_setkey() argument
1189 struct crypto_aead *tfm = aead_givcrypt_reqtfm(req); aead_givencrypt() local
H A Dmv_cesa.c197 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); mv_setkey_aes() local
697 static int mv_cra_init(struct crypto_tfm *tfm) mv_cra_init() argument
773 static int mv_hash_setkey(struct crypto_ahash *tfm, const u8 * key, mv_hash_setkey() argument
838 static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name, mv_cra_hash_init() argument
886 static void mv_cra_hash_exit(struct crypto_tfm *tfm) mv_cra_hash_exit() argument
895 static int mv_cra_hash_sha1_init(struct crypto_tfm *tfm) mv_cra_hash_sha1_init() argument
900 static int mv_cra_hash_hmac_sha1_init(struct crypto_tfm *tfm) mv_cra_hash_hmac_sha1_init() argument
H A Domap-aes.c416 static int omap_aes_crypt_dma(struct crypto_tfm *tfm, omap_aes_crypt_dma() argument
499 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( omap_aes_crypt_dma_start() local
745 static int omap_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, omap_aes_setkey() argument
792 static int omap_aes_cra_init(struct crypto_tfm *tfm) omap_aes_cra_init() argument
816 static void omap_aes_cra_exit(struct crypto_tfm *tfm) omap_aes_cra_exit() argument
H A Domap-des.c400 static int omap_des_crypt_dma(struct crypto_tfm *tfm, omap_des_crypt_dma() argument
483 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( omap_des_crypt_dma_start() local
727 static int omap_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, omap_des_setkey() argument
763 static int omap_des_cra_init(struct crypto_tfm *tfm) omap_des_cra_init() argument
772 static void omap_des_cra_exit(struct crypto_tfm *tfm) omap_des_cra_exit() argument
H A Dpicoxcell_crypto.c448 struct crypto_tfm *tfm = crypto_aead_tfm(aead); spacc_aead_des_setkey() local
468 struct crypto_tfm *tfm = crypto_aead_tfm(aead); spacc_aead_aes_setkey() local
493 static int spacc_aead_setkey(struct crypto_aead *tfm, const u8 *key, spacc_aead_setkey() argument
529 static int spacc_aead_setauthsize(struct crypto_aead *tfm, spacc_aead_setauthsize() argument
547 struct crypto_tfm *tfm = req->req->tfm; spacc_aead_need_fallback() local
597 struct crypto_tfm *tfm = req->req->tfm; spacc_aead_submit() local
731 struct crypto_tfm *tfm = crypto_aead_tfm(aead); spacc_aead_encrypt() local
739 struct crypto_aead *tfm = aead_givcrypt_reqtfm(req); spacc_aead_givencrypt() local
761 struct crypto_tfm *tfm = crypto_aead_tfm(aead); spacc_aead_decrypt() local
771 static int spacc_aead_cra_init(struct crypto_tfm *tfm) spacc_aead_cra_init() argument
802 static void spacc_aead_cra_exit(struct crypto_tfm *tfm) spacc_aead_cra_exit() argument
818 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); spacc_des_setkey() local
846 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); spacc_aes_setkey() local
893 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); spacc_kasumi_f8_setkey() local
913 struct crypto_tfm *tfm = req->req->tfm; spacc_ablk_need_fallback() local
944 struct crypto_tfm *tfm = req->req->tfm; spacc_ablk_submit() local
1077 static int spacc_ablk_cra_init(struct crypto_tfm *tfm) spacc_ablk_cra_init() argument
1103 static void spacc_ablk_cra_exit(struct crypto_tfm *tfm) spacc_ablk_cra_exit() argument
1115 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); spacc_ablk_encrypt() local
1124 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); spacc_ablk_decrypt() local
H A Ds5p-sss.c533 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); s5p_aes_crypt() local
551 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); s5p_aes_setkey() local
585 static int s5p_aes_cra_init(struct crypto_tfm *tfm) s5p_aes_cra_init() argument
H A Dsahara.c627 static int sahara_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, sahara_aes_setkey() argument
692 struct crypto_tfm *tfm = sahara_aes_ecb_encrypt() local
710 struct crypto_tfm *tfm = sahara_aes_ecb_decrypt() local
728 struct crypto_tfm *tfm = sahara_aes_cbc_encrypt() local
746 struct crypto_tfm *tfm = sahara_aes_cbc_decrypt() local
762 static int sahara_aes_cra_init(struct crypto_tfm *tfm) sahara_aes_cra_init() argument
779 static void sahara_aes_cra_exit(struct crypto_tfm *tfm) sahara_aes_cra_exit() argument
958 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sahara_sha_prepare_request() local
1171 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sahara_sha_init() local
1246 static int sahara_sha_cra_init(struct crypto_tfm *tfm) sahara_sha_cra_init() argument
1264 static void sahara_sha_cra_exit(struct crypto_tfm *tfm) sahara_sha_cra_exit() argument
/linux-4.1.27/net/bluetooth/
H A Damp.c136 struct crypto_shash *tfm; hmac_sha256() local
/linux-4.1.27/security/integrity/evm/
H A Devm_crypto.c39 struct crypto_shash **tfm; init_desc() local
/linux-4.1.27/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
378 struct crypto_tfm *tfm = data->tfm; ieee80211_ccmp_set_key() local
H A Dieee80211_crypt_tkip.c659 struct crypto_hash *tfm = tkey->tx_tfm_michael; ieee80211_tkip_set_key() local
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c707 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_init() local
721 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_update() local
734 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_finup() local
747 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_final() local
758 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); sha1_mb_async_digest() local
768 static int sha1_mb_async_init_tfm(struct crypto_tfm *tfm) sha1_mb_async_init_tfm() argument
789 static void sha1_mb_async_exit_tfm(struct crypto_tfm *tfm) sha1_mb_async_exit_tfm() argument
/linux-4.1.27/net/ceph/
H A Dcrypto.c169 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt() local
229 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_encrypt2() local
291 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt() local
356 struct crypto_blkcipher *tfm = ceph_crypto_alloc_cipher(); ceph_aes_decrypt2() local
/linux-4.1.27/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.1.27/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.1.27/mm/
H A Dzswap.c114 struct crypto_comp *tfm; zswap_comp_op() local
343 struct crypto_comp *tfm; __zswap_cpu_notifier() local
/linux-4.1.27/net/sctp/
H A Dauth.c451 struct crypto_hash *tfm = NULL; sctp_auth_init_hmacs() local
/linux-4.1.27/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.1.27/drivers/md/
H A Ddm-verity.c60 struct crypto_shash *tfm; member in struct:dm_verity
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_crypto.h218 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) crypto_tfm_alg_name() argument
223 static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm) crypto_tfm_alg_modname() argument
233 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) crypto_tfm_alg_type() argument
238 static inline unsigned int crypto_tfm_alg_min_keysize(struct crypto_tfm *tfm) crypto_tfm_alg_min_keysize() argument
244 static inline unsigned int crypto_tfm_alg_max_keysize(struct crypto_tfm *tfm) crypto_tfm_alg_max_keysize() argument
250 static inline unsigned int crypto_tfm_alg_ivsize(struct crypto_tfm *tfm) crypto_tfm_alg_ivsize() argument
256 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) crypto_tfm_alg_blocksize() argument
261 static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm) crypto_tfm_alg_digestsize() argument
270 static inline void crypto_digest_init(struct crypto_tfm *tfm) crypto_digest_init() argument
276 static inline void crypto_digest_update(struct crypto_tfm *tfm, crypto_digest_update() argument
284 static inline void crypto_digest_final(struct crypto_tfm *tfm, u8 *out) crypto_digest_final() argument
290 static inline void crypto_digest_digest(struct crypto_tfm *tfm, crypto_digest_digest() argument
298 static inline int crypto_digest_setkey(struct crypto_tfm *tfm, crypto_digest_setkey() argument
307 static inline int crypto_cipher_setkey(struct crypto_tfm *tfm, crypto_cipher_setkey() argument
314 static inline int crypto_cipher_encrypt(struct crypto_tfm *tfm, crypto_cipher_encrypt() argument
323 static inline int crypto_cipher_encrypt_iv(struct crypto_tfm *tfm, crypto_cipher_encrypt_iv() argument
333 static inline int crypto_cipher_decrypt(struct crypto_tfm *tfm, crypto_cipher_decrypt() argument
342 static inline int crypto_cipher_decrypt_iv(struct crypto_tfm *tfm, crypto_cipher_decrypt_iv() argument
352 static inline void crypto_cipher_set_iv(struct crypto_tfm *tfm, crypto_cipher_set_iv() argument
359 static inline void crypto_cipher_get_iv(struct crypto_tfm *tfm, crypto_cipher_get_iv() argument
366 static inline int crypto_comp_compress(struct crypto_tfm *tfm, crypto_comp_compress() argument
374 static inline int crypto_comp_decompress(struct crypto_tfm *tfm, crypto_comp_decompress() argument
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamhash.c1748 static int caam_hash_cra_init(struct crypto_tfm *tfm) caam_hash_cra_init() argument
1792 static void caam_hash_cra_exit(struct crypto_tfm *tfm) caam_hash_cra_exit() argument
H A Dcaamalg.c261 struct aead_tfm *tfm = &aead->base.crt_aead; aead_null_set_sh_desc() local
452 struct aead_tfm *tfm = &aead->base.crt_aead; aead_set_sh_desc() local
741 struct aead_tfm *tfm = &aead->base.crt_aead; gcm_set_sh_desc() local
971 struct aead_tfm *tfm = &aead->base.crt_aead; rfc4106_set_sh_desc() local
1252 struct aead_tfm *tfm = &aead->base.crt_aead; rfc4543_set_sh_desc() local
1831 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); ablkcipher_setkey() local
4135 static int caam_cra_init(struct crypto_tfm *tfm) caam_cra_init() argument
4156 static void caam_cra_exit(struct crypto_tfm *tfm) caam_cra_exit() argument
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_algs.c116 struct crypto_tfm *tfm; member in struct:qat_alg_aead_ctx
129 struct crypto_tfm *tfm; member in struct:qat_alg_ablkcipher_ctx
564 static int qat_alg_aead_setkey(struct crypto_aead *tfm, const uint8_t *key, qat_alg_aead_setkey() argument
840 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); qat_alg_aead_dec() local
885 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); qat_alg_aead_enc_internal() local
939 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); qat_alg_aead_genivenc() local
950 static int qat_alg_ablkcipher_setkey(struct crypto_ablkcipher *tfm, qat_alg_ablkcipher_setkey() argument
1014 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); qat_alg_ablkcipher_encrypt() local
1052 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); qat_alg_ablkcipher_decrypt() local
1087 static int qat_alg_aead_init(struct crypto_tfm *tfm, qat_alg_aead_init() argument
1104 static int qat_alg_aead_sha1_init(struct crypto_tfm *tfm) qat_alg_aead_sha1_init() argument
1109 static int qat_alg_aead_sha256_init(struct crypto_tfm *tfm) qat_alg_aead_sha256_init() argument
1114 static int qat_alg_aead_sha512_init(struct crypto_tfm *tfm) qat_alg_aead_sha512_init() argument
1119 static void qat_alg_aead_exit(struct crypto_tfm *tfm) qat_alg_aead_exit() argument
1145 static int qat_alg_ablkcipher_init(struct crypto_tfm *tfm) qat_alg_ablkcipher_init() argument
1156 static void qat_alg_ablkcipher_exit(struct crypto_tfm *tfm) qat_alg_ablkcipher_exit() argument
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c1093 static int cryp_cra_init(struct crypto_tfm *tfm) cryp_cra_init() argument
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c566 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hash_init() local
871 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hash_dma_final() local
977 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hash_hw_final() local
1084 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hash_hw_update() local
1346 static int hash_setkey(struct crypto_ahash *tfm, hash_setkey() argument
1368 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_sha1_init() local
1381 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); ahash_sha256_init() local
1424 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hmac_sha1_init() local
1437 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); hmac_sha256_init() local
1478 static int hmac_sha1_setkey(struct crypto_ahash *tfm, hmac_sha1_setkey() argument
1484 static int hmac_sha256_setkey(struct crypto_ahash *tfm, hmac_sha256_setkey() argument
1495 static int hash_cra_init(struct crypto_tfm *tfm) hash_cra_init() argument
/linux-4.1.27/security/keys/encrypted-keys/
H A Dencrypted.c88 struct crypto_blkcipher *tfm; aes_get_sizes() local

Completed in 2169 milliseconds

12