aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/aes128cbc_example.c4
-rw-r--r--examples/aes128ecb_example.c2
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);