crypto: powerpc/poly1305 - implement library instead of shash
authorEric Biggers <ebiggers@google.com>
Sun, 13 Apr 2025 04:54:13 +0000 (21:54 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:36:24 +0000 (15:36 +0800)
commit378a337ab40f88d63ba71d68ff578ead7f5ac8f1
tree8fc9ff52c29e2f9ef18fe205f3de0569c332c372
parentb03892c2f836f3daa3a7a3c2e36f82fb76210d40
crypto: powerpc/poly1305 - implement library instead of shash

Currently the Power10 optimized Poly1305 is only wired up to the
crypto_shash API, which makes it unavailable to users of the library
API.  The crypto_shash API for Poly1305 is going to change to be
implemented on top of the library API, so the library API needs to be
supported.  And of course it's needed anyway to serve the library users.

Therefore, change the Power10 optimized Poly1305 code to implement the
library API instead of the crypto_shash API.

Cc: Danny Tsen <dtsen@linux.ibm.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/Kconfig
arch/powerpc/crypto/poly1305-p10-glue.c