Lines Matching defs:desc
28 static int nx_xcbc_set_key(struct crypto_shash *desc,
32 struct nx_crypto_ctx *nx_ctx = crypto_shash_ctx(desc);
59 static int nx_xcbc_empty(struct shash_desc *desc, u8 *out)
61 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
156 static int nx_xcbc_init(struct shash_desc *desc)
158 struct xcbc_state *sctx = shash_desc_ctx(desc);
165 static int nx_xcbc_update(struct shash_desc *desc,
169 struct xcbc_state *sctx = shash_desc_ctx(desc);
170 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
292 static int nx_xcbc_final(struct shash_desc *desc, u8 *out)
294 struct xcbc_state *sctx = shash_desc_ctx(desc);
295 struct nx_crypto_ctx *nx_ctx = crypto_tfm_ctx(&desc->tfm->base);
315 rc = nx_xcbc_empty(desc, out);