Lines Matching defs:desc
61 struct shash_desc desc;
164 int (*crypt)(struct blkcipher_desc *desc,
170 struct blkcipher_desc desc;
177 desc.tfm = child;
178 desc.info = req->info;
179 desc.flags = CRYPTO_TFM_REQ_MAY_SLEEP;
181 err = crypt(&desc, req->dst, req->src, req->nbytes);
410 struct shash_desc *desc = &rctx->desc;
415 desc->tfm = child;
416 desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP;
418 err = crypto_shash_init(desc);
443 err = shash_ahash_update(req, &rctx->desc);
466 err = crypto_shash_final(&rctx->desc, req->result);
489 err = shash_ahash_finup(req, &rctx->desc);
510 struct shash_desc *desc = &rctx->desc;
515 desc->tfm = child;
516 desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP;
518 err = shash_ahash_digest(req, desc);
537 return crypto_shash_export(&rctx->desc, out);
544 return crypto_shash_import(&rctx->desc, in);
717 return &rctx->desc;