/linux-4.4.14/include/linux/ |
D | crypto.h | 141 struct crypto_tfm; 158 struct crypto_tfm *tfm; 183 struct crypto_tfm *tfm; 184 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 281 int (*setkey)(struct crypto_tfm *tfm, const u8 *key, 347 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 349 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 350 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 354 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src, 356 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src, [all …]
|
/linux-4.4.14/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 | skcipher.c | 72 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher() 81 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher() 87 static void crypto_exit_skcipher_ops_blkcipher(struct crypto_tfm *tfm) in crypto_exit_skcipher_ops_blkcipher() 94 static int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm) in crypto_init_skcipher_ops_blkcipher() 100 struct crypto_tfm *btfm; in crypto_init_skcipher_ops_blkcipher() 164 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_ablkcipher() 173 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_ablkcipher() 179 static void crypto_exit_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) in crypto_exit_skcipher_ops_ablkcipher() 186 static int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) in crypto_init_skcipher_ops_ablkcipher() 192 struct crypto_tfm *abtfm; in crypto_init_skcipher_ops_ablkcipher() [all …]
|
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 | 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 | 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 | 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 | internal.h | 76 int crypto_init_cipher_ops(struct crypto_tfm *tfm); 77 int crypto_init_compress_ops(struct crypto_tfm *tfm); 79 void crypto_exit_cipher_ops(struct crypto_tfm *tfm); 80 void crypto_exit_compress_ops(struct crypto_tfm *tfm); 91 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 | 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 | 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 | 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 | 842.c | 39 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress() 48 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress()
|
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 | crypto_null.c | 32 static int null_compress(struct crypto_tfm *tfm, const u8 *src, in null_compress() 68 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey() 72 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in null_crypt()
|
D | pcompress.c | 36 static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_pcomp_init() 41 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 | akcipher.c | 56 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_akcipher_exit_tfm() 64 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) in crypto_akcipher_init_tfm()
|
D | chainiv.c | 83 static int chainiv_init_common(struct crypto_tfm *tfm, char iv[]) in chainiv_init_common() 99 static int chainiv_init(struct crypto_tfm *tfm) in chainiv_init() 230 static int async_chainiv_init(struct crypto_tfm *tfm) in async_chainiv_init() 251 static void async_chainiv_exit(struct crypto_tfm *tfm) in async_chainiv_exit()
|
D | blkcipher.c | 375 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 397 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 421 struct crypto_tfm *tfm = req->base.tfm; in async_encrypt() 435 struct crypto_tfm *tfm = req->base.tfm; in async_decrypt() 461 static int crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_async() 479 static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_sync() 498 static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_blkcipher_ops() 721 int skcipher_geniv_init(struct crypto_tfm *tfm) in skcipher_geniv_init() 737 void skcipher_geniv_exit(struct crypto_tfm *tfm) in skcipher_geniv_exit()
|
D | jitterentropy-kcapi.c | 121 static int jent_kcapi_init(struct crypto_tfm *tfm) in jent_kcapi_init() 134 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup()
|
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() 684 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 | keywrap.c | 305 static int crypto_kw_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_kw_setkey() 321 static int crypto_kw_init_tfm(struct crypto_tfm *tfm) in crypto_kw_init_tfm() 336 static void crypto_kw_exit_tfm(struct crypto_tfm *tfm) in crypto_kw_exit_tfm()
|
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 | rng.c | 35 static inline struct crypto_rng *__crypto_rng_cast(struct crypto_tfm *tfm) in __crypto_rng_cast() 61 static int crypto_rng_init_tfm(struct crypto_tfm *tfm) in crypto_rng_init_tfm()
|
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 | cryptd.c | 164 static inline struct cryptd_queue *cryptd_get_queue(struct crypto_tfm *tfm) in cryptd_get_queue() 272 static int cryptd_blkcipher_init_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_init_tfm() 290 static void cryptd_blkcipher_exit_tfm(struct crypto_tfm *tfm) in cryptd_blkcipher_exit_tfm() 403 static int cryptd_hash_init_tfm(struct crypto_tfm *tfm) in cryptd_hash_init_tfm() 422 static void cryptd_hash_exit_tfm(struct crypto_tfm *tfm) in cryptd_hash_exit_tfm() 885 struct crypto_tfm *tfm; in cryptd_alloc_ablkcipher()
|
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 | 325 static int cprng_init(struct crypto_tfm *tfm) in cprng_init() 349 static void cprng_exit(struct crypto_tfm *tfm) in cprng_exit()
|
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 | algapi.c | 673 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, in crypto_spawn_tfm() 677 struct crypto_tfm *tfm; in crypto_spawn_tfm() 702 struct crypto_tfm *tfm; in crypto_spawn_tfm2() 924 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm) in crypto_tfm_in_queue()
|
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 | aead.c | 82 static void crypto_aead_exit_tfm(struct crypto_tfm *tfm) in crypto_aead_exit_tfm() 90 static int crypto_aead_init_tfm(struct crypto_tfm *tfm) in crypto_aead_init_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 | 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 | eseqiv.c | 149 static int eseqiv_init(struct crypto_tfm *tfm) in eseqiv_init()
|
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 | chacha20_generic.c | 127 int crypto_chacha20_setkey(struct crypto_tfm *tfm, const u8 *key, in crypto_chacha20_setkey()
|
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 | drbg.c | 1767 static int drbg_kcapi_init(struct crypto_tfm *tfm) in drbg_kcapi_init() 1776 static void drbg_kcapi_cleanup(struct crypto_tfm *tfm) in drbg_kcapi_cleanup() 1814 struct crypto_tfm *tfm_base = crypto_rng_tfm(tfm); in drbg_kcapi_seed()
|
D | seqiv.c | 232 static int seqiv_init(struct crypto_tfm *tfm) in seqiv_init()
|
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 | ahash.c | 449 static int crypto_ahash_init_tfm(struct crypto_tfm *tfm) in crypto_ahash_init_tfm()
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | aes.c | 38 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() 57 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_init() 68 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() 78 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() 97 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() 114 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() 57 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_ctr_init() 67 static void p8_aes_ctr_exit(struct crypto_tfm *tfm) in p8_aes_ctr_exit() 77 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() 59 crypto_tfm_alg_driver_name((struct crypto_tfm *) fallback)); in p8_aes_cbc_init() 69 static void p8_aes_cbc_exit(struct crypto_tfm *tfm) in p8_aes_cbc_exit() 79 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() 89 static void p8_ghash_exit_tfm(struct crypto_tfm *tfm) in p8_ghash_exit_tfm()
|
/linux-4.4.14/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 | 29 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); 30 int (*init_tfm)(struct crypto_tfm *tfm); 153 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, 186 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm); 212 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() 219 struct crypto_tfm *tfm) in crypto_tfm_alg_instance()
|
D | hash.h | 208 struct crypto_tfm base; 213 struct crypto_tfm base; 226 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast() 248 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm() 646 static inline struct crypto_tfm *crypto_shash_tfm(struct crypto_shash *tfm) in crypto_shash_tfm()
|
D | rng.h | 60 struct crypto_tfm base; 97 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm()
|
D | aead.h | 155 struct crypto_tfm base; 158 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast() 179 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
|
D | akcipher.h | 48 struct crypto_tfm base; 133 static inline struct crypto_tfm *crypto_akcipher_tfm( in crypto_akcipher_tfm() 145 struct crypto_tfm *tfm) in __crypto_akcipher_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 | skcipher.h | 66 struct crypto_tfm base; 181 struct crypto_tfm *tfm) in __crypto_skcipher_cast() 203 static inline struct crypto_tfm *crypto_skcipher_tfm( in crypto_skcipher_tfm()
|
D | blowfish.h | 20 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key,
|
D | chacha20.h | 20 int crypto_chacha20_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.4.14/drivers/crypto/nx/ |
D | nx.h | 157 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm); 158 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm); 159 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm); 160 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm); 161 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm); 162 void nx_crypto_ctx_exit(struct crypto_tfm *tfm);
|
D | nx-842.h | 176 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver); 177 void nx842_crypto_exit(struct crypto_tfm *tfm); 178 int nx842_crypto_compress(struct crypto_tfm *tfm, 181 int nx842_crypto_decompress(struct crypto_tfm *tfm,
|
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.c | 722 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_ctr_init() 728 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_cbc_init() 734 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_ecb_init() 740 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm) in nx_crypto_ctx_sha_init() 745 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm) in nx_crypto_ctx_aes_xcbc_init() 759 void nx_crypto_ctx_exit(struct crypto_tfm *tfm) in nx_crypto_ctx_exit()
|
D | nx-842.c | 113 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver) in nx842_crypto_init() 133 void nx842_crypto_exit(struct crypto_tfm *tfm) in nx842_crypto_exit() 258 int nx842_crypto_compress(struct crypto_tfm *tfm, in nx842_crypto_compress() 442 int nx842_crypto_decompress(struct crypto_tfm *tfm, in nx842_crypto_decompress()
|
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-aes-cbc.c | 33 static int cbc_aes_nx_set_key(struct crypto_tfm *tfm, in cbc_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()
|
D | nx-842-powernv.c | 587 static int nx842_powernv_crypto_init(struct crypto_tfm *tfm) in nx842_powernv_crypto_init()
|
D | nx-842-pseries.c | 969 static int nx842_pseries_crypto_init(struct crypto_tfm *tfm) in nx842_pseries_crypto_init()
|
/linux-4.4.14/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.4.14/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.4.14/arch/s390/crypto/ |
D | aes_s390.c | 95 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, in setkey_fallback_cip() 114 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 136 static void aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_encrypt() 161 static void aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aes_decrypt() 186 static int fallback_init_cip(struct crypto_tfm *tfm) in fallback_init_cip() 203 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() 286 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in ecb_aes_set_key() 367 static int fallback_init_blk(struct crypto_tfm *tfm) in fallback_init_blk() 384 static void fallback_exit_blk(struct crypto_tfm *tfm) in fallback_exit_blk() [all …]
|
D | des_s390.c | 36 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() 53 static void des_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in des_encrypt() 60 static void des_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in des_decrypt() 240 static int des3_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_setkey() 257 static void des3_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_encrypt() 264 static void des3_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des3_decrypt()
|
/linux-4.4.14/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 | 304 static int aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, in aes_set_key_common() 328 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key() 334 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() 347 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() 360 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_encrypt() 367 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_decrypt() 534 static int ablk_ecb_init(struct crypto_tfm *tfm) in ablk_ecb_init() 539 static int ablk_cbc_init(struct crypto_tfm *tfm) in ablk_cbc_init() 545 static int ablk_ctr_init(struct crypto_tfm *tfm) in ablk_ctr_init() 553 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 | 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 | cast6_avx_glue.c | 247 static int lrw_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_cast6_setkey() 313 static void lrw_exit_tfm(struct crypto_tfm *tfm) in lrw_exit_tfm() 325 static int xts_cast6_setkey(struct crypto_tfm *tfm, const u8 *key, in xts_cast6_setkey()
|
D | serpent_avx_glue.c | 255 int lrw_serpent_setkey(struct crypto_tfm *tfm, const u8 *key, in lrw_serpent_setkey() 323 void lrw_serpent_exit_tfm(struct crypto_tfm *tfm) in lrw_serpent_exit_tfm() 331 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 | 174 static int crc32c_intel_cra_init(struct crypto_tfm *tfm) in crc32c_intel_cra_init()
|
D | camellia_aesni_avx_glue.c | 201 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, in camellia_setkey()
|
D | camellia_aesni_avx2_glue.c | 197 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, in camellia_setkey()
|
/linux-4.4.14/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 | ixp4xx_crypto.c | 147 struct crypto_tfm *tfm; 245 static inline u32 cipher_cfg_enc(struct crypto_tfm *tfm) in cipher_cfg_enc() 250 static inline u32 cipher_cfg_dec(struct crypto_tfm *tfm) in cipher_cfg_dec() 255 static inline const struct ix_hash_algo *ix_hash(struct crypto_tfm *tfm) in ix_hash() 565 static int init_tfm(struct crypto_tfm *tfm) in init_tfm() 581 static int init_tfm_ablk(struct crypto_tfm *tfm) in init_tfm_ablk() 593 static void exit_tfm(struct crypto_tfm *tfm) in exit_tfm() 605 static int register_chain_var(struct crypto_tfm *tfm, u8 xpad, u32 target, in register_chain_var() 661 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, in setup_auth() 708 static int gen_rev_aes_key(struct crypto_tfm *tfm) in gen_rev_aes_key() [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 | picoxcell_crypto.c | 524 struct crypto_tfm *old_tfm = crypto_aead_tfm(crypto_aead_reqtfm(req)); in spacc_aead_do_fallback() 729 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_des_setkey() 757 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_aes_setkey() 804 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_kasumi_f8_setkey() 824 struct crypto_tfm *tfm = req->req->tfm; in spacc_ablk_need_fallback() 855 struct crypto_tfm *tfm = req->req->tfm; in spacc_ablk_submit() 890 struct crypto_tfm *old_tfm = in spacc_ablk_do_fallback() 988 static int spacc_ablk_cra_init(struct crypto_tfm *tfm) in spacc_ablk_cra_init() 1014 static void spacc_ablk_cra_exit(struct crypto_tfm *tfm) in spacc_ablk_cra_exit() 1026 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in spacc_ablk_encrypt() [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 | 629 struct crypto_tfm *tfm_aux = crypto_ablkcipher_tfm(tfm); in sahara_aes_setkey() 666 struct crypto_tfm *tfm = in sahara_aes_ecb_encrypt() 684 struct crypto_tfm *tfm = in sahara_aes_ecb_decrypt() 702 struct crypto_tfm *tfm = in sahara_aes_cbc_encrypt() 720 struct crypto_tfm *tfm = in sahara_aes_cbc_decrypt() 736 static int sahara_aes_cra_init(struct crypto_tfm *tfm) in sahara_aes_cra_init() 753 static void sahara_aes_cra_exit(struct crypto_tfm *tfm) in sahara_aes_cra_exit() 1182 static int sahara_sha_cra_init(struct crypto_tfm *tfm) in sahara_sha_cra_init() 1200 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 | 202 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in mv_setkey_aes() 702 static int mv_cra_init(struct crypto_tfm *tfm) in mv_cra_init() 843 static int mv_cra_hash_init(struct crypto_tfm *tfm, const char *base_hash_name, in mv_cra_hash_init() 891 static void mv_cra_hash_exit(struct crypto_tfm *tfm) in mv_cra_hash_exit() 900 static int mv_cra_hash_sha1_init(struct crypto_tfm *tfm) in mv_cra_hash_sha1_init() 905 static int mv_cra_hash_hmac_sha1_init(struct crypto_tfm *tfm) in mv_cra_hash_hmac_sha1_init()
|
D | omap-sham.c | 1240 static int omap_sham_cra_init_alg(struct crypto_tfm *tfm, const char *alg_base) in omap_sham_cra_init_alg() 1274 static int omap_sham_cra_init(struct crypto_tfm *tfm) in omap_sham_cra_init() 1279 static int omap_sham_cra_sha1_init(struct crypto_tfm *tfm) in omap_sham_cra_sha1_init() 1284 static int omap_sham_cra_sha224_init(struct crypto_tfm *tfm) in omap_sham_cra_sha224_init() 1289 static int omap_sham_cra_sha256_init(struct crypto_tfm *tfm) in omap_sham_cra_sha256_init() 1294 static int omap_sham_cra_md5_init(struct crypto_tfm *tfm) in omap_sham_cra_md5_init() 1299 static int omap_sham_cra_sha384_init(struct crypto_tfm *tfm) in omap_sham_cra_sha384_init() 1304 static int omap_sham_cra_sha512_init(struct crypto_tfm *tfm) in omap_sham_cra_sha512_init() 1309 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 | 413 static int omap_aes_crypt_dma(struct crypto_tfm *tfm, in omap_aes_crypt_dma() 496 struct crypto_tfm *tfm = crypto_ablkcipher_tfm( in omap_aes_crypt_dma_start() 790 static int omap_aes_cra_init(struct crypto_tfm *tfm) in omap_aes_cra_init() 814 static void omap_aes_cra_exit(struct crypto_tfm *tfm) in omap_aes_cra_exit()
|
D | s5p-sss.c | 533 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in s5p_aes_setkey() 567 static int s5p_aes_cra_init(struct crypto_tfm *tfm) in s5p_aes_cra_init()
|
D | bfin_crc.c | 469 static int bfin_crypto_crc_cra_init(struct crypto_tfm *tfm) in bfin_crypto_crc_cra_init() 480 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 | hifn_795x.c | 2048 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in hifn_setkey() 2470 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()
|
D | talitos.c | 2620 static int talitos_cra_init(struct crypto_tfm *tfm) in talitos_cra_init() 2649 static int talitos_cra_init_ahash(struct crypto_tfm *tfm) in talitos_cra_init_ahash()
|
/linux-4.4.14/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.4.14/include/crypto/internal/ |
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.4.14/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.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss.h | 169 int sun4i_hash_crainit(struct crypto_tfm *tfm); 195 int sun4i_ss_cipher_init(struct crypto_tfm *tfm);
|
D | sun4i-ss-hash.c | 21 int sun4i_hash_crainit(struct crypto_tfm *tfm) in sun4i_hash_crainit()
|
D | sun4i-ss-cipher.c | 456 int sun4i_ss_cipher_init(struct crypto_tfm *tfm) in sun4i_ss_cipher_init()
|
/linux-4.4.14/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 | 301 static int ccp_sha_cra_init(struct crypto_tfm *tfm) in ccp_sha_cra_init() 314 static void ccp_sha_cra_exit(struct crypto_tfm *tfm) in ccp_sha_cra_exit() 318 static int ccp_hmac_sha_cra_init(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_init() 336 static void ccp_hmac_sha_cra_exit(struct crypto_tfm *tfm) in ccp_hmac_sha_cra_exit()
|
D | ccp-crypto-aes-cmac.c | 338 static int ccp_aes_cmac_cra_init(struct crypto_tfm *tfm) in ccp_aes_cmac_cra_init() 361 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.4.14/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.4.14/drivers/crypto/qce/ |
D | ablkcipher.c | 155 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablk); in qce_ablkcipher_setkey() 195 struct crypto_tfm *tfm = in qce_ablkcipher_crypt() 227 static int qce_ablkcipher_init(struct crypto_tfm *tfm) in qce_ablkcipher_init() 244 static void qce_ablkcipher_exit(struct crypto_tfm *tfm) in qce_ablkcipher_exit()
|
D | cipher.h | 56 static inline struct qce_alg_template *to_cipher_tmpl(struct crypto_tfm *tfm) in to_cipher_tmpl()
|
D | sha.h | 68 static inline struct qce_alg_template *to_ahash_tmpl(struct crypto_tfm *tfm) in to_ahash_tmpl()
|
D | sha.c | 436 static int qce_ahash_cra_init(struct crypto_tfm *tfm) in qce_ahash_cra_init()
|
/linux-4.4.14/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 | 972 static int crypto4xx_alg_init(struct crypto_tfm *tfm) in crypto4xx_alg_init() 998 static void crypto4xx_alg_exit(struct crypto_tfm *tfm) in crypto4xx_alg_exit()
|
/linux-4.4.14/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() 374 struct crypto_tfm *tfm = data->tfm; in ieee80211_ccmp_set_key()
|
/linux-4.4.14/arch/um/include/shared/ |
D | common-offsets.h | 20 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
|
/linux-4.4.14/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.4.14/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.4.14/arch/x86/kernel/ |
D | asm-offsets.c | 37 OFFSET(crypto_tfm_ctx_offset, crypto_tfm, __crt_ctx); in common()
|
/linux-4.4.14/drivers/crypto/marvell/ |
D | cipher.c | 216 static int mv_cesa_ablkcipher_cra_init(struct crypto_tfm *tfm) in mv_cesa_ablkcipher_cra_init() 230 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in mv_cesa_aes_setkey() 255 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in mv_cesa_des_setkey() 279 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in mv_cesa_des3_ede_setkey()
|
D | hash.c | 434 static inline int mv_cesa_ahash_cra_init(struct crypto_tfm *tfm) in mv_cesa_ahash_cra_init() 1201 static int mv_cesa_ahmac_cra_init(struct crypto_tfm *tfm) in mv_cesa_ahmac_cra_init()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 125 struct crypto_tfm *tfm; 817 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_dec() 859 struct crypto_tfm *tfm = crypto_aead_tfm(aead_tfm); in qat_alg_aead_enc() 986 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_encrypt() 1023 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(atfm); in qat_alg_ablkcipher_decrypt() 1112 static int qat_alg_ablkcipher_init(struct crypto_tfm *tfm) in qat_alg_ablkcipher_init() 1123 static void qat_alg_ablkcipher_exit(struct crypto_tfm *tfm) in qat_alg_ablkcipher_exit()
|
/linux-4.4.14/arch/x86/crypto/sha-mb/ |
D | sha1_mb.c | 765 static int sha1_mb_async_init_tfm(struct crypto_tfm *tfm) in sha1_mb_async_init_tfm() 786 static void sha1_mb_async_exit_tfm(struct crypto_tfm *tfm) in sha1_mb_async_exit_tfm()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamhash.c | 1759 static int caam_hash_cra_init(struct crypto_tfm *tfm) in caam_hash_cra_init() 1803 static void caam_hash_cra_exit(struct crypto_tfm *tfm) in caam_hash_cra_exit()
|
D | caamalg.c | 1461 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(ablkcipher); in ablkcipher_setkey() 4344 static int caam_cra_init(struct crypto_tfm *tfm) in caam_cra_init() 4388 static void caam_cra_exit(struct crypto_tfm *tfm) in caam_cra_exit()
|
/linux-4.4.14/drivers/crypto/ux500/hash/ |
D | hash_core.c | 1495 static int hash_cra_init(struct crypto_tfm *tfm) in hash_cra_init()
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1093 static int cryp_cra_init(struct crypto_tfm *tfm) in cryp_cra_init()
|