Symbol: crypto_lskcipher
crypto/arc4.c
19
static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key,
crypto/arc4.c
27
static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/arc4.c
41
static int crypto_arc4_init(struct crypto_lskcipher *tfm)
crypto/cbc.c
122
static int crypto_cbc_decrypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/cbc.c
125
struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
crypto/cbc.c
127
struct crypto_lskcipher *cipher = *ctx;
crypto/cbc.c
15
static int crypto_cbc_encrypt_segment(struct crypto_lskcipher *tfm,
crypto/cbc.c
30
static int crypto_cbc_encrypt_inplace(struct crypto_lskcipher *tfm,
crypto/cbc.c
53
static int crypto_cbc_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/cbc.c
56
struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
crypto/cbc.c
58
struct crypto_lskcipher *cipher = *ctx;
crypto/cbc.c
69
static int crypto_cbc_decrypt_segment(struct crypto_lskcipher *tfm,
crypto/cbc.c
94
static int crypto_cbc_decrypt_inplace(struct crypto_lskcipher *tfm,
crypto/ecb.c
34
static int crypto_ecb_encrypt2(struct crypto_lskcipher *tfm, const u8 *src,
crypto/ecb.c
45
static int crypto_ecb_decrypt2(struct crypto_lskcipher *tfm, const u8 *src,
crypto/ecb.c
56
static int lskcipher_setkey_simple2(struct crypto_lskcipher *tfm,
crypto/ecb.c
68
static int lskcipher_init_tfm_simple2(struct crypto_lskcipher *tfm)
crypto/ecb.c
84
static void lskcipher_exit_tfm_simple2(struct crypto_lskcipher *tfm)
crypto/lskcipher.c
123
static int crypto_lskcipher_crypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/lskcipher.c
125
int (*crypt)(struct crypto_lskcipher *tfm,
crypto/lskcipher.c
140
int crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/lskcipher.c
149
int crypto_lskcipher_decrypt(struct crypto_lskcipher *tfm, const u8 *src,
crypto/lskcipher.c
159
int (*crypt)(struct crypto_lskcipher *tfm,
crypto/lskcipher.c
165
struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
crypto/lskcipher.c
167
struct crypto_lskcipher *tfm = *ctx;
crypto/lskcipher.c
20
static inline struct crypto_lskcipher *__crypto_lskcipher_cast(
crypto/lskcipher.c
204
struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
crypto/lskcipher.c
213
struct crypto_lskcipher **ctx = crypto_skcipher_ctx(skcipher);
crypto/lskcipher.c
221
struct crypto_lskcipher *skcipher = __crypto_lskcipher_cast(tfm);
crypto/lskcipher.c
229
struct crypto_lskcipher *skcipher = __crypto_lskcipher_cast(tfm);
crypto/lskcipher.c
23
return container_of(tfm, struct crypto_lskcipher, base);
crypto/lskcipher.c
294
.tfmsize = offsetof(struct crypto_lskcipher, base),
crypto/lskcipher.c
300
struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm);
crypto/lskcipher.c
307
struct crypto_lskcipher **ctx = crypto_tfm_ctx(tfm);
crypto/lskcipher.c
309
struct crypto_lskcipher *skcipher;
crypto/lskcipher.c
32
static int lskcipher_setkey_unaligned(struct crypto_lskcipher *tfm,
crypto/lskcipher.c
335
struct crypto_lskcipher *crypto_alloc_lskcipher(const char *alg_name,
crypto/lskcipher.c
420
static int lskcipher_setkey_simple(struct crypto_lskcipher *tfm, const u8 *key,
crypto/lskcipher.c
423
struct crypto_lskcipher *cipher = lskcipher_cipher_simple(tfm);
crypto/lskcipher.c
431
static int lskcipher_init_tfm_simple(struct crypto_lskcipher *tfm)
crypto/lskcipher.c
434
struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
crypto/lskcipher.c
436
struct crypto_lskcipher *cipher;
crypto/lskcipher.c
447
static void lskcipher_exit_tfm_simple(struct crypto_lskcipher *tfm)
crypto/lskcipher.c
449
struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
crypto/lskcipher.c
53
int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm, const u8 *key,
crypto/lskcipher.c
576
inst->alg.co.base.cra_ctxsize = sizeof(struct crypto_lskcipher *);
crypto/lskcipher.c
70
struct crypto_lskcipher *tfm, const u8 *src, u8 *dst, unsigned len,
crypto/lskcipher.c
71
u8 *iv, int (*crypt)(struct crypto_lskcipher *tfm, const u8 *src,
crypto/skcipher.c
406
struct crypto_lskcipher **ctx = crypto_skcipher_ctx(tfm);
crypto/skcipher.c
560
return sizeof(struct crypto_lskcipher *);
include/crypto/internal/skcipher.h
118
struct crypto_lskcipher *lskcipher)
include/crypto/internal/skcipher.h
181
static inline struct crypto_lskcipher *crypto_spawn_lskcipher(
include/crypto/internal/skcipher.h
235
static inline void *crypto_lskcipher_ctx(struct crypto_lskcipher *tfm)
include/crypto/internal/skcipher.h
295
static inline struct crypto_lskcipher *lskcipher_cipher_simple(
include/crypto/internal/skcipher.h
296
struct crypto_lskcipher *tfm)
include/crypto/internal/skcipher.h
298
struct crypto_lskcipher **ctx = crypto_lskcipher_ctx(tfm);
include/crypto/skcipher.h
204
int (*setkey)(struct crypto_lskcipher *tfm, const u8 *key,
include/crypto/skcipher.h
206
int (*encrypt)(struct crypto_lskcipher *tfm, const u8 *src,
include/crypto/skcipher.h
208
int (*decrypt)(struct crypto_lskcipher *tfm, const u8 *src,
include/crypto/skcipher.h
210
int (*init)(struct crypto_lskcipher *tfm);
include/crypto/skcipher.h
211
void (*exit)(struct crypto_lskcipher *tfm);
include/crypto/skcipher.h
301
struct crypto_lskcipher *crypto_alloc_lskcipher(const char *alg_name,
include/crypto/skcipher.h
311
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
344
static inline void crypto_free_lskcipher(struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
368
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
388
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
424
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
456
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
490
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
524
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
542
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
582
static inline u32 crypto_lskcipher_get_flags(struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
587
static inline void crypto_lskcipher_set_flags(struct crypto_lskcipher *tfm,
include/crypto/skcipher.h
593
static inline void crypto_lskcipher_clear_flags(struct crypto_lskcipher *tfm,
include/crypto/skcipher.h
640
int crypto_lskcipher_setkey(struct crypto_lskcipher *tfm,
include/crypto/skcipher.h
656
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
662
struct crypto_lskcipher *tfm)
include/crypto/skcipher.h
765
int crypto_lskcipher_encrypt(struct crypto_lskcipher *tfm, const u8 *src,
include/crypto/skcipher.h
785
int crypto_lskcipher_decrypt(struct crypto_lskcipher *tfm, const u8 *src,