diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-03 08:56:18 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-08 15:39:47 +1100 |
commit | 622aae879c1d9449562e0cae353691a2a1f9eec0 (patch) | |
tree | e89ac82beb7fb8732b58a00a9b2229668dcb5ae3 /drivers/crypto/vmx/aesp8-ppc.h | |
parent | 2481104fe98d5b016fdd95d649b1235f21e491ba (diff) | |
download | linux-622aae879c1d9449562e0cae353691a2a1f9eec0.tar.gz linux-622aae879c1d9449562e0cae353691a2a1f9eec0.tar.bz2 linux-622aae879c1d9449562e0cae353691a2a1f9eec0.zip |
crypto: vmx - Move extern declarations into header file
This patch moves the extern algorithm declarations into a header
file so that a number of compiler warnings are silenced.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx/aesp8-ppc.h')
-rw-r--r-- | drivers/crypto/vmx/aesp8-ppc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/crypto/vmx/aesp8-ppc.h b/drivers/crypto/vmx/aesp8-ppc.h index 01774a4d26a2..5764d4438388 100644 --- a/drivers/crypto/vmx/aesp8-ppc.h +++ b/drivers/crypto/vmx/aesp8-ppc.h @@ -7,6 +7,12 @@ struct aes_key { int rounds; }; +extern struct shash_alg p8_ghash_alg; +extern struct crypto_alg p8_aes_alg; +extern struct skcipher_alg p8_aes_cbc_alg; +extern struct skcipher_alg p8_aes_ctr_alg; +extern struct skcipher_alg p8_aes_xts_alg; + int aes_p8_set_encrypt_key(const u8 *userKey, const int bits, struct aes_key *key); int aes_p8_set_decrypt_key(const u8 *userKey, const int bits, |