• Home
  • Raw
  • Download

Lines Matching refs:desc

86 	struct shash_desc desc;  member
510 return &rctx->desc; in cryptd_hash_prepare()
537 struct shash_desc *desc; in cryptd_hash_init() local
539 desc = cryptd_hash_prepare(req, err); in cryptd_hash_init()
540 if (unlikely(!desc)) in cryptd_hash_init()
543 desc->tfm = child; in cryptd_hash_init()
545 err = crypto_shash_init(desc); in cryptd_hash_init()
559 struct shash_desc *desc; in cryptd_hash_update() local
561 desc = cryptd_hash_prepare(req, err); in cryptd_hash_update()
562 if (likely(desc)) in cryptd_hash_update()
563 err = shash_ahash_update(req, desc); in cryptd_hash_update()
576 struct shash_desc *desc; in cryptd_hash_final() local
578 desc = cryptd_hash_prepare(req, err); in cryptd_hash_final()
579 if (likely(desc)) in cryptd_hash_final()
580 err = crypto_shash_final(desc, req->result); in cryptd_hash_final()
593 struct shash_desc *desc; in cryptd_hash_finup() local
595 desc = cryptd_hash_prepare(req, err); in cryptd_hash_finup()
596 if (likely(desc)) in cryptd_hash_finup()
597 err = shash_ahash_finup(req, desc); in cryptd_hash_finup()
613 struct shash_desc *desc; in cryptd_hash_digest() local
615 desc = cryptd_hash_prepare(req, err); in cryptd_hash_digest()
616 if (unlikely(!desc)) in cryptd_hash_digest()
619 desc->tfm = child; in cryptd_hash_digest()
621 err = shash_ahash_digest(req, desc); in cryptd_hash_digest()
636 return crypto_shash_export(&rctx->desc, out); in cryptd_hash_export()
643 struct shash_desc *desc = cryptd_shash_desc(req); in cryptd_hash_import() local
645 desc->tfm = ctx->child; in cryptd_hash_import()
647 return crypto_shash_import(desc, in); in cryptd_hash_import()
1037 return &rctx->desc; in cryptd_shash_desc()