Lines Matching defs:desc
37 static int nx_sha512_init(struct shash_desc *desc)
39 struct sha512_state *sctx = shash_desc_ctx(desc);
56 static int nx_sha512_update(struct shash_desc *desc, const u8 *data,
59 struct sha512_state *sctx = shash_desc_ctx(desc);
60 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
179 static int nx_sha512_final(struct shash_desc *desc, u8 *out)
181 struct sha512_state *sctx = shash_desc_ctx(desc);
182 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
252 static int nx_sha512_export(struct shash_desc *desc, void *out)
254 struct sha512_state *sctx = shash_desc_ctx(desc);
261 static int nx_sha512_import(struct shash_desc *desc, const void *in)
263 struct sha512_state *sctx = shash_desc_ctx(desc);