aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/aes256ecb_example.c
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 17:47:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-24 17:47:15 +0300
commitbec414fe59dcc319183aab9ca9cbd70fbb4242df (patch)
tree89632780cc459350723b193aac2689b924878542 /examples/aes256ecb_example.c
parentadd higher-level encrypt/decrypt functions (diff)
downloadaes-tools-bec414fe59dcc319183aab9ca9cbd70fbb4242df.tar.gz
aes-tools-bec414fe59dcc319183aab9ca9cbd70fbb4242df.zip
add FIPS-style printing to AES-192/256 blocks
Diffstat (limited to 'examples/aes256ecb_example.c')
-rw-r--r--examples/aes256ecb_example.c1
1 files changed, 1 insertions, 0 deletions
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");