diff options
45 files changed, 120 insertions, 120 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); diff --git a/examples/aes128cfb.c b/examples/aes128cfb.c index 4c6daa2..91e1c73 100644 --- a/examples/aes128cfb.c +++ b/examples/aes128cfb.c @@ -12,8 +12,8 @@ int main() { - __declspec(align(16)) AesBlock128 plain, key, cipher, decrypted, iv, next_iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, decrypted, iv, next_iv; + Aes128KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes128ctr.c b/examples/aes128ctr.c index d798e70..2cabdc1 100644 --- a/examples/aes128ctr.c +++ b/examples/aes128ctr.c @@ -12,8 +12,8 @@ int main() { - __declspec(align(16)) AesBlock128 plain, key, cipher, decrypted, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, decrypted, iv; + Aes128KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes128ecb.c b/examples/aes128ecb.c index 8d8f990..5b2d2a0 100644 --- a/examples/aes128ecb.c +++ b/examples/aes128ecb.c @@ -12,8 +12,8 @@ int main() { - __declspec(align(16)) AesBlock128 plain, key, cipher, decrypted; - __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, key, cipher, decrypted; + Aes128KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes128ofb.c b/examples/aes128ofb.c index 9b263ed..cef4df5 100644 --- a/examples/aes128ofb.c +++ b/examples/aes128ofb.c @@ -12,8 +12,8 @@ int main() { - __declspec(align(16)) AesBlock128 plain, key, cipher, decrypted, iv, next_iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, decrypted, iv, next_iv; + Aes128KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes192cbc.c b/examples/aes192cbc.c index e6d844d..fcd79c5 100644 --- a/examples/aes192cbc.c +++ b/examples/aes192cbc.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_iv; + AesBlock192 key; + Aes192KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block192(0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes192cfb.c b/examples/aes192cfb.c index e530c13..0ad8903 100644 --- a/examples/aes192cfb.c +++ b/examples/aes192cfb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block192(0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes192ctr.c b/examples/aes192ctr.c index eccbc2e..eb5df43 100644 --- a/examples/aes192ctr.c +++ b/examples/aes192ctr.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, decrypted, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block192(0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes192ecb.c b/examples/aes192ecb.c index 2bf0fdb..13311f7 100644 --- a/examples/aes192ecb.c +++ b/examples/aes192ecb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, decrypted; + AesBlock192 key; + Aes192KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block192(0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes192ofb.c b/examples/aes192ofb.c index aed3c0c..3738820 100644 --- a/examples/aes192ofb.c +++ b/examples/aes192ofb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block192(0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes256cbc.c b/examples/aes256cbc.c index 302bb37..27e8458 100644 --- a/examples/aes256cbc.c +++ b/examples/aes256cbc.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_iv; + AesBlock256 key; + Aes256KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block256(0x1f1e1d1c, 0x1b1a1918, 0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes256cfb.c b/examples/aes256cfb.c index 3ebf702..21cd721 100644 --- a/examples/aes256cfb.c +++ b/examples/aes256cfb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_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); 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); diff --git a/examples/aes256ecb.c b/examples/aes256ecb.c index e1e2488..1f265da 100644 --- a/examples/aes256ecb.c +++ b/examples/aes256ecb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, decrypted; + AesBlock256 key; + Aes256KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); key = make_aes_block256(0x1f1e1d1c, 0x1b1a1918, 0x17161514, 0x13121110, 0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); diff --git a/examples/aes256ofb.c b/examples/aes256ofb.c index 0ef42fd..efb7eaa 100644 --- a/examples/aes256ofb.c +++ b/examples/aes256ofb.c @@ -12,9 +12,9 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, decrypted, iv, next_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); diff --git a/test/aes128cbc_decrypt.c b/test/aes128cbc_decrypt.c index 791110a..f5f2c35 100644 --- a/test/aes128cbc_decrypt.c +++ b/test/aes128cbc_decrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule, inverted_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128cbc_encrypt.c b/test/aes128cbc_encrypt.c index a4a1675..25bf79a 100644 --- a/test/aes128cbc_encrypt.c +++ b/test/aes128cbc_encrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128cfb_decrypt.c b/test/aes128cfb_decrypt.c index bfc7ea7..265a78a 100644 --- a/test/aes128cfb_decrypt.c +++ b/test/aes128cfb_decrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128cfb_encrypt.c b/test/aes128cfb_encrypt.c index b4e2885..75a726c 100644 --- a/test/aes128cfb_encrypt.c +++ b/test/aes128cfb_encrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128ctr_decrypt.c b/test/aes128ctr_decrypt.c index 313e5d9..9421e1e 100644 --- a/test/aes128ctr_decrypt.c +++ b/test/aes128ctr_decrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128ctr_encrypt.c b/test/aes128ctr_encrypt.c index e5372c2..a0b73eb 100644 --- a/test/aes128ctr_encrypt.c +++ b/test/aes128ctr_encrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128ecb_decrypt.c b/test/aes128ecb_decrypt.c index 70c7285..65ab3db 100644 --- a/test/aes128ecb_decrypt.c +++ b/test/aes128ecb_decrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher; - __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, key, cipher; + Aes128KeySchedule key_schedule, inverted_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes128ecb_encrypt.c b/test/aes128ecb_encrypt.c index 8f0bf0a..b06f60b 100644 --- a/test/aes128ecb_encrypt.c +++ b/test/aes128ecb_encrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher; + Aes128KeySchedule key_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes128ofb_decrypt.c b/test/aes128ofb_decrypt.c index 74fb314..fb3d83b 100644 --- a/test/aes128ofb_decrypt.c +++ b/test/aes128ofb_decrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes128ofb_encrypt.c b/test/aes128ofb_encrypt.c index df30777..6142110 100644 --- a/test/aes128ofb_encrypt.c +++ b/test/aes128ofb_encrypt.c @@ -19,8 +19,8 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, key, cipher, iv; - __declspec(align(16)) Aes128KeySchedule key_schedule; + AesBlock128 plain, key, cipher, iv; + Aes128KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192cbc_decrypt.c b/test/aes192cbc_decrypt.c index 6a953ad..0a2cf99 100644 --- a/test/aes192cbc_decrypt.c +++ b/test/aes192cbc_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule, inverted_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192cbc_encrypt.c b/test/aes192cbc_encrypt.c index a1269b4..b6431d0 100644 --- a/test/aes192cbc_encrypt.c +++ b/test/aes192cbc_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192cfb_decrypt.c b/test/aes192cfb_decrypt.c index 906ecf9..51aad07 100644 --- a/test/aes192cfb_decrypt.c +++ b/test/aes192cfb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192cfb_encrypt.c b/test/aes192cfb_encrypt.c index 3261a03..b0e35eb 100644 --- a/test/aes192cfb_encrypt.c +++ b/test/aes192cfb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192ctr_decrypt.c b/test/aes192ctr_decrypt.c index 01258ea..5d91b3a 100644 --- a/test/aes192ctr_decrypt.c +++ b/test/aes192ctr_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192ctr_encrypt.c b/test/aes192ctr_encrypt.c index 9a29005..aa63c59 100644 --- a/test/aes192ctr_encrypt.c +++ b/test/aes192ctr_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192ecb_decrypt.c b/test/aes192ecb_decrypt.c index e6e749a..007a3a3 100644 --- a/test/aes192ecb_decrypt.c +++ b/test/aes192ecb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher; + AesBlock192 key; + Aes192KeySchedule key_schedule, inverted_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes192ecb_encrypt.c b/test/aes192ecb_encrypt.c index 2b4f688..3c81b55 100644 --- a/test/aes192ecb_encrypt.c +++ b/test/aes192ecb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes192ofb_decrypt.c b/test/aes192ofb_decrypt.c index 268b00c..819d8c3 100644 --- a/test/aes192ofb_decrypt.c +++ b/test/aes192ofb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes192ofb_encrypt.c b/test/aes192ofb_encrypt.c index 8c866c3..c3c0bbc 100644 --- a/test/aes192ofb_encrypt.c +++ b/test/aes192ofb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock192 key; - __declspec(align(16)) Aes192KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock192 key; + Aes192KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256cbc_decrypt.c b/test/aes256cbc_decrypt.c index 52abaff..bd7c1f2 100644 --- a/test/aes256cbc_decrypt.c +++ b/test/aes256cbc_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule, inverted_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256cbc_encrypt.c b/test/aes256cbc_encrypt.c index 0b10f54..0cac205 100644 --- a/test/aes256cbc_encrypt.c +++ b/test/aes256cbc_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256cfb_decrypt.c b/test/aes256cfb_decrypt.c index d3f6075..13809d8 100644 --- a/test/aes256cfb_decrypt.c +++ b/test/aes256cfb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256cfb_encrypt.c b/test/aes256cfb_encrypt.c index c14e931..f60248a 100644 --- a/test/aes256cfb_encrypt.c +++ b/test/aes256cfb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256ctr_decrypt.c b/test/aes256ctr_decrypt.c index db7ae5c..9d41864 100644 --- a/test/aes256ctr_decrypt.c +++ b/test/aes256ctr_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256ctr_encrypt.c b/test/aes256ctr_encrypt.c index d812a86..bd69a7a 100644 --- a/test/aes256ctr_encrypt.c +++ b/test/aes256ctr_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256ecb_decrypt.c b/test/aes256ecb_decrypt.c index a290eed..82bf353 100644 --- a/test/aes256ecb_decrypt.c +++ b/test/aes256ecb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule, inverted_schedule; + AesBlock128 plain, cipher; + AesBlock256 key; + Aes256KeySchedule key_schedule, inverted_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes256ecb_encrypt.c b/test/aes256ecb_encrypt.c index 2a4899e..3a60bed 100644 --- a/test/aes256ecb_encrypt.c +++ b/test/aes256ecb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 2) exit_with_usage(argv[0]); diff --git a/test/aes256ofb_decrypt.c b/test/aes256ofb_decrypt.c index 282dc6a..6bbd692 100644 --- a/test/aes256ofb_decrypt.c +++ b/test/aes256ofb_decrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); diff --git a/test/aes256ofb_encrypt.c b/test/aes256ofb_encrypt.c index b74f29f..cf0acda 100644 --- a/test/aes256ofb_encrypt.c +++ b/test/aes256ofb_encrypt.c @@ -19,9 +19,9 @@ static void exit_with_usage(const char* argv0) int main(int argc, char** argv) { - __declspec(align(16)) AesBlock128 plain, cipher, iv; - __declspec(align(16)) AesBlock256 key; - __declspec(align(16)) Aes256KeySchedule key_schedule; + AesBlock128 plain, cipher, iv; + AesBlock256 key; + Aes256KeySchedule key_schedule; if (argc < 3) exit_with_usage(argv[0]); |