diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-06-30 16:11:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-08 15:21:15 +0800 |
commit | cc8166bfc829043020b5cc3b7cdba02a17d03b6d (patch) | |
tree | da449df185c48f3d519ced6cbdcc0c0d7d3381ad /drivers | |
parent | d4cfb144f60551d80732c93c892fe76fc8df860d (diff) | |
download | linux-cc8166bfc829043020b5cc3b7cdba02a17d03b6d.tar.gz linux-cc8166bfc829043020b5cc3b7cdba02a17d03b6d.tar.bz2 linux-cc8166bfc829043020b5cc3b7cdba02a17d03b6d.zip |
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')
-rw-r--r-- | drivers/crypto/vmx/ghash.c | 1 |
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]); |