summaryrefslogtreecommitdiff
path: root/drivers/crypto/vmx
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-06-30 11:11:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-07-08 10:21:15 +0300
commitcc8166bfc829043020b5cc3b7cdba02a17d03b6d (patch)
treeda449df185c48f3d519ced6cbdcc0c0d7d3381ad /drivers/crypto/vmx
parentd4cfb144f60551d80732c93c892fe76fc8df860d (diff)
downloadlinux-cc8166bfc829043020b5cc3b7cdba02a17d03b6d.tar.xz
crypto: vmx - Fix warning on p8_ghash_alg
The compiler complains that p8_ghash_alg isn't declared which is because the header file aesp8-ppc.h isn't included in ghash.c. This patch fixes the warning. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Breno Leitao <leitao@debian.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx')
-rw-r--r--drivers/crypto/vmx/ghash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/vmx/ghash.c b/drivers/crypto/vmx/ghash.c
index 5bc5710a6de0..77eca20bc7ac 100644
--- a/drivers/crypto/vmx/ghash.c
+++ b/drivers/crypto/vmx/ghash.c
@@ -23,6 +23,7 @@
#include <crypto/internal/hash.h>
#include <crypto/internal/simd.h>
#include <crypto/b128ops.h>
+#include "aesp8-ppc.h"
void gcm_init_p8(u128 htable[16], const u64 Xi[2]);
void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]);