crypto: p10-aes-gcm - Supporting functions for AES
authorDanny Tsen <dtsen@linux.ibm.com>
Tue, 21 Feb 2023 03:40:18 +0000 (22:40 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Mar 2023 09:06:43 +0000 (17:06 +0800)
commit34ce627920407d65f1b5c1cd75871cc5f4b6219b
tree712dff583797b05a56547872c20f48ff1479126e
parentfd0e9b3e2ee6396526f4f594c10958511b100bb6
crypto: p10-aes-gcm - Supporting functions for AES

This code is taken from CRYPTOGAMs[1].  The following functions are used,
aes_p8_set_encrypt_key is used to generate AES round keys and aes_p8_encrypt is used
to encrypt single block.

Signed-off-by: Danny Tsen <dtsen@linux.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/aesp8-ppc.pl [new file with mode: 0644]