lskcipher_alg
static struct lskcipher_alg arc4_alg = {
struct lskcipher_alg *cipher_alg;
struct lskcipher_alg *alg = crypto_lskcipher_alg(tfm);
struct lskcipher_alg *alg = crypto_lskcipher_alg(tfm);
struct lskcipher_alg *alg = crypto_lskcipher_alg(*ctx);
struct lskcipher_alg *alg = crypto_lskcipher_alg(*ctx);
struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher);
struct lskcipher_alg *alg = crypto_lskcipher_alg(skcipher);
struct lskcipher_alg *skcipher = __crypto_lskcipher_alg(alg);
static inline struct lskcipher_alg *__crypto_lskcipher_alg(
struct lskcipher_alg *skcipher = __crypto_lskcipher_alg(alg);
return container_of(alg, struct lskcipher_alg, co.base);
.algsize = offsetof(struct lskcipher_alg, co.base),
static int lskcipher_prepare_alg(struct lskcipher_alg *alg)
struct lskcipher_alg *cipher = crypto_lskcipher_alg(tfm);
int crypto_register_lskcipher(struct lskcipher_alg *alg)
void crypto_unregister_lskcipher(struct lskcipher_alg *alg)
int crypto_register_lskciphers(struct lskcipher_alg *algs, int count)
void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count)
struct lskcipher_alg *cipher_alg;
struct lskcipher_alg *cipher = crypto_lskcipher_alg(tfm);
static inline struct lskcipher_alg *crypto_lskcipher_spawn_alg(
return container_of(spawn->base.alg, struct lskcipher_alg, co.base);
static inline struct lskcipher_alg *crypto_spawn_lskcipher_alg(
int crypto_register_lskcipher(struct lskcipher_alg *alg);
void crypto_unregister_lskcipher(struct lskcipher_alg *alg);
int crypto_register_lskciphers(struct lskcipher_alg *algs, int count);
void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count);
static inline struct lskcipher_alg *lskcipher_ialg_simple(
char head[offsetof(struct lskcipher_alg, co.base)];
struct lskcipher_alg alg;
static inline struct lskcipher_alg *crypto_lskcipher_alg(
struct lskcipher_alg, co.base);