Home
last modified time | relevance | path

Searched refs:crypto_alg (Results 1 – 13 of 13) sorted by relevance

/include/linux/
Dcrypto.h550 struct crypto_alg { struct
576 void (*cra_destroy)(struct crypto_alg *alg); argument
595 void crypto_stats_init(struct crypto_alg *alg); argument
596 void crypto_stats_get(struct crypto_alg *alg);
597 void crypto_stats_ablkcipher_encrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
598 void crypto_stats_ablkcipher_decrypt(unsigned int nbytes, int ret, struct crypto_alg *alg);
599 void crypto_stats_aead_encrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
600 void crypto_stats_aead_decrypt(unsigned int cryptlen, struct crypto_alg *alg, int ret);
601 void crypto_stats_ahash_update(unsigned int nbytes, int ret, struct crypto_alg *alg);
602 void crypto_stats_ahash_final(unsigned int nbytes, int ret, struct crypto_alg *alg);
[all …]
/include/crypto/
Dalgapi.h32 unsigned int (*ctxsize)(struct crypto_alg *alg, u32 type, u32 mask);
33 unsigned int (*extsize)(struct crypto_alg *alg);
36 void (*show)(struct seq_file *m, struct crypto_alg *alg);
37 int (*report)(struct sk_buff *skb, struct crypto_alg *alg);
47 struct crypto_alg alg;
69 struct crypto_alg *alg;
138 void crypto_mod_put(struct crypto_alg *alg);
150 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
152 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
172 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
[all …]
Dakcipher.h106 struct crypto_alg base;
139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg()
289 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_encrypt()
313 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_decrypt()
337 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_sign()
364 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_akcipher_verify()
Dkpp.h83 struct crypto_alg base;
112 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
285 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_set_secret()
311 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_generate_public_key()
334 struct crypto_alg *calg = tfm->base.__crt_alg; in crypto_kpp_compute_shared_secret()
Dacompress.h83 struct crypto_alg base;
115 static inline struct acomp_alg *__crypto_acomp_alg(struct crypto_alg *alg) in __crypto_acomp_alg()
244 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_compress()
266 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_acomp_decompress()
Drng.h51 struct crypto_alg base;
138 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_rng_generate()
Dhash.h46 struct crypto_alg base;
200 struct crypto_alg base;
312 struct crypto_alg *alg) in __crypto_hash_alg_common()
529 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_update()
742 static inline struct shash_alg *__crypto_shash_alg(struct crypto_alg *alg) in __crypto_shash_alg()
Daead.h143 struct crypto_alg base;
Dskcipher.h125 struct crypto_alg base;
/include/crypto/internal/
Dcryptouser.h5 struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact);
Dhash.h131 static inline struct ahash_alg *__crypto_ahash_alg(struct crypto_alg *alg) in __crypto_ahash_alg()
162 return sizeof(struct ahash_alg) - sizeof(struct crypto_alg); in ahash_instance_headroom()
166 const char *name, struct crypto_alg *alg) in ahash_alloc_instance()
223 const char *name, struct crypto_alg *alg) in shash_alloc_instance()
Dscompress.h37 struct crypto_alg base;
40 static inline struct scomp_alg *__crypto_scomp_alg(struct crypto_alg *alg) in __crypto_scomp_alg()
Dskcipher.h251 struct crypto_alg **cipher_alg_ret);