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>
This commit is contained in:
parent
2481104fe9
commit
622aae879c
@ -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,
|
||||
|
@ -17,11 +17,7 @@
|
||||
#include <crypto/internal/hash.h>
|
||||
#include <crypto/internal/skcipher.h>
|
||||
|
||||
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;
|
||||
#include "aesp8-ppc.h"
|
||||
|
||||
static int __init p8_init(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user