diff options
Diffstat (limited to 'examples/aes128ecb.c')
-rw-r--r-- | examples/aes128ecb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/aes128ecb.c b/examples/aes128ecb.c index a96f937..8d8f990 100644 --- a/examples/aes128ecb.c +++ b/examples/aes128ecb.c @@ -19,11 +19,11 @@ int main() key = make_aes_block128(0x0f0e0d0c, 0x0b0a0908, 0x07060504, 0x03020100); printf("Plain: %s\n", format_aes_block128(&plain).str); - print_aes_block128_fips_matrix_style(&plain); + print_aes_block128_as_matrix(&plain); printf("\n"); printf("Key: %s\n", format_aes_block128(&key).str); - print_aes_block128_fips_matrix_style(&key); + print_aes_block128_as_matrix(&key); aes128_expand_key_schedule(key, &key_schedule); @@ -35,7 +35,7 @@ int main() cipher = aes128ecb_encrypt(plain, &key_schedule); printf("\n"); printf("Cipher: %s\n", format_aes_block128(&cipher).str); - print_aes_block128_fips_matrix_style(&cipher); + print_aes_block128_as_matrix(&cipher); aes128_invert_key_schedule(&key_schedule, &inverted_schedule); @@ -47,7 +47,7 @@ int main() decrypted = aes128ecb_decrypt(cipher, &inverted_schedule); printf("\n"); printf("Decrypted: %s\n", format_aes_block128(&decrypted).str); - print_aes_block128_fips_matrix_style(&decrypted); + print_aes_block128_as_matrix(&decrypted); return 0; } |