diff options
Diffstat (limited to '')
-rw-r--r-- | examples/aes192ctr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/aes192ctr.c b/examples/aes192ctr.c index b6fb82a..eccbc2e 100644 --- a/examples/aes192ctr.c +++ b/examples/aes192ctr.c @@ -21,15 +21,15 @@ int main() iv = make_aes_block128(0xfedcba98, 0x76543210, 0xfedcba98, 0x76543210); 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_block192(&key).str); - print_aes_block192_fips_matrix_style(&key); + print_aes_block192_as_matrix(&key); printf("\n"); printf("Initialization vector: %s\n", format_aes_block128(&iv).str); - print_aes_block128_fips_matrix_style(&iv); + print_aes_block128_as_matrix(&iv); aes192_expand_key_schedule(&key, &key_schedule); @@ -41,12 +41,12 @@ int main() cipher = aes192ctr_encrypt(plain, &key_schedule, iv, 0); printf("\n"); printf("Cipher: %s\n", format_aes_block128(&cipher).str); - print_aes_block128_fips_matrix_style(&cipher); + print_aes_block128_as_matrix(&cipher); decrypted = aes192ctr_decrypt(cipher, &key_schedule, iv, 0); 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; } |