aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes128cbc.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/aes128cbc.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 '')
-rw-r--r--examples/aes128cbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aes128cbc.c b/examples/aes128cbc.c
index 05b91b0..92c1f32 100644
--- a/examples/aes128cbc.c
+++ b/examples/aes128cbc.c
@@ -12,8 +12,8 @@
int main()
{
- __declspec(align(16)) AesBlock128 plain, key, cipher, decrypted, iv, next_iv;
- __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule;
+ AesBlock128 plain, key, cipher, decrypted, iv, next_iv;
+ Aes128KeySchedule key_schedule, inverted_schedule;
plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100);
key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100);