crypto: add crypto_has_shash()
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:51:57 +0000 (11:51 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 16:14:23 +0000 (18:14 +0200)
commit1bc60dc50469db7c02968196c0b8c4f93d4e06ee
treec236ddc78512feee442115f3131b356d02f98825
parentd109f3ccfc8f3fcdbd6f4c557a56d6237ca209d4
crypto: add crypto_has_shash()

Add helper function to determine if a given synchronous hash is supported.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
crypto/shash.c
include/crypto/hash.h