aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/aes192_example.c1
-rw-r--r--examples/aes256cbc_example.c1
-rw-r--r--examples/aes256ecb_example.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/aes192_example.c b/examples/aes192_example.c
index c936ab7..eb9b79d 100644
--- a/examples/aes192_example.c
+++ b/examples/aes192_example.c
@@ -25,6 +25,7 @@ int main()
printf("\n");
printf("Key: %s\n", format_aes_block192(&key).str);
printf(" %s\n", format_aes_block192_fips_style(&key).str);
+ print_aes_block192_fips_matrix_style(&key);
cypher = aes192ecb_encrypt(plain, &key);
printf("\n");
diff --git a/examples/aes256cbc_example.c b/examples/aes256cbc_example.c
index 4ce50d9..275b947 100644
--- a/examples/aes256cbc_example.c
+++ b/examples/aes256cbc_example.c
@@ -26,6 +26,7 @@ int main()
printf("\n");
printf("Key: %s\n", format_aes_block256(&key).str);
printf(" %s\n", format_aes_block256_fips_style(&key).str);
+ print_aes_block256_fips_matrix_style(&key);
printf("\n");
printf("Initialization vector: %s\n", format_aes_block128(&iv).str);
diff --git a/examples/aes256ecb_example.c b/examples/aes256ecb_example.c
index fe7f9b9..d7a82ee 100644
--- a/examples/aes256ecb_example.c
+++ b/examples/aes256ecb_example.c
@@ -25,6 +25,7 @@ int main()
printf("\n");
printf("Key: %s\n", format_aes_block256(&key).str);
printf(" %s\n", format_aes_block256_fips_style(&key).str);
+ print_aes_block256_fips_matrix_style(&key);
cypher = aes256ecb_encrypt(plain, &key);
printf("\n");