crypto_alg
static struct crypto_alg sm4_ce_alg = {
static struct crypto_alg riscv64_sm4_alg = {
static struct crypto_alg cipher_alg = {
static struct crypto_alg bf_cipher_alg = {
static struct crypto_alg camellia_cipher_alg = {
static struct crypto_alg alg = {
static unsigned int crypto_acomp_extsize(struct crypto_alg *alg)
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->calg.base;
static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg)
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *blockcipher_alg)
struct crypto_alg *blockcipher_alg;
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
static struct crypto_alg alg = {
struct crypto_alg *calg = tfm->__crt_alg;
static unsigned int crypto_ahash_extsize(struct crypto_alg *alg)
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *alg = &halg->base;
struct crypto_alg *base = &alg->halg.base;
struct crypto_alg *base = &alg->halg.base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
unsigned int crypto_alg_extsize(struct crypto_alg *alg)
struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask);
struct crypto_alg *q;
static struct list_head *crypto_more_spawns(struct crypto_alg *alg,
void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
struct crypto_alg *nalg)
static void crypto_alg_finish_registration(struct crypto_alg *alg,
struct crypto_alg *q;
static struct crypto_larval *crypto_alloc_test_larval(struct crypto_alg *alg)
__crypto_register_alg(struct crypto_alg *alg, struct list_head *algs_to_put)
struct crypto_alg *q;
static int crypto_check_alg(struct crypto_alg *alg)
struct crypto_alg *alg;
struct crypto_alg *q;
struct crypto_alg *alg;
struct crypto_alg *n;
static void crypto_free_alg(struct crypto_alg *alg)
int crypto_register_alg(struct crypto_alg *alg)
static int crypto_remove_alg(struct crypto_alg *alg, struct list_head *list)
void crypto_unregister_alg(struct crypto_alg *alg)
int crypto_register_algs(struct crypto_alg *algs, int count)
void crypto_unregister_algs(struct crypto_alg *algs, int count)
struct crypto_alg *alg;
static struct crypto_alg *crypto_spawn_alg(struct crypto_spawn *spawn)
struct crypto_alg *alg = ERR_PTR(-EAGAIN);
struct crypto_alg *target;
struct crypto_alg *alg;
struct crypto_alg *alg;
const char *driver, struct crypto_alg *alg)
static void crypto_destroy_instance(struct crypto_alg *alg)
static int cryptomgr_schedule_test(struct crypto_alg *alg)
static struct crypto_alg anubis_alg = {
static struct crypto_alg *crypto_larval_add(const char *name, u32 type,
struct crypto_alg *alg;
static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg,
static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type,
struct crypto_alg *alg;
static struct crypto_alg *crypto_larval_lookup(const char *name, u32 type,
struct crypto_alg *alg;
struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask)
struct crypto_alg *alg;
struct crypto_alg *larval;
static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask)
static struct crypto_alg *crypto_larval_wait(struct crypto_alg *alg,
static struct crypto_alg *crypto_alg_lookup(const char *name, u32 type,
void crypto_shoot_alg(struct crypto_alg *alg)
struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
struct crypto_alg *crypto_mod_get(struct crypto_alg *alg)
struct crypto_alg *alg;
void crypto_mod_put(struct crypto_alg *alg)
void *crypto_create_tfm_node(struct crypto_alg *alg,
struct crypto_alg *crypto_find_alg(const char *alg_name,
static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type,
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto_alg *q, *alg = NULL;
struct crypto_alg *alg = crypto_alg_mod_lookup(name, type, mask);
void crypto_destroy_alg(struct crypto_alg *alg)
static void crypto_larval_destroy(struct crypto_alg *alg)
static struct crypto_alg aria_alg = {
struct crypto_alg *auth_base;
struct crypto_alg *auth_base;
static struct crypto_alg alg = {
static struct crypto_alg camellia_alg = {
static struct crypto_alg alg = {
static struct crypto_alg alg = {
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto_alg *alg)
struct crypto_alg base;
static int crypto_report_alg(struct crypto_alg *alg,
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto_alg *alg;
static struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact)
struct crypto_alg *q, *alg = NULL;
struct crypto_alg *alg;
static int crypto_report_cipher(struct sk_buff *skb, struct crypto_alg *alg)
static int crypto_report_one(struct crypto_alg *alg,
struct crypto_alg *alg;
static struct crypto_alg des_algs[2] = { {
struct crypto_alg *cipher_alg;
struct crypto_alg *alg;
struct crypto_alg *base, *block_base;
struct crypto_alg *_hash_alg;
struct crypto_alg *blockcipher_alg;
struct crypto_alg *alg;
struct crypto_alg *alg;
static inline unsigned int crypto_cipher_ctxsize(struct crypto_alg *alg)
static inline unsigned int crypto_compress_ctxsize(struct crypto_alg *alg)
struct crypto_alg *crypto_mod_get(struct crypto_alg *alg);
struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask);
void crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list,
struct crypto_alg *nalg);
void crypto_shoot_alg(struct crypto_alg *alg);
struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type,
void *crypto_create_tfm_node(struct crypto_alg *alg,
static inline void *crypto_create_tfm(struct crypto_alg *alg,
struct crypto_alg *crypto_find_alg(const char *alg_name,
unsigned int crypto_alg_extsize(struct crypto_alg *alg);
static inline struct crypto_alg *crypto_alg_get(struct crypto_alg *alg)
void crypto_destroy_alg(struct crypto_alg *alg);
static inline void crypto_alg_put(struct crypto_alg *alg)
static inline int crypto_is_larval(struct crypto_alg *alg)
static inline int crypto_is_dead(struct crypto_alg *alg)
static inline int crypto_is_moribund(struct crypto_alg *alg)
struct crypto_alg alg;
struct crypto_alg *adult;
unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
unsigned int (*extsize)(struct crypto_alg *alg);
void (*show)(struct seq_file *m, struct crypto_alg *alg);
int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
void (*destroy)(struct crypto_alg *alg);
static struct crypto_alg khazad_alg = {
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *auth_base;
struct seq_file *m, struct crypto_alg *alg)
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *calg = tfm->__crt_alg;
struct crypto_alg *base = &alg->co.base;
struct crypto_alg *base = &alg->co.base;
struct crypto_alg *alg)
struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list);
struct crypto_alg *base = &alg->base;
static unsigned int seedsize(struct crypto_alg *alg)
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *calg = tfm->__crt_alg;
static void crypto_scomp_destroy(struct crypto_alg *alg)
struct crypto_alg *base = &alg->calg.base;
struct crypto_alg *base = &alg->calg.base;
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
static struct crypto_alg seed_alg = {
static struct crypto_alg srp_alg = {
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->halg.base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *alg)
struct crypto_alg *alg)
struct crypto_alg *alg)
static unsigned int crypto_skcipher_extsize(struct crypto_alg *alg)
struct crypto_alg *alg)
struct sk_buff *skb, struct crypto_alg *alg)
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *base = &alg->base;
struct crypto_alg *cipher_alg;
static struct crypto_alg sm4_alg = {
static struct crypto_alg tea_algs[3] = { {
static struct crypto_alg alg = {
struct crypto_alg *alg;
struct crypto_alg *alg;
struct crypto4xx_alg_common *crypto_alg,
alg->alg = crypto_alg[i];
u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK;
if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) {
u32 crypto_alg = cmd & HACE_CMD_OP_MODE_MASK;
if (crypto_alg == HACE_CMD_CBC || crypto_alg == HACE_CMD_ECB) {
struct aspeed_hace_alg *crypto_alg;
crypto_alg = container_of(alg, struct aspeed_hace_alg, alg.skcipher.base);
ctx->hace_dev = crypto_alg->hace_dev;
static void atmel_aes_crypto_alg_init(struct crypto_alg *alg)
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *base = tfm->__crt_alg;
struct crypto_alg *alg;
struct crypto_alg *base = tfm->__crt_alg;
struct crypto_alg *alg;
struct crypto_alg *base;
struct crypto_alg *base;
struct crypto_alg *base;
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *alg;
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg ai;
static struct crypto_alg geode_alg = {
dev = kzalloc(sizeof(struct hifn_device) + sizeof(struct crypto_alg),
struct crypto_alg *alg)
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *alg)
struct crypto_alg *alg = tfm->__crt_alg;
static struct crypto_alg aes_alg = {
struct crypto_alg *base;
struct crypto_alg *alg = req->base.tfm->__crt_alg;
struct crypto_alg *alg = tfm->__crt_alg;
struct crypto_alg *alg;
struct crypto_alg *alg = NULL;
struct crypto_alg base; \
struct crypto_alg *alg)
struct crypto_alg base;
static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg)
struct crypto_alg base;
int crypto_register_alg(struct crypto_alg *alg);
void crypto_unregister_alg(struct crypto_alg *alg);
int crypto_register_algs(struct crypto_alg *algs, int count);
void crypto_unregister_algs(struct crypto_alg *algs, int count);
void crypto_mod_put(struct crypto_alg *alg);
const char *driver, struct crypto_alg *alg);
struct crypto_alg alg;
struct crypto_alg *alg;
struct crypto_alg *alg)
struct crypto_alg base; \
static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg)
static inline struct crypto_alg *crypto_spawn_cipher_alg(
static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg)
static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg)
static inline struct crypto_alg *skcipher_ialg_simple(
static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg)
struct crypto_alg base;
static inline struct rng_alg *__crypto_rng_alg(struct crypto_alg *alg)
struct crypto_alg base;
static inline struct sig_alg *__crypto_sig_alg(struct crypto_alg *alg)
struct crypto_alg base;
struct crypto_alg base; \
void (*cra_destroy)(struct crypto_alg *alg);
struct crypto_alg *__crt_alg;