Lines Matching refs:desc
167 int (*init)(struct shash_desc *desc);
168 int (*update)(struct shash_desc *desc, const u8 *data,
170 int (*final)(struct shash_desc *desc, u8 *out);
171 int (*finup)(struct shash_desc *desc, const u8 *data,
173 int (*digest)(struct shash_desc *desc, const u8 *data,
175 int (*export)(struct shash_desc *desc, void *out);
176 int (*import)(struct shash_desc *desc, const void *in);
725 static inline void *shash_desc_ctx(struct shash_desc *desc) in shash_desc_ctx() argument
727 return desc->__ctx; in shash_desc_ctx()
759 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
773 static inline int crypto_shash_export(struct shash_desc *desc, void *out) in crypto_shash_export() argument
775 return crypto_shash_alg(desc->tfm)->export(desc, out); in crypto_shash_export()
789 static inline int crypto_shash_import(struct shash_desc *desc, const void *in) in crypto_shash_import() argument
791 return crypto_shash_alg(desc->tfm)->import(desc, in); in crypto_shash_import()
805 static inline int crypto_shash_init(struct shash_desc *desc) in crypto_shash_init() argument
807 return crypto_shash_alg(desc->tfm)->init(desc); in crypto_shash_init()
821 int crypto_shash_update(struct shash_desc *desc, const u8 *data,
837 int crypto_shash_final(struct shash_desc *desc, u8 *out);
853 int crypto_shash_finup(struct shash_desc *desc, const u8 *data,