diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/aes128cbc.c | 4 | ||||
-rw-r--r-- | examples/aes128cfb.c | 4 | ||||
-rw-r--r-- | examples/aes128ctr.c | 4 | ||||
-rw-r--r-- | examples/aes128ecb.c | 4 | ||||
-rw-r--r-- | examples/aes128ofb.c | 4 | ||||
-rw-r--r-- | examples/aes192cbc.c | 6 | ||||
-rw-r--r-- | examples/aes192cfb.c | 6 | ||||
-rw-r--r-- | examples/aes192ctr.c | 6 | ||||
-rw-r--r-- | examples/aes192ecb.c | 6 | ||||
-rw-r--r-- | examples/aes192ofb.c | 6 | ||||
-rw-r--r-- | examples/aes256cbc.c | 6 | ||||
-rw-r--r-- | examples/aes256cfb.c | 6 | ||||
-rw-r--r-- | examples/aes256ctr.c | 6 | ||||
-rw-r--r-- | examples/aes256ecb.c | 6 | ||||
-rw-r--r-- | examples/aes256ofb.c | 6 |
15 files changed, 40 insertions, 40 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); |