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

This perl code is taken from the OpenSSL project and added gcm_init_htable function
used in the aes-gcm-p10-glue.c code to initialize hash table.  gcm_hash_p8 is used
to hash encrypted data blocks.

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