Home
last modified time | relevance | path

Searched refs:crypto_tfm (Results 1 – 25 of 55) sorted by relevance

123

/crypto/
Dcipher.c19 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned()
42 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey()
59 static void cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, in cipher_crypt_unaligned() argument
61 struct crypto_tfm *tfm, in cipher_crypt_unaligned()
74 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, in cipher_encrypt_unaligned()
88 static void cipher_decrypt_unaligned(struct crypto_tfm *tfm, in cipher_decrypt_unaligned()
102 int crypto_init_cipher_ops(struct crypto_tfm *tfm) in crypto_init_cipher_ops()
Ddes_generic.c19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey()
40 static void crypto_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_encrypt()
47 static void crypto_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_decrypt()
54 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey()
75 static void crypto_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_encrypt()
83 static void crypto_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_decrypt()
Dcompress.c15 static int crypto_compress(struct crypto_tfm *tfm, in crypto_compress()
23 static int crypto_decompress(struct crypto_tfm *tfm, in crypto_decompress()
31 int crypto_init_compress_ops(struct crypto_tfm *tfm) in crypto_init_compress_ops()
Dtea.c42 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey()
57 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt()
85 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt()
115 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey()
130 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt()
151 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt()
174 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt()
195 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt()
D842.c42 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init()
58 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit()
65 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress()
81 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress()
Dlz4.c30 static int lz4_init(struct crypto_tfm *tfm) in lz4_init()
46 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit()
73 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto()
100 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
Dlz4hc.c29 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init()
45 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit()
72 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto()
101 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
Daes_ti.c12 static int aesti_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aesti_set_key()
20 static void aesti_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aesti_encrypt()
36 static void aesti_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in aesti_decrypt()
Dlzo-rle.c29 static int lzorle_init(struct crypto_tfm *tfm) in lzorle_init()
45 static void lzorle_exit(struct crypto_tfm *tfm) in lzorle_exit()
67 static int lzorle_compress(struct crypto_tfm *tfm, const u8 *src, in lzorle_compress()
97 static int lzorle_decompress(struct crypto_tfm *tfm, const u8 *src, in lzorle_decompress()
Dlzo.c29 static int lzo_init(struct crypto_tfm *tfm) in lzo_init()
45 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit()
67 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress()
97 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress()
Dapi.c292 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops()
314 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops()
355 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfm()
358 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm()
413 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base()
415 struct crypto_tfm *tfm; in crypto_alloc_base()
451 struct crypto_tfm *tfm = NULL; in crypto_create_tfm()
463 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_create_tfm()
566 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) in crypto_destroy_tfm()
Dacompress.c52 static void crypto_acomp_exit_tfm(struct crypto_tfm *tfm) in crypto_acomp_exit_tfm()
60 static int crypto_acomp_init_tfm(struct crypto_tfm *tfm) in crypto_acomp_init_tfm()
114 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc()
128 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free()
Dinternal.h61 int crypto_init_cipher_ops(struct crypto_tfm *tfm);
62 int crypto_init_compress_ops(struct crypto_tfm *tfm);
72 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
Dscompress.c108 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) in crypto_scomp_init_tfm()
174 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) in crypto_exit_scomp_ops_async()
186 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) in crypto_init_scomp_ops_async()
216 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_alloc_ctx()
235 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_free_ctx()
Dzstd.c124 static int zstd_init(struct crypto_tfm *tfm) in zstd_init()
143 static void zstd_exit(struct crypto_tfm *tfm) in zstd_exit()
164 static int zstd_compress(struct crypto_tfm *tfm, const u8 *src, in zstd_compress()
192 static int zstd_decompress(struct crypto_tfm *tfm, const u8 *src, in zstd_decompress()
Dsm4_generic.c156 int crypto_sm4_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_sm4_set_key()
193 void crypto_sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_sm4_encrypt()
203 void crypto_sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_sm4_decrypt()
Dcrypto_null.c27 static int null_compress(struct crypto_tfm *tfm, const u8 *src, in null_compress()
67 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey()
71 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in null_crypt()
Dkhazad.c756 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()
Ddeflate.c150 static int deflate_init(struct crypto_tfm *tfm) in deflate_init()
169 static void deflate_exit(struct crypto_tfm *tfm) in deflate_exit()
205 static int deflate_compress(struct crypto_tfm *tfm, const u8 *src, in deflate_compress()
261 static int deflate_decompress(struct crypto_tfm *tfm, const u8 *src, in deflate_decompress()
Dblkcipher.c368 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned()
390 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey()
414 struct crypto_tfm *tfm = req->base.tfm; in async_encrypt()
428 struct crypto_tfm *tfm = req->base.tfm; in async_decrypt()
454 static int crypto_init_blkcipher_ops_async(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_async()
468 static int crypto_init_blkcipher_ops_sync(struct crypto_tfm *tfm) in crypto_init_blkcipher_ops_sync()
487 static int crypto_init_blkcipher_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_blkcipher_ops()
Dkpp.c49 static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm) in crypto_kpp_exit_tfm()
57 static int crypto_kpp_init_tfm(struct crypto_tfm *tfm) in crypto_kpp_init_tfm()
Dablkcipher.c98 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_done()
178 struct crypto_tfm *tfm, in ablkcipher_copy_iv()
216 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_next()
261 struct crypto_tfm *tfm = req->base.tfm; in ablkcipher_walk_first()
340 static int crypto_init_ablkcipher_ops(struct crypto_tfm *tfm, u32 type, in crypto_init_ablkcipher_ops()
Dskcipher.c641 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher()
650 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher()
656 static void crypto_exit_skcipher_ops_blkcipher(struct crypto_tfm *tfm) in crypto_exit_skcipher_ops_blkcipher()
663 static int crypto_init_skcipher_ops_blkcipher(struct crypto_tfm *tfm) in crypto_init_skcipher_ops_blkcipher()
669 struct crypto_tfm *btfm; in crypto_init_skcipher_ops_blkcipher()
740 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_ablkcipher()
749 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_ablkcipher()
755 static void crypto_exit_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) in crypto_exit_skcipher_ops_ablkcipher()
762 static int crypto_init_skcipher_ops_ablkcipher(struct crypto_tfm *tfm) in crypto_init_skcipher_ops_ablkcipher()
768 struct crypto_tfm *abtfm; in crypto_init_skcipher_ops_ablkcipher()
[all …]
Djitterentropy-kcapi.c119 static int jent_kcapi_init(struct crypto_tfm *tfm) in jent_kcapi_init()
132 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup()
Dakcipher.c50 static void crypto_akcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_akcipher_exit_tfm()
58 static int crypto_akcipher_init_tfm(struct crypto_tfm *tfm) in crypto_akcipher_init_tfm()

123