aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes256ctr.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-04 22:48:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-04 22:48:11 +0300
commit65b7671f19d935969cb09b3b359d5a9f1e180fda (patch)
treeb9db716a2fe0a428b6a1c28d7b2e80f91c75176e /examples/aes256ctr.c
parenttest: bugfix (diff)
downloadaes-tools-65b7671f19d935969cb09b3b359d5a9f1e180fda.tar.gz
aes-tools-65b7671f19d935969cb09b3b359d5a9f1e180fda.zip
remove unnecessary __declspec(align(16))
`__m128i`s are automatically aligned on 16-byte boundary anyway.
Diffstat (limited to 'examples/aes256ctr.c')
-rw-r--r--examples/aes256ctr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/aes256ctr.c b/examples/aes256ctr.c
index 42267d2..be19d11 100644
--- a/examples/aes256ctr.c
+++ b/examples/aes256ctr.c
@@ -12,9 +12,9 @@
int main()
{
- __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv;
- __declspec(align(16)) AesBlock256 key;
- __declspec(align(16)) Aes256KeySchedule key_schedule;
+ AesBlock128 plain, cipher, decrypted, iv;
+ AesBlock256 key;
+ Aes256KeySchedule key_schedule;
plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100);
key = make_aes_block256(0x1f1e1d1c, 0x1b1a1918, 0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100);