]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ecdsa - Migrate to sig_alg backend
authorLukas Wunner <lukas@wunner.de>
Tue, 10 Sep 2024 14:30:13 +0000 (16:30 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Oct 2024 05:22:04 +0000 (13:22 +0800)
commitef132350a3c2ae15349b7f748ce0859f0c2861be
tree72af0be78b4fb3f188c38b1bd09afc69d6f13d2e
parent65c4c93caaf1a9fca2855942e338530967162d25
crypto: ecdsa - Migrate to sig_alg backend

A sig_alg backend has just been introduced with the intent of moving all
asymmetric sign/verify algorithms to it one by one.

Migrate ecdsa.c to the new backend.

One benefit of the new API is the use of kernel buffers instead of
sglists, which avoids the overhead of copying signature and digest
sglists back into kernel buffers.  ecdsa.c is thus simplified quite
a bit.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/ecdsa.c
crypto/testmgr.c
crypto/testmgr.h