Home
last modified time | relevance | path

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

12345678

/OK3568_Linux_fs/kernel/include/linux/
H A Dcrypto.h167 struct crypto_tfm;
183 struct crypto_tfm *tfm;
245 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key,
247 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
248 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
263 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
265 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
491 int (*cra_init)(struct crypto_tfm *tfm);
492 void (*cra_exit)(struct crypto_tfm *tfm);
629 struct crypto_tfm { struct
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/cavium/zip/
H A Dzip_crypto.h60 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm);
61 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm);
62 void zip_free_comp_ctx(struct crypto_tfm *tfm);
63 int zip_comp_compress(struct crypto_tfm *tfm,
66 int zip_comp_decompress(struct crypto_tfm *tfm,
H A Dzip_crypto.c199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_deflate()
209 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_lzs()
219 void zip_free_comp_ctx(struct crypto_tfm *tfm) in zip_free_comp_ctx()
226 int zip_comp_compress(struct crypto_tfm *tfm, in zip_comp_compress()
238 int zip_comp_decompress(struct crypto_tfm *tfm, in zip_comp_decompress()
/OK3568_Linux_fs/kernel/crypto/
H 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()
H A Dcbc.c21 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); in crypto_cbc_encrypt_segment()
26 struct crypto_tfm *tfm; in crypto_cbc_encrypt_segment()
49 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); in crypto_cbc_encrypt_inplace()
53 struct crypto_tfm *tfm; in crypto_cbc_encrypt_inplace()
96 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); in crypto_cbc_decrypt_segment()
101 struct crypto_tfm *tfm; in crypto_cbc_decrypt_segment()
126 void (*fn)(struct crypto_tfm *, u8 *, const u8 *); in crypto_cbc_decrypt_inplace()
131 struct crypto_tfm *tfm; in crypto_cbc_decrypt_inplace()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dapi.c294 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops()
303 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops()
344 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfm()
347 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm()
402 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base()
404 struct crypto_tfm *tfm; in crypto_alloc_base()
441 struct crypto_tfm *tfm = NULL; in crypto_create_tfm_node()
453 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_create_tfm_node()
561 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) in crypto_destroy_tfm()
H A 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()
H A 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()
H 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()
H A 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()
122 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc()
136 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free()
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c374 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey()
405 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey()
1073 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv()
1107 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv()
1122 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv()
1186 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init()
1205 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit()
1219 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit()
1239 static void safexcel_aead_cra_exit(struct crypto_tfm *tfm) in safexcel_aead_cra_exit()
1259 static int safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_ecb_cra_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/vmx/
H A Daes.c28 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init()
51 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit()
61 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey()
81 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt()
98 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt()
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss.h292 int sun8i_ss_cipher_init(struct crypto_tfm *tfm);
293 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm);
303 int sun8i_ss_prng_init(struct crypto_tfm *tfm);
304 void sun8i_ss_prng_exit(struct crypto_tfm *tfm);
306 int sun8i_ss_hash_crainit(struct crypto_tfm *tfm);
307 void sun8i_ss_hash_craexit(struct crypto_tfm *tfm);
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce.h347 int sun8i_ce_cipher_init(struct crypto_tfm *tfm);
348 void sun8i_ce_cipher_exit(struct crypto_tfm *tfm);
356 int sun8i_ce_hash_crainit(struct crypto_tfm *tfm);
357 void sun8i_ce_hash_craexit(struct crypto_tfm *tfm);
371 void sun8i_ce_prng_exit(struct crypto_tfm *tfm);
372 int sun8i_ce_prng_init(struct crypto_tfm *tfm);
/OK3568_Linux_fs/kernel/include/crypto/internal/
H A Dscompress.h16 struct crypto_tfm base;
45 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm()
50 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm()
92 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
/OK3568_Linux_fs/kernel/include/crypto/
H A Dsm4.h23 int crypto_sm4_set_key(struct crypto_tfm *tfm, const u8 *in_key,
28 void crypto_sm4_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in);
29 void crypto_sm4_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in);
H A Dalgapi.h34 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask);
35 int (*init_tfm)(struct crypto_tfm *tfm);
114 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
175 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned()
182 struct crypto_tfm *tfm) in crypto_tfm_alg_instance()
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx-842.h180 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver);
181 void nx842_crypto_exit(struct crypto_tfm *tfm);
182 int nx842_crypto_compress(struct crypto_tfm *tfm,
185 int nx842_crypto_decompress(struct crypto_tfm *tfm,
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss.h192 int sun4i_hash_crainit(struct crypto_tfm *tfm);
193 void sun4i_hash_craexit(struct crypto_tfm *tfm);
219 int sun4i_ss_cipher_init(struct crypto_tfm *tfm);
220 void sun4i_ss_cipher_exit(struct crypto_tfm *tfm);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/crypto/
H A Daes_glue.c33 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt()
38 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt()
43 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, in aes_set_key()

12345678