/linux/include/linux/ |
H A D | crypto.h | 157 struct crypto_tfm; 174 struct crypto_tfm *tfm; 236 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 238 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 239 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 254 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src, 256 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src, 365 int (*cra_init)(struct crypto_tfm *tfm); 366 void (*cra_exit)(struct crypto_tfm *tfm); 422 struct crypto_tfm { struct [all …]
|
/linux/drivers/crypto/cavium/zip/ |
H A D | zip_crypto.h | 60 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 D | zip_crypto.c | 199 int zip_alloc_comp_ctx_deflate(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_deflate() 206 int zip_alloc_comp_ctx_lzs(struct crypto_tfm *tfm) in zip_alloc_comp_ctx_lzs() 213 void zip_free_comp_ctx(struct crypto_tfm *tfm) in zip_free_comp_ctx() 220 int zip_comp_compress(struct crypto_tfm *tfm, in zip_comp_compress() 229 int zip_comp_decompress(struct crypto_tfm *tfm, in zip_comp_decompress()
|
/linux/crypto/ |
H A D | des_generic.c | 19 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 D | api.c | 365 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() 406 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfmgfp() 409 struct crypto_tfm *tfm; in __crypto_alloc_tfmgfp() 438 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfm() 467 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base() 469 struct crypto_tfm *tfm; in crypto_alloc_base() 505 struct crypto_tfm *tfm; in crypto_alloc_tfmmem() 517 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_alloc_tfmmem() 529 struct crypto_tfm *tfm; in crypto_create_tfm_node() 537 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_create_tfm_node() [all …]
|
H A D | internal.h | 108 struct crypto_tfm *__crypto_alloc_tfmgfp(struct crypto_alg *alg, u32 type, 110 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, 115 struct crypto_tfm *otfm); 197 static inline struct crypto_tfm *crypto_tfm_get(struct crypto_tfm *tfm) in crypto_tfm_get()
|
H A D | 842.c | 42 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 D | lz4hc.c | 29 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 D | lz4.c | 30 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 D | sm4_generic.c | 31 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()
|
H A D | lzo-rle.c | 29 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 D | lzo.c | 29 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 D | aes_ti.c | 12 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 D | acompress.c | 56 static void crypto_acomp_exit_tfm(struct crypto_tfm *tfm) in crypto_acomp_exit_tfm() 64 static int crypto_acomp_init_tfm(struct crypto_tfm *tfm) in crypto_acomp_init_tfm() 128 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc() 142 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free()
|
/linux/include/crypto/ |
H A D | algapi.h | 60 int (*init_tfm)(struct crypto_tfm *tfm); 158 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, 181 static inline void *crypto_tfm_ctx(struct crypto_tfm *tfm) in crypto_tfm_ctx() 186 static inline void *crypto_tfm_ctx_align(struct crypto_tfm *tfm, in crypto_tfm_ctx_align() 205 static inline void *crypto_tfm_ctx_dma(struct crypto_tfm *tfm) in crypto_tfm_ctx_dma() 211 struct crypto_tfm *tfm) in crypto_tfm_alg_instance() 269 static inline u32 crypto_tfm_alg_type(struct crypto_tfm *tfm) in crypto_tfm_alg_type()
|
H A D | twofish.h | 11 struct crypto_tfm; 23 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len);
|
/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 374 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() 1094 static int safexcel_cipher_exit_inv(struct crypto_tfm *tfm, in safexcel_cipher_exit_inv() 1127 static int safexcel_skcipher_exit_inv(struct crypto_tfm *tfm) in safexcel_skcipher_exit_inv() 1142 static int safexcel_aead_exit_inv(struct crypto_tfm *tfm) in safexcel_aead_exit_inv() 1206 static int safexcel_skcipher_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_cra_init() 1225 static int safexcel_cipher_cra_exit(struct crypto_tfm *tfm) in safexcel_cipher_cra_exit() 1239 static void safexcel_skcipher_cra_exit(struct crypto_tfm *tfm) in safexcel_skcipher_cra_exit() 1259 static void safexcel_aead_cra_exit(struct crypto_tfm *tfm) in safexcel_aead_cra_exit() 1279 static int safexcel_skcipher_aes_ecb_cra_init(struct crypto_tfm *tfm) in safexcel_skcipher_aes_ecb_cra_init() [all …]
|
/linux/arch/powerpc/crypto/ |
H A D | aes.c | 28 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()
|
/linux/drivers/crypto/nx/ |
H A D | nx-842.h | 185 int nx842_crypto_init(struct crypto_tfm *tfm, struct nx842_driver *driver); 186 void nx842_crypto_exit(struct crypto_tfm *tfm); 187 int nx842_crypto_compress(struct crypto_tfm *tfm, 190 int nx842_crypto_decompress(struct crypto_tfm *tfm,
|
/linux/arch/arm64/crypto/ |
H A D | sm4-ce-cipher-glue.c | 20 static int sm4_ce_setkey(struct crypto_tfm *tfm, const u8 *key, in sm4_ce_setkey() 28 static void sm4_ce_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_encrypt() 41 static void sm4_ce_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in sm4_ce_decrypt()
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss.h | 199 int sun4i_hash_crainit(struct crypto_tfm *tfm); 200 void sun4i_hash_craexit(struct crypto_tfm *tfm); 226 int sun4i_ss_cipher_init(struct crypto_tfm *tfm); 227 void sun4i_ss_cipher_exit(struct crypto_tfm *tfm);
|
/linux/include/crypto/internal/ |
H A D | scompress.h | 20 struct crypto_tfm base; 54 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 59 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm()
|
H A D | cipher.h | 17 struct crypto_tfm base; 37 static inline struct crypto_cipher *__crypto_cipher_cast(struct crypto_tfm *tfm) in __crypto_cipher_cast() 66 static inline struct crypto_tfm *crypto_cipher_tfm(struct crypto_cipher *tfm) in crypto_cipher_tfm()
|
/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss.h | 292 int sun8i_ss_cipher_init(struct crypto_tfm *tfm); 293 void sun8i_ss_cipher_exit(struct crypto_tfm *tfm); 304 int sun8i_ss_prng_init(struct crypto_tfm *tfm); 305 void sun8i_ss_prng_exit(struct crypto_tfm *tfm);
|
/linux/arch/riscv/crypto/ |
H A D | sm4-riscv64-glue.c | 27 static int riscv64_sm4_setkey(struct crypto_tfm *tfm, const u8 *key, in riscv64_sm4_setkey() 43 static void riscv64_sm4_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in riscv64_sm4_encrypt() 56 static void riscv64_sm4_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in riscv64_sm4_decrypt()
|