Home
last modified time | relevance | path

Searched defs:tfm (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/Linux-v5.4/include/crypto/
Dskcipher.h133 #define SYNC_SKCIPHER_REQUEST_ON_STACK(name, tfm) \ argument
172 struct crypto_tfm *tfm) in __crypto_skcipher_cast()
198 struct crypto_skcipher *tfm) in crypto_skcipher_tfm()
207 static inline void crypto_free_skcipher(struct crypto_skcipher *tfm) in crypto_free_skcipher()
212 static inline void crypto_free_sync_skcipher(struct crypto_sync_skcipher *tfm) in crypto_free_sync_skcipher()
247 struct crypto_skcipher *tfm) in crypto_skcipher_driver_name()
253 struct crypto_skcipher *tfm) in crypto_skcipher_alg()
280 static inline unsigned int crypto_skcipher_ivsize(struct crypto_skcipher *tfm) in crypto_skcipher_ivsize()
286 struct crypto_sync_skcipher *tfm) in crypto_sync_skcipher_ivsize()
302 struct crypto_skcipher *tfm) in crypto_skcipher_blocksize()
[all …]
Dhash.h143 struct crypto_shash *tfm; member
233 static inline struct crypto_ahash *__crypto_ahash_cast(struct crypto_tfm *tfm) in __crypto_ahash_cast()
255 static inline struct crypto_tfm *crypto_ahash_tfm(struct crypto_ahash *tfm) in crypto_ahash_tfm()
264 static inline void crypto_free_ahash(struct crypto_ahash *tfm) in crypto_free_ahash()
281 static inline const char *crypto_ahash_alg_name(struct crypto_ahash *tfm) in crypto_ahash_alg_name()
286 static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) in crypto_ahash_driver_name()
292 struct crypto_ahash *tfm) in crypto_ahash_alignmask()
306 static inline unsigned int crypto_ahash_blocksize(struct crypto_ahash *tfm) in crypto_ahash_blocksize()
318 struct crypto_ahash *tfm) in crypto_hash_alg_common()
333 static inline unsigned int crypto_ahash_digestsize(struct crypto_ahash *tfm) in crypto_ahash_digestsize()
[all …]
Daead.h153 static inline struct crypto_aead *__crypto_aead_cast(struct crypto_tfm *tfm) in __crypto_aead_cast()
174 static inline struct crypto_tfm *crypto_aead_tfm(struct crypto_aead *tfm) in crypto_aead_tfm()
183 static inline void crypto_free_aead(struct crypto_aead *tfm) in crypto_free_aead()
188 static inline struct aead_alg *crypto_aead_alg(struct crypto_aead *tfm) in crypto_aead_alg()
208 static inline unsigned int crypto_aead_ivsize(struct crypto_aead *tfm) in crypto_aead_ivsize()
225 static inline unsigned int crypto_aead_authsize(struct crypto_aead *tfm) in crypto_aead_authsize()
240 static inline unsigned int crypto_aead_blocksize(struct crypto_aead *tfm) in crypto_aead_blocksize()
245 static inline unsigned int crypto_aead_alignmask(struct crypto_aead *tfm) in crypto_aead_alignmask()
250 static inline u32 crypto_aead_get_flags(struct crypto_aead *tfm) in crypto_aead_get_flags()
255 static inline void crypto_aead_set_flags(struct crypto_aead *tfm, u32 flags) in crypto_aead_set_flags()
[all …]
Dakcipher.h134 struct crypto_akcipher *tfm) in crypto_akcipher_tfm()
145 struct crypto_tfm *tfm) in __crypto_akcipher_tfm()
151 struct crypto_akcipher *tfm) in crypto_akcipher_alg()
156 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) in crypto_akcipher_reqsize()
162 struct crypto_akcipher *tfm) in akcipher_request_set_tfm()
178 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher()
192 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc()
268 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm) in crypto_akcipher_maxsize()
287 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt() local
311 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt() local
[all …]
Dkpp.h107 static inline struct crypto_tfm *crypto_kpp_tfm(struct crypto_kpp *tfm) in crypto_kpp_tfm()
117 static inline struct crypto_kpp *__crypto_kpp_tfm(struct crypto_tfm *tfm) in __crypto_kpp_tfm()
122 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg()
127 static inline unsigned int crypto_kpp_reqsize(struct crypto_kpp *tfm) in crypto_kpp_reqsize()
133 struct crypto_kpp *tfm) in kpp_request_set_tfm()
143 static inline u32 crypto_kpp_get_flags(struct crypto_kpp *tfm) in crypto_kpp_get_flags()
148 static inline void crypto_kpp_set_flags(struct crypto_kpp *tfm, u32 flags) in crypto_kpp_set_flags()
158 static inline void crypto_free_kpp(struct crypto_kpp *tfm) in crypto_free_kpp()
171 static inline struct kpp_request *kpp_request_alloc(struct crypto_kpp *tfm, in kpp_request_alloc()
281 static inline int crypto_kpp_set_secret(struct crypto_kpp *tfm, in crypto_kpp_set_secret()
[all …]
Drng.h92 static inline struct crypto_tfm *crypto_rng_tfm(struct crypto_rng *tfm) in crypto_rng_tfm()
105 static inline struct rng_alg *crypto_rng_alg(struct crypto_rng *tfm) in crypto_rng_alg()
115 static inline void crypto_free_rng(struct crypto_rng *tfm) in crypto_free_rng()
134 static inline int crypto_rng_generate(struct crypto_rng *tfm, in crypto_rng_generate()
158 static inline int crypto_rng_get_bytes(struct crypto_rng *tfm, in crypto_rng_get_bytes()
196 static inline int crypto_rng_seedsize(struct crypto_rng *tfm) in crypto_rng_seedsize()
/Linux-v5.4/drivers/crypto/sunxi-ss/
Dsun4i-ss-cipher.c17 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_opti_poll() local
120 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll_fallback() local
143 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cipher_poll() local
343 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() local
354 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() local
366 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() local
377 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() local
389 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() local
400 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() local
412 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() local
[all …]
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c33 struct crypto_tfm *tfm = crypto_ablkcipher_tfm(cipher); in rk_aes_setkey() local
78 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_encrypt() local
88 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_ecb_decrypt() local
98 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_encrypt() local
108 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_aes_cbc_decrypt() local
118 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_encrypt() local
128 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_ecb_decrypt() local
138 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_encrypt() local
148 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des_cbc_decrypt() local
158 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in rk_des3_ede_ecb_encrypt() local
[all …]
Drk3288_crypto_ahash.c20 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in zero_message_process() local
82 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_init() local
95 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_update() local
110 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_final() local
124 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_finup() local
141 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_import() local
154 struct crypto_ahash *tfm = crypto_ahash_reqtfm(req); in rk_ahash_export() local
196 struct crypto_ahash *tfm; in rk_ahash_start() local
233 struct crypto_ahash *tfm; in rk_ahash_crypto_rx() local
272 static int rk_cra_hash_init(struct crypto_tfm *tfm) in rk_cra_hash_init()
[all …]
/Linux-v5.4/include/linux/
Dcrypto.h161 struct crypto_tfm *tfm; member
180 struct crypto_blkcipher *tfm; member
828 static inline void crypto_free_tfm(struct crypto_tfm *tfm) in crypto_free_tfm()
838 static inline const char *crypto_tfm_alg_name(struct crypto_tfm *tfm) in crypto_tfm_alg_name()
843 static inline const char *crypto_tfm_alg_driver_name(struct crypto_tfm *tfm) in crypto_tfm_alg_driver_name()
848 static inline int crypto_tfm_alg_priority(struct crypto_tfm *tfm) in crypto_tfm_alg_priority()
853 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
858 static inline unsigned int crypto_tfm_alg_blocksize(struct crypto_tfm *tfm) in crypto_tfm_alg_blocksize()
863 static inline unsigned int crypto_tfm_alg_alignmask(struct crypto_tfm *tfm) in crypto_tfm_alg_alignmask()
868 static inline u32 crypto_tfm_get_flags(struct crypto_tfm *tfm) in crypto_tfm_get_flags()
[all …]
/Linux-v5.4/include/crypto/internal/
Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key()
95 static inline int crypto_des3_ede_verify_key(struct crypto_tfm *tfm, in crypto_des3_ede_verify_key()
108 static inline int verify_skcipher_des_key(struct crypto_skcipher *tfm, in verify_skcipher_des_key()
114 static inline int verify_skcipher_des3_key(struct crypto_skcipher *tfm, in verify_skcipher_des3_key()
120 static inline int verify_ablkcipher_des_key(struct crypto_ablkcipher *tfm, in verify_ablkcipher_des_key()
126 static inline int verify_ablkcipher_des3_key(struct crypto_ablkcipher *tfm, in verify_ablkcipher_des3_key()
132 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key()
142 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
Dscompress.h45 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()
55 static inline void crypto_free_scomp(struct crypto_scomp *tfm) in crypto_free_scomp()
60 static inline struct scomp_alg *crypto_scomp_alg(struct crypto_scomp *tfm) in crypto_scomp_alg()
65 static inline void *crypto_scomp_alloc_ctx(struct crypto_scomp *tfm) in crypto_scomp_alloc_ctx()
70 static inline void crypto_scomp_free_ctx(struct crypto_scomp *tfm, in crypto_scomp_free_ctx()
76 static inline int crypto_scomp_compress(struct crypto_scomp *tfm, in crypto_scomp_compress()
83 static inline int crypto_scomp_decompress(struct crypto_scomp *tfm, in crypto_scomp_decompress()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_cipher.c273 struct crypto_tfm *tfm = crypto_skcipher_tfm(ctfm); in safexcel_skcipher_aes_setkey() local
306 struct crypto_tfm *tfm = crypto_aead_tfm(ctfm); in safexcel_aead_setkey() local
859 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_handle_result() local
930 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in safexcel_aead_send() local
949 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv()
983 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv()
998 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv()
1062 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init()
1079 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit()
1093 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit()
[all …]
/Linux-v5.4/crypto/
D842.c31 static void *crypto842_alloc_ctx(struct crypto_scomp *tfm) in crypto842_alloc_ctx()
42 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init()
53 static void crypto842_free_ctx(struct crypto_scomp *tfm, void *ctx) in crypto842_free_ctx()
58 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit()
65 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress()
74 static int crypto842_scompress(struct crypto_scomp *tfm, in crypto842_scompress()
81 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress()
88 static int crypto842_sdecompress(struct crypto_scomp *tfm, in crypto842_sdecompress()
Dcfb.c30 static unsigned int crypto_cfb_bsize(struct crypto_skcipher *tfm) in crypto_cfb_bsize()
35 static void crypto_cfb_encrypt_one(struct crypto_skcipher *tfm, in crypto_cfb_encrypt_one()
43 struct crypto_skcipher *tfm) in crypto_cfb_final()
58 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_segment()
81 struct crypto_skcipher *tfm) in crypto_cfb_encrypt_inplace()
104 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_encrypt() local
128 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_segment()
151 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_inplace()
170 struct crypto_skcipher *tfm) in crypto_cfb_decrypt_blocks()
180 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in crypto_cfb_decrypt() local
Dlz4.c19 static void *lz4_alloc_ctx(struct crypto_scomp *tfm) in lz4_alloc_ctx()
30 static int lz4_init(struct crypto_tfm *tfm) in lz4_init()
41 static void lz4_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4_free_ctx()
46 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit()
66 static int lz4_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4_scompress()
73 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto()
93 static int lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4_sdecompress()
100 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
Dlz4hc.c18 static void *lz4hc_alloc_ctx(struct crypto_scomp *tfm) in lz4hc_alloc_ctx()
29 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init()
40 static void lz4hc_free_ctx(struct crypto_scomp *tfm, void *ctx) in lz4hc_free_ctx()
45 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit()
65 static int lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_scompress()
72 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto()
94 static int lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lz4hc_sdecompress()
101 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
Dlzo.c18 static void *lzo_alloc_ctx(struct crypto_scomp *tfm) in lzo_alloc_ctx()
29 static int lzo_init(struct crypto_tfm *tfm) in lzo_init()
40 static void lzo_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzo_free_ctx()
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()
75 static int lzo_scompress(struct crypto_scomp *tfm, const u8 *src, in lzo_scompress()
97 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress()
103 static int lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzo_sdecompress()
Dlzo-rle.c18 static void *lzorle_alloc_ctx(struct crypto_scomp *tfm) in lzorle_alloc_ctx()
29 static int lzorle_init(struct crypto_tfm *tfm) in lzorle_init()
40 static void lzorle_free_ctx(struct crypto_scomp *tfm, void *ctx) in lzorle_free_ctx()
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()
75 static int lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_scompress()
97 static int lzorle_decompress(struct crypto_tfm *tfm, const u8 *src, in lzorle_decompress()
103 static int lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, in lzorle_sdecompress()
Dskcipher.c451 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_walk_skcipher() local
513 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in skcipher_walk_aead_common() local
573 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in skcipher_walk_aead_decrypt() local
592 static void skcipher_set_needkey(struct crypto_skcipher *tfm) in skcipher_set_needkey()
598 static int skcipher_setkey_blkcipher(struct crypto_skcipher *tfm, in skcipher_setkey_blkcipher()
626 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in skcipher_crypt_blkcipher() local
641 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher() local
650 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher() local
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()
[all …]
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()
Dsimd.c50 static int simd_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key, in simd_skcipher_setkey()
68 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_encrypt() local
89 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in simd_skcipher_decrypt() local
108 static void simd_skcipher_exit(struct crypto_skcipher *tfm) in simd_skcipher_exit()
115 static int simd_skcipher_init(struct crypto_skcipher *tfm) in simd_skcipher_init()
148 struct crypto_skcipher *tfm; in simd_skcipher_create_compat() local
293 static int simd_aead_setkey(struct crypto_aead *tfm, const u8 *key, in simd_aead_setkey()
309 static int simd_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in simd_aead_setauthsize()
319 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_encrypt() local
340 struct crypto_aead *tfm = crypto_aead_reqtfm(req); in simd_aead_decrypt() local
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_crypto.c80 struct crypto_shash *tfm = ima_shash_tfm; in ima_alloc_tfm() local
97 static void ima_free_tfm(struct crypto_shash *tfm) in ima_free_tfm()
167 struct crypto_ahash *tfm = ima_ahash_tfm; in ima_alloc_atfm() local
187 static void ima_free_atfm(struct crypto_ahash *tfm) in ima_free_atfm()
206 struct crypto_ahash *tfm) in ima_calc_file_hash_atfm()
317 struct crypto_ahash *tfm; in ima_calc_file_ahash() local
333 struct crypto_shash *tfm) in ima_calc_file_hash_tfm()
382 struct crypto_shash *tfm; in ima_calc_file_shash() local
470 struct crypto_shash *tfm) in ima_calc_field_array_hash_tfm()
516 struct crypto_shash *tfm; in ima_calc_field_array_hash() local
[all …]
/Linux-v5.4/arch/arm/crypto/
Daes-neonbs-glue.c66 static int aesbs_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_setkey()
90 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in __ecb_crypt() local
125 static int aesbs_cbc_setkey(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_cbc_setkey()
145 static void cbc_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in cbc_encrypt_one()
159 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in cbc_decrypt() local
185 static int cbc_init(struct crypto_tfm *tfm) in cbc_init()
194 static void cbc_exit(struct crypto_tfm *tfm) in cbc_exit()
201 static int aesbs_ctr_setkey_sync(struct crypto_skcipher *tfm, const u8 *in_key, in aesbs_ctr_setkey_sync()
222 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(req); in ctr_encrypt() local
262 static void ctr_encrypt_one(struct crypto_skcipher *tfm, const u8 *src, u8 *dst) in ctr_encrypt_one()
[all …]
/Linux-v5.4/drivers/crypto/cavium/zip/
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()
251 void *zip_alloc_scomp_ctx_deflate(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_deflate()
270 void *zip_alloc_scomp_ctx_lzs(struct crypto_scomp *tfm) in zip_alloc_scomp_ctx_lzs()
289 void zip_free_scomp_ctx(struct crypto_scomp *tfm, void *ctx) in zip_free_scomp_ctx()
297 int zip_scomp_compress(struct crypto_scomp *tfm, in zip_scomp_compress()
309 int zip_scomp_decompress(struct crypto_scomp *tfm, in zip_scomp_decompress()

12345678910>>...13