Searched refs:crypto_lskcipher (Results 1 - 7 of 7) sorted by path

/linux-master/crypto/
H A Darc4.c19 static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key,
27 static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src,
41 static int crypto_arc4_init(struct crypto_lskcipher *tfm)
H A Dcbc.c15 static int crypto_cbc_encrypt_segment(struct crypto_lskcipher *tfm,
30 static int crypto_cbc_encrypt_inplace(struct crypto_lskcipher *tfm,
53 static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
56 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
58 struct crypto_lskcipher *cipher = *ctx;
69 static int crypto_cbc_decrypt_segment(struct crypto_lskcipher *tfm,
94 static int crypto_cbc_decrypt_inplace(struct crypto_lskcipher *tfm,
122 static int crypto_cbc_decrypt(struct crypto_lskcipher *tfm, const u8 *src,
125 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
127 struct crypto_lskcipher *ciphe
[all...]
H A Decb.c34 static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src,
45 static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src,
56 static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm,
68 static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm)
84 static void lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm)
H A Dlskcipher.c20 static inline struct crypto_lskcipher *__crypto_lskcipher_cast(
23 return container_of(tfm, struct crypto_lskcipher, base);
32 static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm,
53 int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key,
70 struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len,
71 u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src,
123 static int crypto_lskcipher_crypt(struct crypto_lskcipher *tfm, const u8 *src,
125 int (*crypt)(struct crypto_lskcipher *tfm,
140 int crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
149 int crypto_lskcipher_decrypt(struct crypto_lskcipher *tf
[all...]
H A Dskcipher.c605 struct crypto_lskcipher **ctx = crypto_skcipher_ctx(tfm);
757 return sizeof(struct crypto_lskcipher *);
/linux-master/include/crypto/internal/
H A Dskcipher.h112 struct crypto_lskcipher *lskcipher)
175 static inline struct crypto_lskcipher *crypto_spawn_lskcipher(
230 static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm)
283 static inline struct crypto_lskcipher *lskcipher_cipher_simple(
284 struct crypto_lskcipher *tfm)
286 struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
/linux-master/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);
293 * crypto_lskcipher is the cipher handle that is required for any subsequent
299 struct crypto_lskcipher *crypto_alloc_lskcipher(const char *alg_name,
309 struct crypto_lskcipher *tfm)
336 static inline void crypto_free_lskcipher(struct crypto_lskcipher *tf
[all...]

Completed in 194 milliseconds