diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-31 05:13:37 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-31 05:13:37 +0300 |
commit | e585d78418bd03cc029f4f504ae675b38373c93a (patch) | |
tree | 3941fc9307a61b62af57789aa6322e8fbb68c875 /examples | |
parent | test: actually chain when in cbc mode (diff) | |
download | aes-tools-e585d78418bd03cc029f4f504ae675b38373c93a.tar.gz aes-tools-e585d78418bd03cc029f4f504ae675b38373c93a.zip |
code style
Diffstat (limited to 'examples')
-rw-r--r-- | examples/aes128cbc_example.c | 4 | ||||
-rw-r--r-- | examples/aes128ecb_example.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/aes128cbc_example.c b/examples/aes128cbc_example.c index 94fb0d4..bae250b 100644 --- a/examples/aes128cbc_example.c +++ b/examples/aes128cbc_example.c @@ -16,8 +16,8 @@ int main() __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); - key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); - iv = make_aes_block128(0xfedcba98, 0x76543210, 0xfedcba98, 0x76543210); + key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); + iv = make_aes_block128(0xfedcba98, 0x76543210, 0xfedcba98, 0x76543210); printf("Plain: %s\n", format_aes_block128(&plain).str); printf(" %s\n", format_aes_block128_fips_style(&plain).str); diff --git a/examples/aes128ecb_example.c b/examples/aes128ecb_example.c index aff4182..3372540 100644 --- a/examples/aes128ecb_example.c +++ b/examples/aes128ecb_example.c @@ -16,7 +16,7 @@ int main() __declspec(align(16)) Aes128KeySchedule key_schedule, inverted_schedule; plain = make_aes_block128(0xffeeddcc, 0xbbaa9988, 0x77665544, 0x33221100); - key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); + key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); printf("Plain: %s\n", format_aes_block128(&plain).str); printf(" %s\n", format_aes_block128_fips_style(&plain).str); |