/linux-3.3/include/linux/ |
D | crypto.h | 128 struct crypto_tfm *tfm; member 173 struct crypto_blkcipher *tfm; member 179 struct crypto_tfm *tfm; member 187 struct crypto_hash *tfm; member 487 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm() 497 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 502 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name() 507 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority() 512 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type() 517 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() [all …]
|
/linux-3.3/include/crypto/ |
D | rng.h | 23 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) in __crypto_rng_cast() 38 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm() 43 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg() 48 static inline struct rng_tfm *crypto_rng_crt(struct crypto_rng *tfm) in crypto_rng_crt() 53 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng() 58 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes() 64 static inline int crypto_rng_reset(struct crypto_rng *tfm, in crypto_rng_reset() 70 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
|
D | hash.h | 55 struct crypto_shash *tfm; member 105 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 113 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 118 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash() 124 struct crypto_ahash *tfm) in crypto_ahash_alignmask() 136 struct crypto_ahash *tfm) in crypto_hash_alg_common() 141 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize() 146 static inline unsigned int crypto_ahash_statesize(struct crypto_ahash *tfm) in crypto_ahash_statesize() 151 static inline u32 crypto_ahash_get_flags(struct crypto_ahash *tfm) in crypto_ahash_get_flags() 156 static inline void crypto_ahash_set_flags(struct crypto_ahash *tfm, u32 flags) in crypto_ahash_set_flags() [all …]
|
D | compress.h | 79 static inline struct crypto_tfm *crypto_pcomp_tfm(struct crypto_pcomp *tfm) in crypto_pcomp_tfm() 84 static inline void crypto_free_pcomp(struct crypto_pcomp *tfm) in crypto_free_pcomp() 94 static inline struct pcomp_alg *crypto_pcomp_alg(struct crypto_pcomp *tfm) in crypto_pcomp_alg() 99 static inline int crypto_compress_setup(struct crypto_pcomp *tfm, in crypto_compress_setup() 105 static inline int crypto_compress_init(struct crypto_pcomp *tfm) in crypto_compress_init() 110 static inline int crypto_compress_update(struct crypto_pcomp *tfm, in crypto_compress_update() 116 static inline int crypto_compress_final(struct crypto_pcomp *tfm, in crypto_compress_final() 122 static inline int crypto_decompress_setup(struct crypto_pcomp *tfm, in crypto_decompress_setup() 128 static inline int crypto_decompress_init(struct crypto_pcomp *tfm) in crypto_decompress_init() 133 static inline int crypto_decompress_update(struct crypto_pcomp *tfm, in crypto_decompress_update() [all …]
|
/linux-3.3/drivers/staging/rtl8192u/ieee80211/ |
D | cipher.c | 48 static int crypt(struct crypto_tfm *tfm, in crypt() 99 static void cbc_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, in cbc_process() 124 static void ecb_process(struct crypto_tfm *tfm, u8 *dst, u8 *src, in ecb_process() 130 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 142 static int ecb_encrypt(struct crypto_tfm *tfm, in ecb_encrypt() 151 static int ecb_decrypt(struct crypto_tfm *tfm, in ecb_decrypt() 161 static int cbc_encrypt(struct crypto_tfm *tfm, in cbc_encrypt() 171 static int cbc_encrypt_iv(struct crypto_tfm *tfm, in cbc_encrypt_iv() 181 static int cbc_decrypt(struct crypto_tfm *tfm, in cbc_decrypt() 191 static int cbc_decrypt_iv(struct crypto_tfm *tfm, in cbc_decrypt_iv() [all …]
|
D | digest.c | 22 static void init(struct crypto_tfm *tfm) in init() 27 static void update(struct crypto_tfm *tfm, in update() 56 static void final(struct crypto_tfm *tfm, u8 *out) in final() 61 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 70 static void digest(struct crypto_tfm *tfm, in digest() 87 int crypto_init_digest_flags(struct crypto_tfm *tfm, u32 flags) in crypto_init_digest_flags() 92 int crypto_init_digest_ops(struct crypto_tfm *tfm) in crypto_init_digest_ops() 105 void crypto_exit_digest_ops(struct crypto_tfm *tfm) in crypto_exit_digest_ops()
|
D | rtl_crypto.h | 221 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 226 static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm) in crypto_tfm_alg_modname() 236 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type() 241 static inline unsigned int crypto_tfm_alg_min_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_min_keysize() 247 static inline unsigned int crypto_tfm_alg_max_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_max_keysize() 253 static inline unsigned int crypto_tfm_alg_ivsize(struct crypto_tfm *tfm) in crypto_tfm_alg_ivsize() 259 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() 264 static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm) in crypto_tfm_alg_digestsize() 273 static inline void crypto_digest_init(struct crypto_tfm *tfm) in crypto_digest_init() 279 static inline void crypto_digest_update(struct crypto_tfm *tfm, in crypto_digest_update() [all …]
|
D | compress.c | 22 static int crypto_compress(struct crypto_tfm *tfm, in crypto_compress() 31 static int crypto_decompress(struct crypto_tfm *tfm, in crypto_decompress() 40 int crypto_init_compress_flags(struct crypto_tfm *tfm, u32 flags) in crypto_init_compress_flags() 45 int crypto_init_compress_ops(struct crypto_tfm *tfm) in crypto_init_compress_ops() 61 void crypto_exit_compress_ops(struct crypto_tfm *tfm) in crypto_exit_compress_ops()
|
D | internal.h | 43 static inline void crypto_yield(struct crypto_tfm *tfm) in crypto_yield() 49 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() 70 static inline int crypto_alloc_hmac_block(struct crypto_tfm *tfm) in crypto_alloc_hmac_block() 75 static inline void crypto_free_hmac_block(struct crypto_tfm *tfm) in crypto_free_hmac_block()
|
/linux-3.3/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_crypto.h | 218 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name() 223 static inline const char *crypto_tfm_alg_modname(struct crypto_tfm *tfm) in crypto_tfm_alg_modname() 233 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type() 238 static inline unsigned int crypto_tfm_alg_min_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_min_keysize() 244 static inline unsigned int crypto_tfm_alg_max_keysize(struct crypto_tfm *tfm) in crypto_tfm_alg_max_keysize() 250 static inline unsigned int crypto_tfm_alg_ivsize(struct crypto_tfm *tfm) in crypto_tfm_alg_ivsize() 256 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize() 261 static inline unsigned int crypto_tfm_alg_digestsize(struct crypto_tfm *tfm) in crypto_tfm_alg_digestsize() 270 static inline void crypto_digest_init(struct crypto_tfm *tfm) in crypto_digest_init() 276 static inline void crypto_digest_update(struct crypto_tfm *tfm, in crypto_digest_update() [all …]
|
/linux-3.3/crypto/ |
D | cipher.c | 23 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 46 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 65 struct crypto_tfm *tfm, in cipher_crypt_unaligned() 78 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, in cipher_encrypt_unaligned() 92 static void cipher_decrypt_unaligned(struct crypto_tfm *tfm, in cipher_decrypt_unaligned() 106 int crypto_init_cipher_ops(struct crypto_tfm *tfm) in crypto_init_cipher_ops() 120 void crypto_exit_cipher_ops(struct crypto_tfm *tfm) in crypto_exit_cipher_ops()
|
D | zlib.c | 67 static int zlib_init(struct crypto_tfm *tfm) in zlib_init() 72 static void zlib_exit(struct crypto_tfm *tfm) in zlib_exit() 81 static int zlib_compress_setup(struct crypto_pcomp *tfm, void *params, in zlib_compress_setup() 130 static int zlib_compress_init(struct crypto_pcomp *tfm) in zlib_compress_init() 143 static int zlib_compress_update(struct crypto_pcomp *tfm, in zlib_compress_update() 181 static int zlib_compress_final(struct crypto_pcomp *tfm, in zlib_compress_final() 212 static int zlib_decompress_setup(struct crypto_pcomp *tfm, void *params, in zlib_decompress_setup() 244 static int zlib_decompress_init(struct crypto_pcomp *tfm) in zlib_decompress_init() 257 static int zlib_decompress_update(struct crypto_pcomp *tfm, in zlib_decompress_update() 296 static int zlib_decompress_final(struct crypto_pcomp *tfm, in zlib_decompress_final()
|
D | compress.c | 20 static int crypto_compress(struct crypto_tfm *tfm, in crypto_compress() 28 static int crypto_decompress(struct crypto_tfm *tfm, in crypto_decompress() 36 int crypto_init_compress_ops(struct crypto_tfm *tfm) in crypto_init_compress_ops() 46 void crypto_exit_compress_ops(struct crypto_tfm *tfm) in crypto_exit_compress_ops()
|
D | blkcipher.c | 73 static inline unsigned int blkcipher_done_slow(struct crypto_blkcipher *tfm, in blkcipher_done_slow() 108 struct crypto_blkcipher *tfm = desc->tfm; in blkcipher_walk_done() local 229 struct crypto_blkcipher *tfm = desc->tfm; in blkcipher_walk_next() local 281 struct crypto_blkcipher *tfm, in blkcipher_copy_iv() 326 struct crypto_blkcipher *tfm = desc->tfm; in blkcipher_walk_first() local 361 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 383 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 399 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in async_setkey() 407 struct crypto_tfm *tfm = req->base.tfm; in async_encrypt() local 421 struct crypto_tfm *tfm = req->base.tfm; in async_decrypt() local [all …]
|
D | pcbc.c | 47 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_segment() 72 struct crypto_cipher *tfm) in crypto_pcbc_encrypt_inplace() 102 struct crypto_blkcipher *tfm = desc->tfm; in crypto_pcbc_encrypt() local 125 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_segment() 152 struct crypto_cipher *tfm) in crypto_pcbc_decrypt_inplace() 182 struct crypto_blkcipher *tfm = desc->tfm; in crypto_pcbc_decrypt() local 203 static int crypto_pcbc_init_tfm(struct crypto_tfm *tfm) in crypto_pcbc_init_tfm() 218 static void crypto_pcbc_exit_tfm(struct crypto_tfm *tfm) in crypto_pcbc_exit_tfm()
|
D | cbc.c | 44 struct crypto_cipher *tfm) in crypto_cbc_encrypt_segment() 68 struct crypto_cipher *tfm) in crypto_cbc_encrypt_inplace() 95 struct crypto_blkcipher *tfm = desc->tfm; in crypto_cbc_encrypt() local 116 struct crypto_cipher *tfm) in crypto_cbc_decrypt_segment() 142 struct crypto_cipher *tfm) in crypto_cbc_decrypt_inplace() 174 struct crypto_blkcipher *tfm = desc->tfm; in crypto_cbc_decrypt() local 193 static int crypto_cbc_init_tfm(struct crypto_tfm *tfm) in crypto_cbc_init_tfm() 208 static void crypto_cbc_exit_tfm(struct crypto_tfm *tfm) in crypto_cbc_exit_tfm()
|
D | shash.c | 27 static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key, in shash_no_setkey() 33 static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key, in shash_setkey_unaligned() 54 int crypto_shash_setkey(struct crypto_shash *tfm, const u8 *key, in crypto_shash_setkey() 76 struct crypto_shash *tfm = desc->tfm; in shash_update_unaligned() local 100 struct crypto_shash *tfm = desc->tfm; in crypto_shash_update() local 113 struct crypto_shash *tfm = desc->tfm; in shash_final_unaligned() local 135 struct crypto_shash *tfm = desc->tfm; in crypto_shash_final() local 156 struct crypto_shash *tfm = desc->tfm; in crypto_shash_finup() local 177 struct crypto_shash *tfm = desc->tfm; in crypto_shash_digest() local 200 static int shash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in shash_async_setkey() [all …]
|
D | ctr.c | 50 struct crypto_cipher *tfm) in crypto_ctr_crypt_final() 69 struct crypto_cipher *tfm) in crypto_ctr_crypt_segment() 95 struct crypto_cipher *tfm) in crypto_ctr_crypt_inplace() 126 struct crypto_blkcipher *tfm = desc->tfm; in crypto_ctr_crypt() local 152 static int crypto_ctr_init_tfm(struct crypto_tfm *tfm) in crypto_ctr_init_tfm() 168 static void crypto_ctr_exit_tfm(struct crypto_tfm *tfm) in crypto_ctr_exit_tfm() 276 struct crypto_blkcipher *tfm = desc->tfm; in crypto_rfc3686_crypt() local 302 static int crypto_rfc3686_init_tfm(struct crypto_tfm *tfm) in crypto_rfc3686_init_tfm() 318 static void crypto_rfc3686_exit_tfm(struct crypto_tfm *tfm) in crypto_rfc3686_exit_tfm()
|
D | cryptd.c | 159 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() 234 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cryptd_blkcipher_enqueue() local 254 static int cryptd_blkcipher_init_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_init_tfm() 272 static void cryptd_blkcipher_exit_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_exit_tfm() 369 static int cryptd_hash_init_tfm(struct crypto_tfm *tfm) in cryptd_hash_init_tfm() 388 static void cryptd_hash_exit_tfm(struct crypto_tfm *tfm) in cryptd_hash_exit_tfm() 415 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in cryptd_hash_enqueue() local 668 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in cryptd_aead_enqueue() local 686 static int cryptd_aead_init_tfm(struct crypto_tfm *tfm) in cryptd_aead_init_tfm() 704 static void cryptd_aead_exit_tfm(struct crypto_tfm *tfm) in cryptd_aead_exit_tfm() [all …]
|
D | lzo.c | 29 static int lzo_init(struct crypto_tfm *tfm) in lzo_init() 40 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit() 47 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress() 63 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress()
|
/linux-3.3/arch/x86/crypto/ |
D | aesni-intel_glue.c | 149 aesni_rfc4106_gcm_ctx *aesni_rfc4106_gcm_ctx_get(struct crypto_aead *tfm) in aesni_rfc4106_gcm_ctx_get() 168 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, in aes_set_key_common() 192 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 198 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 211 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() 245 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_encrypt() 252 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_decrypt() 488 static int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_set_key() 506 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_encrypt() local 527 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_decrypt() local [all …]
|
D | ghash-clmulni-intel_glue.c | 56 static int ghash_setkey(struct crypto_shash *tfm, in ghash_setkey() 158 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_init() local 182 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_update() local 200 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_final() local 215 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in ghash_async_digest() local 234 static int ghash_async_setkey(struct crypto_ahash *tfm, const u8 *key, in ghash_async_setkey() 251 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() 267 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm()
|
/linux-3.3/arch/s390/crypto/ |
D | aes_s390.c | 94 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, in setkey_fallback_cip() 113 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 135 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_encrypt() 160 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_decrypt() 185 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 202 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 233 static int setkey_fallback_blk(struct crypto_tfm *tfm, const u8 *key, in setkey_fallback_blk() 257 struct crypto_blkcipher *tfm; in fallback_blk_dec() local 274 struct crypto_blkcipher *tfm; in fallback_blk_enc() local 286 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in ecb_aes_set_key() [all …]
|
/linux-3.3/drivers/crypto/ |
D | geode-aes.c | 116 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_cip() 149 static int geode_setkey_blk(struct crypto_tfm *tfm, const u8 *key, in geode_setkey_blk() 187 struct crypto_blkcipher *tfm; in fallback_blk_dec() local 203 struct crypto_blkcipher *tfm; in fallback_blk_enc() local 216 geode_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_encrypt() 237 geode_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in geode_decrypt() 256 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 272 static void fallback_exit_cip(struct crypto_tfm *tfm) in fallback_exit_cip() 367 static int fallback_init_blk(struct crypto_tfm *tfm) in fallback_init_blk() 383 static void fallback_exit_blk(struct crypto_tfm *tfm) in fallback_exit_blk()
|
/linux-3.3/net/mac80211/ |
D | aes_ccm.c | 20 static void aes_ccm_prepare(struct crypto_cipher *tfm, u8 *scratch, u8 *a) in aes_ccm_prepare() 53 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch, in ieee80211_aes_ccm_encrypt() 93 int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch, in ieee80211_aes_ccm_decrypt() 137 struct crypto_cipher *tfm; in ieee80211_aes_key_setup_encrypt() local 147 void ieee80211_aes_key_free(struct crypto_cipher *tfm) in ieee80211_aes_key_free()
|