]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: add crypto_has_shash()
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:51:57 +0000 (11:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:47 +0000 (17:14 -0600)
commit4d255d63cf3009126ec9ed1b76fd0febc1d3937f
treee25e64678767821da8150875cf66112f64981068
parenta238ecdfd164a0996550892f81255ba7d1cf8541
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
crypto/shash.c
include/crypto/hash.h