/Linux-v4.19/include/linux/ |
D | crypto.h | 158 struct crypto_tfm; 175 struct crypto_tfm *tfm; 200 struct crypto_tfm *tfm; 201 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 293 int (*setkey)(struct crypto_tfm *tfm, const u8 *key, 359 int (*cia_setkey)(struct crypto_tfm *tfm, const u8 *key, 361 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 362 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 366 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src, 368 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src, [all …]
|
/Linux-v4.19/drivers/crypto/cavium/zip/ |
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,
|
D | zip_crypto.c | 199 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()
|
/Linux-v4.19/crypto/ |
D | cipher.c | 24 static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, in setkey_unaligned() 47 static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) in setkey() 64 static void cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, in cipher_crypt_unaligned() argument 66 struct crypto_tfm *tfm, in cipher_crypt_unaligned() 79 static void cipher_encrypt_unaligned(struct crypto_tfm *tfm, in cipher_encrypt_unaligned() 93 static void cipher_decrypt_unaligned(struct crypto_tfm *tfm, in cipher_decrypt_unaligned() 107 int crypto_init_cipher_ops(struct crypto_tfm *tfm) in crypto_init_cipher_ops()
|
D | compress.c | 20 static int crypto_compress(struct crypto_tfm *tfm, in crypto_compress() 28 static int crypto_decompress(struct crypto_tfm *tfm, in crypto_decompress() 36 int crypto_init_compress_ops(struct crypto_tfm *tfm) in crypto_init_compress_ops()
|
D | tea.c | 47 static int tea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in tea_setkey() 62 static void tea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_encrypt() 90 static void tea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in tea_decrypt() 120 static int xtea_setkey(struct crypto_tfm *tfm, const u8 *in_key, in xtea_setkey() 135 static void xtea_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_encrypt() 156 static void xtea_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xtea_decrypt() 179 static void xeta_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_encrypt() 200 static void xeta_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in xeta_decrypt()
|
D | 842.c | 51 static int crypto842_init(struct crypto_tfm *tfm) in crypto842_init() 67 static void crypto842_exit(struct crypto_tfm *tfm) in crypto842_exit() 74 static int crypto842_compress(struct crypto_tfm *tfm, in crypto842_compress() 90 static int crypto842_decompress(struct crypto_tfm *tfm, in crypto842_decompress()
|
D | lz4.c | 43 static int lz4_init(struct crypto_tfm *tfm) in lz4_init() 59 static void lz4_exit(struct crypto_tfm *tfm) in lz4_exit() 86 static int lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_compress_crypto() 113 static int lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4_decompress_crypto()
|
D | lzo.c | 42 static int lzo_init(struct crypto_tfm *tfm) in lzo_init() 58 static void lzo_exit(struct crypto_tfm *tfm) in lzo_exit() 80 static int lzo_compress(struct crypto_tfm *tfm, const u8 *src, in lzo_compress() 110 static int lzo_decompress(struct crypto_tfm *tfm, const u8 *src, in lzo_decompress()
|
D | lz4hc.c | 42 static int lz4hc_init(struct crypto_tfm *tfm) in lz4hc_init() 58 static void lz4hc_exit(struct crypto_tfm *tfm) in lz4hc_exit() 85 static int lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_compress_crypto() 114 static int lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, in lz4hc_decompress_crypto()
|
D | api.c | 297 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops() 319 static void crypto_exit_ops(struct crypto_tfm *tfm) in crypto_exit_ops() 360 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, in __crypto_alloc_tfm() 363 struct crypto_tfm *tfm = NULL; in __crypto_alloc_tfm() 418 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base() 420 struct crypto_tfm *tfm; in crypto_alloc_base() 456 struct crypto_tfm *tfm = NULL; in crypto_create_tfm() 468 tfm = (struct crypto_tfm *)(mem + tfmsize); in crypto_create_tfm() 571 void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm) in crypto_destroy_tfm()
|
D | acompress.c | 61 static void crypto_acomp_exit_tfm(struct crypto_tfm *tfm) in crypto_acomp_exit_tfm() 69 static int crypto_acomp_init_tfm(struct crypto_tfm *tfm) in crypto_acomp_init_tfm() 123 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_alloc() 137 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in acomp_request_free()
|
D | speck.c | 68 static void speck128_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in speck128_encrypt() 88 static void speck128_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in speck128_decrypt() 139 static int speck128_setkey(struct crypto_tfm *tfm, const u8 *key, in speck128_setkey() 180 static void speck64_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in speck64_encrypt() 200 static void speck64_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) in speck64_decrypt() 242 static int speck64_setkey(struct crypto_tfm *tfm, const u8 *key, in speck64_setkey()
|
D | scompress.c | 132 static int crypto_scomp_init_tfm(struct crypto_tfm *tfm) in crypto_scomp_init_tfm() 198 static void crypto_exit_scomp_ops_async(struct crypto_tfm *tfm) in crypto_exit_scomp_ops_async() 209 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm) in crypto_init_scomp_ops_async() 239 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_alloc_ctx() 258 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_free_ctx()
|
D | ecb.c | 25 static int crypto_ecb_setkey(struct crypto_tfm *parent, const u8 *key, in crypto_ecb_setkey() 44 void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) in crypto_ecb_crypt() argument 97 static int crypto_ecb_init_tfm(struct crypto_tfm *tfm) in crypto_ecb_init_tfm() 112 static void crypto_ecb_exit_tfm(struct crypto_tfm *tfm) in crypto_ecb_exit_tfm()
|
D | internal.h | 72 int crypto_init_cipher_ops(struct crypto_tfm *tfm); 73 int crypto_init_compress_ops(struct crypto_tfm *tfm); 83 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
|
D | zstd.c | 132 static int zstd_init(struct crypto_tfm *tfm) in zstd_init() 151 static void zstd_exit(struct crypto_tfm *tfm) in zstd_exit() 172 static int zstd_compress(struct crypto_tfm *tfm, const u8 *src, in zstd_compress() 200 static int zstd_decompress(struct crypto_tfm *tfm, const u8 *src, in zstd_decompress()
|
/Linux-v4.19/drivers/crypto/vmx/ |
D | aes.c | 38 static int p8_aes_init(struct crypto_tfm *tfm) in p8_aes_init() 61 static void p8_aes_exit(struct crypto_tfm *tfm) in p8_aes_exit() 71 static int p8_aes_setkey(struct crypto_tfm *tfm, const u8 *key, in p8_aes_setkey() 90 static void p8_aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_encrypt() 107 static void p8_aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in p8_aes_decrypt()
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx.h | 158 int nx_crypto_ctx_aes_xcbc_init(struct crypto_tfm *tfm); 159 int nx_crypto_ctx_aes_ctr_init(struct crypto_tfm *tfm); 160 int nx_crypto_ctx_aes_cbc_init(struct crypto_tfm *tfm); 161 int nx_crypto_ctx_aes_ecb_init(struct crypto_tfm *tfm); 162 int nx_crypto_ctx_sha_init(struct crypto_tfm *tfm); 163 void nx_crypto_ctx_exit(struct crypto_tfm *tfm);
|
D | nx-842.h | 180 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,
|
/Linux-v4.19/include/crypto/ |
D | sm4.h | 23 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);
|
D | twofish.h | 11 struct crypto_tfm; 23 int twofish_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int key_len);
|
D | algapi.h | 37 int (*init)(struct crypto_tfm *tfm, u32 type, u32 mask); 38 int (*init_tfm)(struct crypto_tfm *tfm); 160 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type, 195 int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm); 260 static inline void *crypto_tfm_ctx_aligned(struct crypto_tfm *tfm) in crypto_tfm_ctx_aligned() 267 struct crypto_tfm *tfm) in crypto_tfm_alg_instance()
|
D | acompress.h | 57 struct crypto_tfm base; 115 static inline struct crypto_tfm *crypto_acomp_tfm(struct crypto_acomp *tfm) in crypto_acomp_tfm() 125 static inline struct crypto_acomp *__crypto_acomp_tfm(struct crypto_tfm *tfm) in __crypto_acomp_tfm()
|
/Linux-v4.19/include/crypto/internal/ |
D | scompress.h | 21 struct crypto_tfm base; 50 static inline struct crypto_scomp *__crypto_scomp_tfm(struct crypto_tfm *tfm) in __crypto_scomp_tfm() 55 static inline struct crypto_tfm *crypto_scomp_tfm(struct crypto_scomp *tfm) in crypto_scomp_tfm() 97 int crypto_init_scomp_ops_async(struct crypto_tfm *tfm);
|