Home
last modified time | relevance | path

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

12

/crypto/
A Ddes_generic.c19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey()
37 static void crypto_des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_encrypt()
44 static void crypto_des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in crypto_des_decrypt()
51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey()
69 static void crypto_des3_ede_encrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_encrypt()
77 static void crypto_des3_ede_decrypt(struct crypto_tfm *tfm, u8 *dst, in crypto_des3_ede_decrypt()
A Dinternal.h39 int (*init_tfm)(struct crypto_tfm *tfm);
123 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type,
125 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
130 struct crypto_tfm *otfm);
214 static inline struct crypto_tfm *crypto_tfm_get(struct crypto_tfm *tfm) in crypto_tfm_get()
A Dapi.c370 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops()
410 struct crypto_tfm *tfm; in __crypto_alloc_tfmgfp()
470 struct crypto_tfm *tfm; in crypto_alloc_base()
506 struct crypto_tfm *tfm; in crypto_alloc_tfmmem()
518 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_alloc_tfmmem()
530 struct crypto_tfm *tfm; in crypto_create_tfm_node()
538 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_create_tfm_node()
563 struct crypto_tfm *otfm) in crypto_clone_tfm()
566 struct crypto_tfm *tfm; in crypto_clone_tfm()
579 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_clone_tfm()
[all …]
A Dtea.c42 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey()
56 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt()
82 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt()
110 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey()
124 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt()
143 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt()
164 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt()
183 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt()
A Dsm4_generic.c31 static int sm4_setkey(struct crypto_tfm *tfm, const u8 *in_key, in sm4_setkey()
41 static void sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_encrypt()
50 static void sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_decrypt()
A 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()
A Dcipher.c63 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in cipher_crypt_one()
95 struct crypto_tfm *tfm = crypto_cipher_tfm(cipher); in crypto_clone_cipher()
98 struct crypto_tfm *ntfm; in crypto_clone_cipher()
A Dkhazad.c756 static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key, in khazad_setkey()
833 static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_encrypt()
839 static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in khazad_decrypt()
A Dcrypto_null.c53 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey()
57 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in null_crypt()
A Dkpp.c40 static void crypto_kpp_exit_tfm(struct crypto_tfm *tfm) in crypto_kpp_exit_tfm()
48 static int crypto_kpp_init_tfm(struct crypto_tfm *tfm) in crypto_kpp_init_tfm()
A Danubis.c462 static int anubis_setkey(struct crypto_tfm *tfm, const u8 *in_key, in anubis_setkey()
657 static void anubis_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_encrypt()
663 static void anubis_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in anubis_decrypt()
A Dblowfish_generic.c37 static void bf_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_encrypt()
69 static void bf_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in bf_decrypt()
A Dcompress.h17 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
A Daes_generic.c1136 int crypto_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in crypto_aes_set_key()
1176 static void crypto_aes_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_encrypt()
1246 static void crypto_aes_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in crypto_aes_decrypt()
A Dseed.c327 static int seed_set_key(struct crypto_tfm *tfm, const u8 *in_key, in seed_set_key()
363 static void seed_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_encrypt()
399 static void seed_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in seed_decrypt()
A Dskcipher.h15 int crypto_init_lskcipher_ops_sg(struct crypto_tfm *tfm);
A Dsig.c18 static void crypto_sig_exit_tfm(struct crypto_tfm *tfm) in crypto_sig_exit_tfm()
26 static int crypto_sig_init_tfm(struct crypto_tfm *tfm) in crypto_sig_init_tfm()
A Dtwofish_generic.c95 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_encrypt()
130 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in twofish_decrypt()
A Dlskcipher.c21 struct crypto_tfm *tfm) in __crypto_lskcipher_cast()
219 static void crypto_lskcipher_exit_tfm(struct crypto_tfm *tfm) in crypto_lskcipher_exit_tfm()
227 static int crypto_lskcipher_init_tfm(struct crypto_tfm *tfm) in crypto_lskcipher_init_tfm()
300 static void crypto_lskcipher_exit_tfm_sg(struct crypto_tfm *tfm) in crypto_lskcipher_exit_tfm_sg()
307 int crypto_init_lskcipher_ops_sg(struct crypto_tfm *tfm) in crypto_init_lskcipher_ops_sg()
A Dxctr.c52 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_xctr_crypt_segment()
77 void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = in crypto_xctr_crypt_inplace()
A Dscompress.c122 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) in crypto_scomp_init_tfm()
290 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) in crypto_exit_scomp_ops_async()
303 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) in crypto_init_scomp_ops_async()
A Dxcbc.c105 static int xcbc_init_tfm(struct crypto_tfm *tfm) in xcbc_init_tfm()
121 static void xcbc_exit_tfm(struct crypto_tfm *tfm) in xcbc_exit_tfm()
A Djitterentropy-kcapi.c201 static void jent_kcapi_cleanup(struct crypto_tfm *tfm) in jent_kcapi_cleanup()
223 static int jent_kcapi_init(struct crypto_tfm *tfm) in jent_kcapi_init()
A Dcast6_generic.c146 int cast6_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in cast6_setkey()
204 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt()
241 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt()
A Daria_generic.c174 int aria_set_key(struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len) in aria_set_key()
264 static void __aria_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in __aria_encrypt()
271 static void __aria_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in __aria_decrypt()

Completed in 1038 milliseconds

12