crypto: add crypto_has_kpp()
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:51:58 +0000 (11:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:47 +0000 (17:14 -0600)
commit9e2f284e149124aa9a6b963882d2b39ae1742196
tree5281fe343e43f51ff58bca18de7988222ed04001
parent85cc424381804386d991f81e08b4933ca1f04214
crypto: add crypto_has_kpp()

Add helper function to determine if a given key-agreement protocol
primitive 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/kpp.c
include/crypto/kpp.h