]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sig - Move crypto_sig_*() API calls to include file
authorLukas Wunner <lukas@wunner.de>
Tue, 10 Sep 2024 14:30:22 +0000 (16:30 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Oct 2024 05:22:04 +0000 (13:22 +0800)
commit5ba296674e468ddd40b6ef5aa845c2d2ee794b84
tree9ed079151185bef42bb2ee0b08df493fa9a9278d
parent6b34562f0cfe81f1f207fc7c146c4ff4b31eb625
crypto: sig - Move crypto_sig_*() API calls to include file

The crypto_sig_*() API calls lived in sig.c so far because they needed
access to struct crypto_sig_type:  This was necessary to differentiate
between signature algorithms that had already been migrated from
crypto_akcipher to crypto_sig and those that hadn't yet.

Now that all algorithms have been migrated, the API calls can become
static inlines in <crypto/sig.h> to mimic what <crypto/akcipher.h> is
doing.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sig.c
include/crypto/sig.h