From bec414fe59dcc319183aab9ca9cbd70fbb4242df Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 24 May 2015 17:47:15 +0300 Subject: add FIPS-style printing to AES-192/256 blocks --- examples/aes192_example.c | 1 + examples/aes256cbc_example.c | 1 + examples/aes256ecb_example.c | 1 + 3 files changed, 3 insertions(+) (limited to 'examples') 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"); -- cgit v1.2.3