Home
last modified time | relevance | path

Searched refs:crypto_lskcipher (Results 1 – 7 of 7) sorted by relevance

/linux/include/crypto/
H A Dskcipher.h63 struct crypto_lskcipher { struct
203 int (*setkey)(struct crypto_lskcipher *tfm, const u8 *key,
205 int (*encrypt)(struct crypto_lskcipher *tfm, const u8 *src,
207 int (*decrypt)(struct crypto_lskcipher *tfm, const u8 *src,
209 int (*init)(struct crypto_lskcipher *tfm);
210 void (*exit)(struct crypto_lskcipher *tfm);
300 struct crypto_lskcipher *crypto_alloc_lskcipher(const char *alg_name,
310 struct crypto_lskcipher *tfm) in crypto_lskcipher_tfm()
343 static inline void crypto_free_lskcipher(struct crypto_lskcipher *tfm) in crypto_free_lskcipher()
367 struct crypto_lskcipher *tfm) in crypto_lskcipher_driver_name()
[all …]
/linux/crypto/
H A Dlskcipher.c20 static inline struct crypto_lskcipher *__crypto_lskcipher_cast( in __crypto_lskcipher_cast()
23 return container_of(tfm, struct crypto_lskcipher, base); in __crypto_lskcipher_cast()
32 static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm, in lskcipher_setkey_unaligned()
53 int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key, in crypto_lskcipher_setkey()
70 struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len, in crypto_lskcipher_crypt_unaligned()
71 u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_crypt_unaligned()
123 static int crypto_lskcipher_crypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_crypt()
125 int (*crypt)(struct crypto_lskcipher *tfm, in crypto_lskcipher_crypt()
140 int crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_encrypt()
149 int crypto_lskcipher_decrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_lskcipher_decrypt()
[all …]
H A Dcbc.c15 static int crypto_cbc_encrypt_segment(struct crypto_lskcipher *tfm, in crypto_cbc_encrypt_segment()
30 static int crypto_cbc_encrypt_inplace(struct crypto_lskcipher *tfm, in crypto_cbc_encrypt_inplace()
53 static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_cbc_encrypt()
56 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_cbc_encrypt()
58 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_encrypt()
69 static int crypto_cbc_decrypt_segment(struct crypto_lskcipher *tfm, in crypto_cbc_decrypt_segment()
94 static int crypto_cbc_decrypt_inplace(struct crypto_lskcipher *tfm, in crypto_cbc_decrypt_inplace()
122 static int crypto_cbc_decrypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_cbc_decrypt()
125 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_cbc_decrypt()
127 struct crypto_lskcipher *cipher = *ctx; in crypto_cbc_decrypt()
H A Darc4.c19 static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key, in crypto_arc4_setkey()
27 static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src, in crypto_arc4_crypt()
41 static int crypto_arc4_init(struct crypto_lskcipher *tfm) in crypto_arc4_init()
H A Decb.c34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src, in crypto_ecb_encrypt2()
45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src, in crypto_ecb_decrypt2()
56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm, in lskcipher_setkey_simple2()
68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm) in lskcipher_init_tfm_simple2()
84 static void lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm) in lskcipher_exit_tfm_simple2()
H A Dskcipher.c406 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(tfm); in crypto_skcipher_setkey()
560 return sizeof(struct crypto_lskcipher *); in crypto_skcipher_extsize()
/linux/include/crypto/internal/
H A Dskcipher.h118 struct crypto_lskcipher *lskcipher) in lskcipher_alg_instance()
181 static inline struct crypto_lskcipher *crypto_spawn_lskcipher( in crypto_spawn_lskcipher()
235 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm) in crypto_lskcipher_ctx()
295 static inline struct crypto_lskcipher *lskcipher_cipher_simple( in lskcipher_cipher_simple()
296 struct crypto_lskcipher *tfm) in lskcipher_cipher_simple()
298 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_cipher_simple()