diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-15 16:55:46 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-16 14:35:02 +0800 |
commit | 4beb106045976b785a05e77ab5430ad04b6038b7 (patch) | |
tree | 816d76b80f6d30fe12486f70c78266ab0831f30d /drivers/crypto/vmx/aesp8-ppc.h | |
parent | 0903e435ba45e312a9e1f34257d6a2b87a3af2d9 (diff) | |
download | linux-4beb106045976b785a05e77ab5430ad04b6038b7.tar.gz linux-4beb106045976b785a05e77ab5430ad04b6038b7.tar.bz2 linux-4beb106045976b785a05e77ab5430ad04b6038b7.zip |
crypto: vmx - Reindent to kernel style
This patch reidents the vmx code-base to the kernel coding style.
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 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/crypto/vmx/aesp8-ppc.h b/drivers/crypto/vmx/aesp8-ppc.h index e963945a83e1..4cd34ee54a94 100644 --- a/drivers/crypto/vmx/aesp8-ppc.h +++ b/drivers/crypto/vmx/aesp8-ppc.h @@ -4,17 +4,18 @@ #define AES_BLOCK_MASK (~(AES_BLOCK_SIZE-1)) struct aes_key { - u8 key[AES_MAX_KEYLENGTH]; - int rounds; + u8 key[AES_MAX_KEYLENGTH]; + int rounds; }; int aes_p8_set_encrypt_key(const u8 *userKey, const int bits, - struct aes_key *key); + struct aes_key *key); int aes_p8_set_decrypt_key(const u8 *userKey, const int bits, - struct aes_key *key); + struct aes_key *key); void aes_p8_encrypt(const u8 *in, u8 *out, const struct aes_key *key); -void aes_p8_decrypt(const u8 *in, u8 *out,const struct aes_key *key); +void aes_p8_decrypt(const u8 *in, u8 *out, const struct aes_key *key); void aes_p8_cbc_encrypt(const u8 *in, u8 *out, size_t len, - const struct aes_key *key, u8 *iv, const int enc); + const struct aes_key *key, u8 *iv, const int enc); void aes_p8_ctr32_encrypt_blocks(const u8 *in, u8 *out, - size_t len, const struct aes_key *key, const u8 *iv); + size_t len, const struct aes_key *key, + const u8 *iv); |