crypto: p10-aes-gcm - Supporting functions for AES
authorDanny Tsen <dtsen@linux.ibm.com>
Mon, 5 Dec 2022 00:34:56 +0000 (19:34 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2023 04:10:18 +0000 (12:10 +0800)
commit3b47eccaaff4e4bb9e0c3684428c852422bd9bac
treeae605d6de66abbff84df345383c5ee1e555e41a5
parentca68a96c37eb93791373c5debb0991df0410da9a
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]