/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_crypto.h | 135 struct crypto_tfm; 141 int (*cit_setkey)(struct crypto_tfm *tfm, 143 int (*cit_encrypt)(struct crypto_tfm *tfm, 147 int (*cit_encrypt_iv)(struct crypto_tfm *tfm, 151 int (*cit_decrypt)(struct crypto_tfm *tfm, 155 int (*cit_decrypt_iv)(struct crypto_tfm *tfm, 163 void (*dit_init)(struct crypto_tfm *tfm); 164 void (*dit_update)(struct crypto_tfm *tfm, 166 void (*dit_final)(struct crypto_tfm *tfm, u8 *out); 167 void (*dit_digest)(struct crypto_tfm *tfm, struct scatterlist *sg, [all …]
|
/linux-4.1.27/include/linux/ |
D | crypto.h | 142 struct crypto_tfm; 160 struct crypto_tfm *tfm; 211 struct crypto_tfm *tfm; 212 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 350 int (*setkey)(struct crypto_tfm *tfm, const u8 *key, 416 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 418 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 419 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 423 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src, 425 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src, [all …]
|
/linux-4.1.27/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() 63 static void cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, in cipher_crypt_unaligned() argument 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 | 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 | lz4.c | 31 static int lz4_init(struct crypto_tfm *tfm) in lz4_init() 42 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit() 48 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto() 64 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
|
D | lz4hc.c | 30 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init() 41 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit() 48 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto() 64 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
|
D | lzo.c | 30 static int lzo_init(struct crypto_tfm *tfm) in lzo_init() 44 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit() 51 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress() 67 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress()
|
D | internal.h | 77 int crypto_init_cipher_ops(struct crypto_tfm *tfm); 78 int crypto_init_compress_ops(struct crypto_tfm *tfm); 80 void crypto_exit_cipher_ops(struct crypto_tfm *tfm); 81 void crypto_exit_compress_ops(struct crypto_tfm *tfm); 92 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
|
D | tea.c | 47 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey() 62 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt() 90 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt() 120 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey() 135 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt() 156 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt() 179 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt() 200 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt()
|
D | 842.c | 50 static int nx842_init(struct crypto_tfm *tfm) in nx842_init() 63 static void nx842_exit(struct crypto_tfm *tfm) in nx842_exit() 77 static int nx842_crypto_compress(struct crypto_tfm *tfm, const u8 *src, in nx842_crypto_compress() 119 static int nx842_crypto_decompress(struct crypto_tfm *tfm, const u8 *src, in nx842_crypto_decompress()
|
D | cbc.c | 26 static int crypto_cbc_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_cbc_setkey() 46 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_cbc_encrypt_segment() 70 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_cbc_encrypt_inplace() 118 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_cbc_decrypt_segment() 144 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_cbc_decrypt_inplace() 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 | pcbc.c | 29 static int crypto_pcbc_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_pcbc_setkey() 49 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_pcbc_encrypt_segment() 74 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_pcbc_encrypt_inplace() 127 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_pcbc_decrypt_segment() 154 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_pcbc_decrypt_inplace() 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 | api.c | 287 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops() 309 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() 366 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfm() 369 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm() 424 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base() 426 struct crypto_tfm *tfm; in crypto_alloc_base() 462 struct crypto_tfm *tfm = NULL; in crypto_create_tfm() 474 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_create_tfm() 583 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) in crypto_destroy_tfm()
|
D | xts.c | 33 static int setkey(struct crypto_tfm *parent, const u8 *key, in setkey() 82 struct crypto_tfm *tfm; 83 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); 95 void (*tw)(struct crypto_tfm *, u8 *, const u8 *), in crypt() argument 96 void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) in crypt() argument 241 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() 280 static void exit_tfm(struct crypto_tfm *tfm) in exit_tfm()
|
D | deflate.c | 104 static int deflate_init(struct crypto_tfm *tfm) in deflate_init() 119 static void deflate_exit(struct crypto_tfm *tfm) in deflate_exit() 127 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, in deflate_compress() 156 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, in deflate_decompress()
|
D | ecb.c | 25 static int crypto_ecb_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_ecb_setkey() 44 void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) in crypto_ecb_crypt() argument 97 static int crypto_ecb_init_tfm(struct crypto_tfm *tfm) in crypto_ecb_init_tfm() 112 static void crypto_ecb_exit_tfm(struct crypto_tfm *tfm) in crypto_ecb_exit_tfm()
|
D | ablk_helper.c | 114 void ablk_exit(struct crypto_tfm *tfm) in ablk_exit() 122 int ablk_init_common(struct crypto_tfm *tfm, const char *drv_name) in ablk_init_common() 140 int ablk_init(struct crypto_tfm *tfm) in ablk_init()
|
D | crypto_null.c | 28 static int null_compress(struct crypto_tfm *tfm, const u8 *src, in null_compress() 64 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey() 68 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in null_crypt()
|
D | lrw.c | 79 static int setkey(struct crypto_tfm *parent, const u8 *key, in setkey() 101 struct crypto_tfm *tfm; 102 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); 140 void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) in crypt() argument 296 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() 318 static void exit_tfm(struct crypto_tfm *tfm) in exit_tfm()
|
D | ctr.c | 38 static int crypto_ctr_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_ctr_setkey() 77 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_ctr_crypt_segment() 103 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_ctr_crypt_inplace() 158 static int crypto_ctr_init_tfm(struct crypto_tfm *tfm) in crypto_ctr_init_tfm() 174 static void crypto_ctr_exit_tfm(struct crypto_tfm *tfm) in crypto_ctr_exit_tfm() 306 static int crypto_rfc3686_init_tfm(struct crypto_tfm *tfm) in crypto_rfc3686_init_tfm() 329 static void crypto_rfc3686_exit_tfm(struct crypto_tfm *tfm) in crypto_rfc3686_exit_tfm()
|
D | pcompress.c | 36 static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_pcomp_init() 46 static int crypto_pcomp_init_tfm(struct crypto_tfm *tfm) in crypto_pcomp_init_tfm()
|
D | khazad.c | 756 static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key, in khazad_setkey() 837 static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_encrypt() 843 static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_decrypt()
|
D | blkcipher.c | 374 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 396 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 420 struct crypto_tfm *tfm = req->base.tfm; in async_encrypt() 434 struct crypto_tfm *tfm = req->base.tfm; in async_decrypt() 460 static int crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_async() 478 static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_sync() 497 static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_blkcipher_ops() 720 int skcipher_geniv_init(struct crypto_tfm *tfm) in skcipher_geniv_init() 736 void skcipher_geniv_exit(struct crypto_tfm *tfm) in skcipher_geniv_exit()
|
D | chainiv.c | 107 static int chainiv_init_common(struct crypto_tfm *tfm) in chainiv_init_common() 114 static int chainiv_init(struct crypto_tfm *tfm) in chainiv_init() 264 static int async_chainiv_init(struct crypto_tfm *tfm) in async_chainiv_init() 276 static void async_chainiv_exit(struct crypto_tfm *tfm) in async_chainiv_exit()
|
D | ablkcipher.c | 111 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_done() 190 struct crypto_tfm *tfm, in ablkcipher_copy_iv() 228 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_next() 273 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_first() 362 static int crypto_init_ablkcipher_ops(struct crypto_tfm *tfm, u32 type, in crypto_init_ablkcipher_ops() 444 static int crypto_init_givcipher_ops(struct crypto_tfm *tfm, u32 type, in crypto_init_givcipher_ops() 676 struct crypto_tfm *tfm; in crypto_alloc_ablkcipher()
|
D | arc4.c | 29 static int arc4_set_key(struct crypto_tfm *tfm, const u8 *in_key, in arc4_set_key() 90 static void arc4_crypt_one(struct crypto_tfm *tfm, u8 *out, const u8 *in) in arc4_crypt_one()
|
D | seed.c | 331 static int seed_set_key(struct crypto_tfm *tfm, const u8 *in_key, in seed_set_key() 368 static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_encrypt() 406 static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_decrypt()
|
D | anubis.c | 462 static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, in anubis_setkey() 662 static void anubis_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_encrypt() 668 static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_decrypt()
|
D | shash.c | 325 static void crypto_exit_shash_ops_async(struct crypto_tfm *tfm) in crypto_exit_shash_ops_async() 332 int crypto_init_shash_ops_async(struct crypto_tfm *tfm) in crypto_init_shash_ops_async() 446 static void crypto_exit_shash_ops_compat(struct crypto_tfm *tfm) in crypto_exit_shash_ops_compat() 455 static int crypto_init_shash_ops_compat(struct crypto_tfm *tfm) in crypto_init_shash_ops_compat() 495 static int crypto_init_shash_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_shash_ops() 516 static int crypto_shash_init_tfm(struct crypto_tfm *tfm) in crypto_shash_init_tfm()
|
D | blowfish_generic.c | 41 static void bf_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_encrypt() 75 static void bf_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_decrypt()
|
D | twofish_generic.c | 109 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_encrypt() 146 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_decrypt()
|
D | aead.c | 93 static int crypto_init_aead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_aead_ops() 177 static int crypto_init_nivaead_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_nivaead_ops() 374 int aead_geniv_init(struct crypto_tfm *tfm) in aead_geniv_init() 390 void aead_geniv_exit(struct crypto_tfm *tfm) in aead_geniv_exit() 528 struct crypto_tfm *tfm; in crypto_alloc_aead()
|
D | cryptd.c | 164 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() 273 static int cryptd_blkcipher_init_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_init_tfm() 291 static void cryptd_blkcipher_exit_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_exit_tfm() 394 static int cryptd_hash_init_tfm(struct crypto_tfm *tfm) in cryptd_hash_init_tfm() 413 static void cryptd_hash_exit_tfm(struct crypto_tfm *tfm) in cryptd_hash_exit_tfm() 718 static int cryptd_aead_init_tfm(struct crypto_tfm *tfm) in cryptd_aead_init_tfm() 736 static void cryptd_aead_exit_tfm(struct crypto_tfm *tfm) in cryptd_aead_exit_tfm() 855 struct crypto_tfm *tfm; in cryptd_alloc_ablkcipher()
|
D | cts.c | 57 static int crypto_cts_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_cts_setkey() 253 static int crypto_cts_init_tfm(struct crypto_tfm *tfm) in crypto_cts_init_tfm() 268 static void crypto_cts_exit_tfm(struct crypto_tfm *tfm) in crypto_cts_exit_tfm()
|
D | cast6_generic.c | 157 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey() 217 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt() 255 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt()
|
D | des_generic.c | 781 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 803 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_encrypt() 826 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_decrypt() 882 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() 892 static void des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_encrypt() 923 static void des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_decrypt()
|
D | xcbc.c | 177 static int xcbc_init_tfm(struct crypto_tfm *tfm) in xcbc_init_tfm() 193 static void xcbc_exit_tfm(struct crypto_tfm *tfm) in xcbc_exit_tfm()
|
D | cmac.c | 203 static int cmac_init_tfm(struct crypto_tfm *tfm) in cmac_init_tfm() 219 static void cmac_exit_tfm(struct crypto_tfm *tfm) in cmac_exit_tfm()
|
D | hmac.c | 156 static int hmac_init_tfm(struct crypto_tfm *tfm) in hmac_init_tfm() 175 static void hmac_exit_tfm(struct crypto_tfm *tfm) in hmac_exit_tfm()
|
D | aes_generic.c | 1282 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_aes_set_key() 1329 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_encrypt() 1401 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_decrypt()
|
D | crc32.c | 48 static int crc32_cra_init(struct crypto_tfm *tfm) in crc32_cra_init()
|
D | ansi_cprng.c | 327 static int cprng_init(struct crypto_tfm *tfm) in cprng_init() 351 static void cprng_exit(struct crypto_tfm *tfm) in cprng_exit()
|
D | rng.c | 52 static int crypto_init_rng_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_rng_ops()
|
D | crc32c_generic.c | 128 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
|
D | cast5_generic.c | 363 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt() 407 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt() 487 int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in cast5_setkey()
|
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()
|
D | seqiv.c | 235 static int seqiv_init(struct crypto_tfm *tfm) in seqiv_init() 247 static int seqiv_aead_init(struct crypto_tfm *tfm) in seqiv_aead_init()
|
D | algapi.c | 649 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, in crypto_spawn_tfm() 653 struct crypto_tfm *tfm; in crypto_spawn_tfm() 678 struct crypto_tfm *tfm; in crypto_spawn_tfm2() 907 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) in crypto_tfm_in_queue()
|
D | ccm.c | 432 static int crypto_ccm_init_tfm(struct crypto_tfm *tfm) in crypto_ccm_init_tfm() 467 static void crypto_ccm_exit_tfm(struct crypto_tfm *tfm) in crypto_ccm_exit_tfm() 716 static int crypto_rfc4309_init_tfm(struct crypto_tfm *tfm) in crypto_rfc4309_init_tfm() 740 static void crypto_rfc4309_exit_tfm(struct crypto_tfm *tfm) in crypto_rfc4309_exit_tfm()
|
D | blowfish_common.c | 349 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in blowfish_setkey()
|
D | ghash-generic.c | 134 static void ghash_exit_tfm(struct crypto_tfm *tfm) in ghash_exit_tfm()
|
D | mcryptd.c | 220 static inline struct mcryptd_queue *mcryptd_get_queue(struct crypto_tfm *tfm) in mcryptd_get_queue() 275 static int mcryptd_hash_init_tfm(struct crypto_tfm *tfm) in mcryptd_hash_init_tfm() 294 static void mcryptd_hash_exit_tfm(struct crypto_tfm *tfm) in mcryptd_hash_exit_tfm()
|
D | gcm.c | 651 static int crypto_gcm_init_tfm(struct crypto_tfm *tfm) in crypto_gcm_init_tfm() 689 static void crypto_gcm_exit_tfm(struct crypto_tfm *tfm) in crypto_gcm_exit_tfm() 933 static int crypto_rfc4106_init_tfm(struct crypto_tfm *tfm) in crypto_rfc4106_init_tfm() 957 static void crypto_rfc4106_exit_tfm(struct crypto_tfm *tfm) in crypto_rfc4106_exit_tfm() 1234 static int crypto_rfc4543_init_tfm(struct crypto_tfm *tfm) in crypto_rfc4543_init_tfm() 1271 static void crypto_rfc4543_exit_tfm(struct crypto_tfm *tfm) in crypto_rfc4543_exit_tfm()
|
D | serpent_generic.c | 439 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in serpent_setkey() 503 static void serpent_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_encrypt() 563 static void serpent_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in serpent_decrypt() 570 static int tnepres_setkey(struct crypto_tfm *tfm, const u8 *key, in tnepres_setkey() 582 static void tnepres_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tnepres_encrypt() 602 static void tnepres_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tnepres_decrypt()
|
D | pcrypt.c | 273 static int pcrypt_aead_init_tfm(struct crypto_tfm *tfm) in pcrypt_aead_init_tfm() 302 static void pcrypt_aead_exit_tfm(struct crypto_tfm *tfm) in pcrypt_aead_exit_tfm()
|
D | fcrypt.c | 236 static void fcrypt_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_encrypt() 268 static void fcrypt_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in fcrypt_decrypt() 303 static int fcrypt_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in fcrypt_setkey()
|
D | salsa20_generic.c | 169 static int setkey(struct crypto_tfm *tfm, const u8 *key, in setkey()
|
D | eseqiv.c | 172 static int eseqiv_init(struct crypto_tfm *tfm) in eseqiv_init()
|
D | camellia_generic.c | 981 camellia_set_key(struct crypto_tfm *tfm, const u8 *in_key, in camellia_set_key() 1010 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in camellia_encrypt() 1038 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in camellia_decrypt()
|
D | authenc.c | 547 static int crypto_authenc_init_tfm(struct crypto_tfm *tfm) in crypto_authenc_init_tfm() 588 static void crypto_authenc_exit_tfm(struct crypto_tfm *tfm) in crypto_authenc_exit_tfm()
|
D | drbg.c | 1714 static int drbg_kcapi_init(struct crypto_tfm *tfm) in drbg_kcapi_init() 1728 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) in drbg_kcapi_cleanup() 1774 struct crypto_tfm *tfm_base = crypto_rng_tfm(tfm); in drbg_kcapi_reset()
|
D | twofish_common.c | 703 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len) in twofish_setkey()
|
D | vmac.c | 622 static int vmac_init_tfm(struct crypto_tfm *tfm) in vmac_init_tfm() 637 static void vmac_exit_tfm(struct crypto_tfm *tfm) in vmac_exit_tfm()
|
D | authencesn.c | 639 static int crypto_authenc_esn_init_tfm(struct crypto_tfm *tfm) in crypto_authenc_esn_init_tfm() 680 static void crypto_authenc_esn_exit_tfm(struct crypto_tfm *tfm) in crypto_authenc_esn_exit_tfm()
|
D | ahash.c | 449 static int crypto_ahash_init_tfm(struct crypto_tfm *tfm) in crypto_ahash_init_tfm()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx.h | 153 int nx_crypto_ctx_aes_ccm_init(struct crypto_tfm *tfm); 154 int nx_crypto_ctx_aes_gcm_init(struct crypto_tfm *tfm); 155 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm); 156 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm); 157 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm); 158 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm); 159 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm); 160 void nx_crypto_ctx_exit(struct crypto_tfm *tfm);
|
D | nx.c | 636 int nx_crypto_ctx_aes_ccm_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_ccm_init() 643 int nx_crypto_ctx_aes_gcm_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_gcm_init() 650 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_ctr_init() 656 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_cbc_init() 662 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_ecb_init() 668 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm) in nx_crypto_ctx_sha_init() 673 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_xcbc_init() 687 void nx_crypto_ctx_exit(struct crypto_tfm *tfm) in nx_crypto_ctx_exit()
|
D | nx-aes-ctr.c | 34 static int ctr_aes_nx_set_key(struct crypto_tfm *tfm, in ctr_aes_nx_set_key() 66 static int ctr3686_aes_nx_set_key(struct crypto_tfm *tfm, in ctr3686_aes_nx_set_key()
|
D | nx-aes-cbc.c | 33 static int cbc_aes_nx_set_key(struct crypto_tfm *tfm, in cbc_aes_nx_set_key()
|
D | nx-aes-ecb.c | 33 static int ecb_aes_nx_set_key(struct crypto_tfm *tfm, in ecb_aes_nx_set_key()
|
D | nx-sha256.c | 32 static int nx_crypto_ctx_sha256_init(struct crypto_tfm *tfm) in nx_crypto_ctx_sha256_init()
|
D | nx-sha512.c | 31 static int nx_crypto_ctx_sha512_init(struct crypto_tfm *tfm) in nx_crypto_ctx_sha512_init()
|
D | nx-aes-xcbc.c | 152 static int nx_crypto_ctx_aes_xcbc_init2(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_xcbc_init2()
|
/linux-4.1.27/drivers/crypto/vmx/ |
D | aes.c | 38 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() 56 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_init() 65 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() 75 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() 92 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() 107 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt()
|
D | aes_ctr.c | 37 static int p8_aes_ctr_init(struct crypto_tfm *tfm) in p8_aes_ctr_init() 55 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_ctr_init() 64 static void p8_aes_ctr_exit(struct crypto_tfm *tfm) in p8_aes_ctr_exit() 74 static int p8_aes_ctr_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_ctr_setkey()
|
D | aes_cbc.c | 39 static int p8_aes_cbc_init(struct crypto_tfm *tfm) in p8_aes_cbc_init() 57 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_cbc_init() 66 static void p8_aes_cbc_exit(struct crypto_tfm *tfm) in p8_aes_cbc_exit() 76 static int p8_aes_cbc_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_cbc_setkey()
|
D | ghash.c | 56 static int p8_ghash_init_tfm(struct crypto_tfm *tfm) in p8_ghash_init_tfm() 87 static void p8_ghash_exit_tfm(struct crypto_tfm *tfm) in p8_ghash_exit_tfm()
|
/linux-4.1.27/include/crypto/ |
D | ablk_helper.h | 25 extern void ablk_exit(struct crypto_tfm *tfm); 27 extern int ablk_init_common(struct crypto_tfm *tfm, const char *drv_name); 29 extern int ablk_init(struct crypto_tfm *tfm);
|
D | twofish.h | 10 struct crypto_tfm; 22 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len);
|
D | algapi.h | 27 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); 28 int (*init_tfm)(struct crypto_tfm *tfm); 149 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, 183 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm); 209 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() 216 struct crypto_tfm *tfm) in crypto_tfm_alg_instance()
|
D | rng.h | 30 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) in __crypto_rng_cast() 65 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm()
|
D | hash.h | 203 struct crypto_tfm base; 208 struct crypto_tfm base; 221 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 243 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 627 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm()
|
D | compress.h | 54 struct crypto_tfm base; 79 static inline struct crypto_tfm *crypto_pcomp_tfm(struct crypto_pcomp *tfm) in crypto_pcomp_tfm()
|
D | blowfish.h | 20 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key,
|
D | cast5.h | 18 int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
|
D | serpent.h | 22 int serpent_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
|
D | cast6.h | 19 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen);
|
D | aes.h | 35 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key,
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
D | twofish.h | 38 extern int lrw_twofish_setkey(struct crypto_tfm *tfm, const u8 *key, 41 extern void lrw_twofish_exit_tfm(struct crypto_tfm *tfm); 43 extern int xts_twofish_setkey(struct crypto_tfm *tfm, const u8 *key,
|
D | serpent-avx.h | 40 extern int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, 43 extern void lrw_serpent_exit_tfm(struct crypto_tfm *tfm); 45 extern int xts_serpent_setkey(struct crypto_tfm *tfm, const u8 *key,
|
D | camellia.h | 32 extern int lrw_camellia_setkey(struct crypto_tfm *tfm, const u8 *key, 34 extern void lrw_camellia_exit_tfm(struct crypto_tfm *tfm); 36 extern int xts_camellia_setkey(struct crypto_tfm *tfm, const u8 *key,
|
/linux-4.1.27/arch/arm/crypto/ |
D | aes_glue.c | 16 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 22 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() 28 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()
|
D | ghash-ce-glue.c | 246 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() 264 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm()
|
D | aesbs-glue.c | 57 static int aesbs_cbc_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aesbs_cbc_set_key() 73 static int aesbs_ctr_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aesbs_ctr_set_key() 87 static int aesbs_xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aesbs_xts_set_key()
|
D | aes-ce-glue.c | 130 static int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ce_aes_setkey() 149 static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, in xts_set_key()
|
/linux-4.1.27/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() 232 static int setkey_fallback_blk(struct crypto_tfm *tfm, const u8 *key, in setkey_fallback_blk() 285 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in ecb_aes_set_key() 366 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() [all …]
|
D | des_s390.c | 35 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 52 static void des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in des_encrypt() 59 static void des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in des_decrypt() 239 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_setkey() 256 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_encrypt() 263 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_decrypt()
|
/linux-4.1.27/arch/x86/crypto/ |
D | twofish_glue.c | 54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt() 59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt()
|
D | aes_glue.c | 25 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 30 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt()
|
D | fpu.c | 27 static int crypto_fpu_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_fpu_setkey() 81 static int crypto_fpu_init_tfm(struct crypto_tfm *tfm) in crypto_fpu_init_tfm() 96 static void crypto_fpu_exit_tfm(struct crypto_tfm *tfm) in crypto_fpu_exit_tfm()
|
D | aesni-intel_glue.c | 303 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, in aes_set_key_common() 327 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 333 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 346 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() 359 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_encrypt() 366 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_decrypt() 533 static int ablk_ecb_init(struct crypto_tfm *tfm) in ablk_ecb_init() 538 static int ablk_cbc_init(struct crypto_tfm *tfm) in ablk_cbc_init() 544 static int ablk_ctr_init(struct crypto_tfm *tfm) in ablk_ctr_init() 552 static int ablk_pcbc_init(struct crypto_tfm *tfm) in ablk_pcbc_init() [all …]
|
D | twofish_glue_3way.c | 216 int lrw_twofish_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_twofish_setkey() 265 void lrw_twofish_exit_tfm(struct crypto_tfm *tfm) in lrw_twofish_exit_tfm() 273 int xts_twofish_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_twofish_setkey()
|
D | camellia_glue.c | 54 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() 59 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() 1275 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, in camellia_setkey() 1440 int lrw_camellia_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_camellia_setkey() 1491 void lrw_camellia_exit_tfm(struct crypto_tfm *tfm) in lrw_camellia_exit_tfm() 1499 int xts_camellia_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_camellia_setkey()
|
D | des3_ede_glue.c | 76 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_encrypt() 81 static void des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_x86_decrypt() 359 static int des3_ede_x86_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_x86_setkey()
|
D | salsa20_glue.c | 40 static int setkey(struct crypto_tfm *tfm, const u8 *key, in setkey()
|
D | ghash-clmulni-intel_glue.c | 260 static int ghash_async_init_tfm(struct crypto_tfm *tfm) in ghash_async_init_tfm() 278 static void ghash_async_exit_tfm(struct crypto_tfm *tfm) in ghash_async_exit_tfm()
|
D | cast6_avx_glue.c | 248 static int lrw_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_cast6_setkey() 314 static void lrw_exit_tfm(struct crypto_tfm *tfm) in lrw_exit_tfm() 326 static int xts_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_cast6_setkey()
|
D | serpent_avx_glue.c | 256 int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_serpent_setkey() 324 void lrw_serpent_exit_tfm(struct crypto_tfm *tfm) in lrw_serpent_exit_tfm() 332 int xts_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_serpent_setkey()
|
D | serpent_sse2_glue.c | 229 static int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_serpent_setkey() 296 static void lrw_exit_tfm(struct crypto_tfm *tfm) in lrw_exit_tfm() 308 static int xts_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_serpent_setkey()
|
D | crc32-pclmul_glue.c | 82 static int crc32_pclmul_cra_init(struct crypto_tfm *tfm) in crc32_pclmul_cra_init()
|
D | blowfish_glue.c | 70 static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in blowfish_encrypt() 75 static void blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in blowfish_decrypt()
|
D | crc32c-intel_glue.c | 175 static int crc32c_intel_cra_init(struct crypto_tfm *tfm) in crc32c_intel_cra_init()
|
D | camellia_aesni_avx2_glue.c | 198 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, in camellia_setkey()
|
D | camellia_aesni_avx_glue.c | 202 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, in camellia_setkey()
|
/linux-4.1.27/include/crypto/internal/ |
D | aead.h | 62 int aead_geniv_init(struct crypto_tfm *tfm); 63 void aead_geniv_exit(struct crypto_tfm *tfm);
|
D | skcipher.h | 66 int skcipher_geniv_init(struct crypto_tfm *tfm); 67 void skcipher_geniv_exit(struct crypto_tfm *tfm);
|
D | hash.h | 129 int crypto_init_shash_ops_async(struct crypto_tfm *tfm); 241 static inline struct crypto_shash *__crypto_shash_cast(struct crypto_tfm *tfm) in __crypto_shash_cast()
|
/linux-4.1.27/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() 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() 366 static int fallback_init_blk(struct crypto_tfm *tfm) in fallback_init_blk() 382 static void fallback_exit_blk(struct crypto_tfm *tfm) in fallback_exit_blk()
|
D | picoxcell_crypto.c | 448 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in spacc_aead_des_setkey() 468 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in spacc_aead_aes_setkey() 547 struct crypto_tfm *tfm = req->req->tfm; in spacc_aead_need_fallback() 569 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback() 597 struct crypto_tfm *tfm = req->req->tfm; in spacc_aead_submit() 731 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in spacc_aead_encrypt() 761 struct crypto_tfm *tfm = crypto_aead_tfm(aead); in spacc_aead_decrypt() 771 static int spacc_aead_cra_init(struct crypto_tfm *tfm) in spacc_aead_cra_init() 802 static void spacc_aead_cra_exit(struct crypto_tfm *tfm) in spacc_aead_cra_exit() 818 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_des_setkey() [all …]
|
D | ixp4xx_crypto.c | 147 struct crypto_tfm *tfm; 235 static inline u32 cipher_cfg_enc(struct crypto_tfm *tfm) in cipher_cfg_enc() 240 static inline u32 cipher_cfg_dec(struct crypto_tfm *tfm) in cipher_cfg_dec() 245 static inline const struct ix_hash_algo *ix_hash(struct crypto_tfm *tfm) in ix_hash() 554 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() 570 static int init_tfm_ablk(struct crypto_tfm *tfm) in init_tfm_ablk() 576 static int init_tfm_aead(struct crypto_tfm *tfm) in init_tfm_aead() 582 static void exit_tfm(struct crypto_tfm *tfm) in exit_tfm() 589 static int register_chain_var(struct crypto_tfm *tfm, u8 xpad, u32 target, in register_chain_var() 645 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, in setup_auth() [all …]
|
D | n2_core.c | 253 static inline struct n2_ahash_alg *n2_ahash_alg(struct crypto_tfm *tfm) in n2_ahash_alg() 268 static inline struct n2_hmac_alg *n2_hmac_alg(struct crypto_tfm *tfm) in n2_hmac_alg() 357 static int n2_hash_cra_init(struct crypto_tfm *tfm) in n2_hash_cra_init() 384 static void n2_hash_cra_exit(struct crypto_tfm *tfm) in n2_hash_cra_exit() 392 static int n2_hmac_cra_init(struct crypto_tfm *tfm) in n2_hmac_cra_init() 433 static void n2_hmac_cra_exit(struct crypto_tfm *tfm) in n2_hmac_cra_exit() 703 static inline struct n2_cipher_alg *n2_cipher_alg(struct crypto_tfm *tfm) in n2_cipher_alg() 717 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_aes_setkey() 746 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_des_setkey() 773 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in n2_3des_setkey() [all …]
|
D | padlock-aes.c | 94 static inline struct aes_ctx *aes_ctx(struct crypto_tfm *tfm) in aes_ctx() 104 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 298 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_encrypt() 310 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_decrypt()
|
D | sahara.c | 655 struct crypto_tfm *tfm_aux = crypto_ablkcipher_tfm(tfm); in sahara_aes_setkey() 692 struct crypto_tfm *tfm = in sahara_aes_ecb_encrypt() 710 struct crypto_tfm *tfm = in sahara_aes_ecb_decrypt() 728 struct crypto_tfm *tfm = in sahara_aes_cbc_encrypt() 746 struct crypto_tfm *tfm = in sahara_aes_cbc_decrypt() 762 static int sahara_aes_cra_init(struct crypto_tfm *tfm) in sahara_aes_cra_init() 779 static void sahara_aes_cra_exit(struct crypto_tfm *tfm) in sahara_aes_cra_exit() 1246 static int sahara_sha_cra_init(struct crypto_tfm *tfm) in sahara_sha_cra_init() 1264 static void sahara_sha_cra_exit(struct crypto_tfm *tfm) in sahara_sha_cra_exit()
|
D | mxs-dcp.c | 377 struct crypto_tfm *tfm = in mxs_dcp_block_fallback() 482 static int mxs_dcp_aes_fallback_init(struct crypto_tfm *tfm) in mxs_dcp_aes_fallback_init() 498 static void mxs_dcp_aes_fallback_exit(struct crypto_tfm *tfm) in mxs_dcp_aes_fallback_exit() 767 static int dcp_sha_cra_init(struct crypto_tfm *tfm) in dcp_sha_cra_init() 774 static void dcp_sha_cra_exit(struct crypto_tfm *tfm) in dcp_sha_cra_exit()
|
D | mv_cesa.c | 197 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in mv_setkey_aes() 697 static int mv_cra_init(struct crypto_tfm *tfm) in mv_cra_init() 838 static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name, in mv_cra_hash_init() 886 static void mv_cra_hash_exit(struct crypto_tfm *tfm) in mv_cra_hash_exit() 895 static int mv_cra_hash_sha1_init(struct crypto_tfm *tfm) in mv_cra_hash_sha1_init() 900 static int mv_cra_hash_hmac_sha1_init(struct crypto_tfm *tfm) in mv_cra_hash_hmac_sha1_init()
|
D | omap-sham.c | 1234 static int omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in omap_sham_cra_init_alg() 1268 static int omap_sham_cra_init(struct crypto_tfm *tfm) in omap_sham_cra_init() 1273 static int omap_sham_cra_sha1_init(struct crypto_tfm *tfm) in omap_sham_cra_sha1_init() 1278 static int omap_sham_cra_sha224_init(struct crypto_tfm *tfm) in omap_sham_cra_sha224_init() 1283 static int omap_sham_cra_sha256_init(struct crypto_tfm *tfm) in omap_sham_cra_sha256_init() 1288 static int omap_sham_cra_md5_init(struct crypto_tfm *tfm) in omap_sham_cra_md5_init() 1293 static int omap_sham_cra_sha384_init(struct crypto_tfm *tfm) in omap_sham_cra_sha384_init() 1298 static int omap_sham_cra_sha512_init(struct crypto_tfm *tfm) in omap_sham_cra_sha512_init() 1303 static void omap_sham_cra_exit(struct crypto_tfm *tfm) in omap_sham_cra_exit()
|
D | atmel-tdes.c | 401 static int atmel_tdes_crypt_pdc(struct crypto_tfm *tfm, dma_addr_t dma_addr_in, in atmel_tdes_crypt_pdc() 437 static int atmel_tdes_crypt_dma(struct crypto_tfm *tfm, dma_addr_t dma_addr_in, in atmel_tdes_crypt_dma() 508 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in atmel_tdes_crypt_start() 782 struct crypto_tfm *ctfm = crypto_ablkcipher_tfm(tfm); in atmel_des_setkey() 901 static int atmel_tdes_cra_init(struct crypto_tfm *tfm) in atmel_tdes_cra_init() 915 static void atmel_tdes_cra_exit(struct crypto_tfm *tfm) in atmel_tdes_cra_exit()
|
D | omap-des.c | 400 static int omap_des_crypt_dma(struct crypto_tfm *tfm, in omap_des_crypt_dma() 483 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in omap_des_crypt_dma_start() 763 static int omap_des_cra_init(struct crypto_tfm *tfm) in omap_des_cra_init() 772 static void omap_des_cra_exit(struct crypto_tfm *tfm) in omap_des_cra_exit()
|
D | padlock-sha.c | 211 static int padlock_cra_init(struct crypto_tfm *tfm) in padlock_cra_init() 237 static void padlock_cra_exit(struct crypto_tfm *tfm) in padlock_cra_exit()
|
D | omap-aes.c | 416 static int omap_aes_crypt_dma(struct crypto_tfm *tfm, in omap_aes_crypt_dma() 499 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in omap_aes_crypt_dma_start() 792 static int omap_aes_cra_init(struct crypto_tfm *tfm) in omap_aes_cra_init() 816 static void omap_aes_cra_exit(struct crypto_tfm *tfm) in omap_aes_cra_exit()
|
D | s5p-sss.c | 551 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in s5p_aes_setkey() 585 static int s5p_aes_cra_init(struct crypto_tfm *tfm) in s5p_aes_cra_init()
|
D | bfin_crc.c | 489 static int bfin_crypto_crc_cra_init(struct crypto_tfm *tfm) in bfin_crypto_crc_cra_init() 500 static void bfin_crypto_crc_cra_exit(struct crypto_tfm *tfm) in bfin_crypto_crc_cra_exit()
|
D | img-hash.c | 646 static int img_hash_cra_init(struct crypto_tfm *tfm) in img_hash_cra_init() 669 static void img_hash_cra_exit(struct crypto_tfm *tfm) in img_hash_cra_exit()
|
D | atmel-aes.c | 948 static int atmel_aes_cra_init(struct crypto_tfm *tfm) in atmel_aes_cra_init() 955 static void atmel_aes_cra_exit(struct crypto_tfm *tfm) in atmel_aes_cra_exit()
|
D | talitos.c | 2379 static int talitos_cra_init(struct crypto_tfm *tfm) in talitos_cra_init() 2411 static int talitos_cra_init_aead(struct crypto_tfm *tfm) in talitos_cra_init_aead() 2423 static int talitos_cra_init_ahash(struct crypto_tfm *tfm) in talitos_cra_init_ahash()
|
D | hifn_795x.c | 2050 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in hifn_setkey() 2472 static int hifn_cra_init(struct crypto_tfm *tfm) in hifn_cra_init()
|
D | atmel-sha.c | 983 static int atmel_sha_cra_init(struct crypto_tfm *tfm) in atmel_sha_cra_init()
|
/linux-4.1.27/arch/arm64/crypto/ |
D | aes-ce-cipher.c | 39 static void aes_cipher_encrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_encrypt() 84 static void aes_cipher_decrypt(struct crypto_tfm *tfm, u8 dst[], u8 const src[]) in aes_cipher_decrypt() 222 int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ce_aes_setkey()
|
D | aes-ce-setkey.h | 2 int ce_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key,
|
D | crc32-arm64.c | 206 static int crc32_cra_init(struct crypto_tfm *tfm) in crc32_cra_init() 214 static int crc32c_cra_init(struct crypto_tfm *tfm) in crc32c_cra_init()
|
D | aes-glue.c | 82 static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, in xts_set_key()
|
/linux-4.1.27/arch/sparc/crypto/ |
D | des_glue.c | 43 static int des_set_key(struct crypto_tfm *tfm, const u8 *key, in des_set_key() 70 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_encrypt() 78 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_decrypt() 200 static int des3_ede_set_key(struct crypto_tfm *tfm, const u8 *key, in des3_ede_set_key() 240 static void des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_encrypt() 248 static void des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_ede_decrypt()
|
D | camellia_glue.c | 35 static int camellia_set_key(struct crypto_tfm *tfm, const u8 *_in_key, in camellia_set_key() 57 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() 66 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt()
|
D | aes_glue.c | 166 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 199 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 206 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt()
|
D | crc32c_glue.c | 111 static int crc32c_sparc64_cra_init(struct crypto_tfm *tfm) in crc32c_sparc64_cra_init()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 116 struct crypto_tfm *tfm; 129 struct crypto_tfm *tfm; 840 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_dec() 885 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_enc_internal() 939 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_genivenc() 1014 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_encrypt() 1052 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_decrypt() 1087 static int qat_alg_aead_init(struct crypto_tfm *tfm, in qat_alg_aead_init() 1104 static int qat_alg_aead_sha1_init(struct crypto_tfm *tfm) in qat_alg_aead_sha1_init() 1109 static int qat_alg_aead_sha256_init(struct crypto_tfm *tfm) in qat_alg_aead_sha256_init() [all …]
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 127 static int ccp_aes_cra_init(struct crypto_tfm *tfm) in ccp_aes_cra_init() 139 static void ccp_aes_cra_exit(struct crypto_tfm *tfm) in ccp_aes_cra_exit() 202 static int ccp_aes_rfc3686_cra_init(struct crypto_tfm *tfm) in ccp_aes_rfc3686_cra_init() 214 static void ccp_aes_rfc3686_cra_exit(struct crypto_tfm *tfm) in ccp_aes_rfc3686_cra_exit()
|
D | ccp-crypto.h | 51 ccp_crypto_ablkcipher_alg(struct crypto_tfm *tfm) in ccp_crypto_ablkcipher_alg() 59 ccp_crypto_ahash_alg(struct crypto_tfm *tfm) in ccp_crypto_ahash_alg()
|
D | ccp-crypto-aes-xts.c | 120 struct crypto_tfm *tfm = in ccp_aes_xts_crypt() 192 static int ccp_aes_xts_cra_init(struct crypto_tfm *tfm) in ccp_aes_xts_cra_init() 216 static void ccp_aes_xts_cra_exit(struct crypto_tfm *tfm) in ccp_aes_xts_cra_exit()
|
D | ccp-crypto-sha.c | 288 static int ccp_sha_cra_init(struct crypto_tfm *tfm) in ccp_sha_cra_init() 301 static void ccp_sha_cra_exit(struct crypto_tfm *tfm) in ccp_sha_cra_exit() 305 static int ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_init() 323 static void ccp_hmac_sha_cra_exit(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_exit()
|
D | ccp-crypto-aes-cmac.c | 320 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) in ccp_aes_cmac_cra_init() 343 static void ccp_aes_cmac_cra_exit(struct crypto_tfm *tfm) in ccp_aes_cmac_cra_exit()
|
D | ccp-crypto-main.c | 67 struct crypto_tfm *tfm;
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 47 struct crypto_tfm *tfm; 55 static void rtllib_ccmp_aes_encrypt(struct crypto_tfm *tfm, in rtllib_ccmp_aes_encrypt() 109 static void ccmp_init_blocks(struct crypto_tfm *tfm, in ccmp_init_blocks() 362 struct crypto_tfm *tfm = data->tfm; in rtllib_ccmp_set_key()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | ablkcipher.c | 165 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablk); in qce_ablkcipher_setkey() 205 struct crypto_tfm *tfm = in qce_ablkcipher_crypt() 237 static int qce_ablkcipher_init(struct crypto_tfm *tfm) in qce_ablkcipher_init() 254 static void qce_ablkcipher_exit(struct crypto_tfm *tfm) in qce_ablkcipher_exit()
|
D | cipher.h | 60 static inline struct qce_alg_template *to_cipher_tmpl(struct crypto_tfm *tfm) in to_cipher_tmpl()
|
D | sha.h | 70 static inline struct qce_alg_template *to_ahash_tmpl(struct crypto_tfm *tfm) in to_ahash_tmpl()
|
D | sha.c | 440 static int qce_ahash_cra_init(struct crypto_tfm *tfm) in qce_ahash_cra_init()
|
/linux-4.1.27/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 110 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in crypto4xx_setkey_aes() 180 static int crypto4xx_hash_alg_init(struct crypto_tfm *tfm, in crypto4xx_hash_alg_init() 289 int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm) in crypto4xx_sha1_alg_init()
|
D | crypto4xx_core.h | 191 extern int crypto4xx_sha1_alg_init(struct crypto_tfm *tfm);
|
D | crypto4xx_core.c | 992 static int crypto4xx_alg_init(struct crypto_tfm *tfm) in crypto4xx_alg_init() 1018 static void crypto4xx_alg_exit(struct crypto_tfm *tfm) in crypto4xx_alg_exit()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 51 struct crypto_tfm *tfm; 59 static void ieee80211_ccmp_aes_encrypt(struct crypto_tfm *tfm, in ieee80211_ccmp_aes_encrypt() 114 static void ccmp_init_blocks(struct crypto_tfm *tfm, in ccmp_init_blocks() 378 struct crypto_tfm *tfm = data->tfm; in ieee80211_ccmp_set_key()
|
/linux-4.1.27/arch/um/include/shared/ |
D | common-offsets.h | 20 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
|
/linux-4.1.27/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 92 static int ppc_aes_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_aes_setkey() 124 static int ppc_xts_setkey(struct crypto_tfm *tfm, const u8 *in_key, in ppc_xts_setkey() 161 static void ppc_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_encrypt() 170 static void ppc_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in ppc_aes_decrypt()
|
/linux-4.1.27/fs/ext4/ |
D | ext4_crypto.h | 79 struct crypto_tfm *tfm; /* Crypto API context */
|
/linux-4.1.27/arch/x86/kernel/ |
D | asm-offsets.c | 37 OFFSET(crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx); in common()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto-adler.c | 45 static int adler32_cra_init(struct crypto_tfm *tfm) in adler32_cra_init()
|
/linux-4.1.27/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 768 static int sha1_mb_async_init_tfm(struct crypto_tfm *tfm) in sha1_mb_async_init_tfm() 789 static void sha1_mb_async_exit_tfm(struct crypto_tfm *tfm) in sha1_mb_async_exit_tfm()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamalg.c | 454 struct crypto_tfm *ctfm = crypto_aead_tfm(aead); in aead_set_sh_desc() 1831 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); in ablkcipher_setkey() 4135 static int caam_cra_init(struct crypto_tfm *tfm) in caam_cra_init() 4156 static void caam_cra_exit(struct crypto_tfm *tfm) in caam_cra_exit()
|
D | caamhash.c | 1748 static int caam_hash_cra_init(struct crypto_tfm *tfm) in caam_hash_cra_init() 1792 static void caam_hash_cra_exit(struct crypto_tfm *tfm) in caam_hash_cra_exit()
|
/linux-4.1.27/drivers/crypto/ux500/hash/ |
D | hash_core.c | 1495 static int hash_cra_init(struct crypto_tfm *tfm) in hash_cra_init()
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1093 static int cryp_cra_init(struct crypto_tfm *tfm) in cryp_cra_init()
|