From f89d5f29a90d6c71068a759e5891e925131a5e65 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Jun 2015 03:25:57 +0300 Subject: grammar tweaks --- examples/aes256ofb_example.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/aes256ofb_example.c') diff --git a/examples/aes256ofb_example.c b/examples/aes256ofb_example.c index 749103e..4b2248a 100644 --- a/examples/aes256ofb_example.c +++ b/examples/aes256ofb_example.c @@ -12,7 +12,7 @@ int main() { - __declspec(align(16)) AesBlock128 plain, cypher, decrypted, iv, next_iv; + __declspec(align(16)) AesBlock128 plain, cipher, decrypted, iv, next_iv; __declspec(align(16)) AesBlock256 key; __declspec(align(16)) Aes256KeySchedule key_schedule; @@ -38,16 +38,16 @@ int main() for (int i = 0; i < 15; ++i) printf("\t[%d]: %s\n", i, format_aes_block128(&key_schedule.keys[i]).str); - cypher = aes256ofb_encrypt(plain, &key_schedule, iv, &next_iv); + cipher = aes256ofb_encrypt(plain, &key_schedule, iv, &next_iv); printf("\n"); - printf("Cypher: %s\n", format_aes_block128(&cypher).str); - print_aes_block128_fips_matrix_style(&cypher); + printf("Cypher: %s\n", format_aes_block128(&cipher).str); + print_aes_block128_fips_matrix_style(&cipher); printf("\n"); printf("Next initialization vector: %s\n", format_aes_block128(&next_iv).str); print_aes_block128_fips_matrix_style(&next_iv); - decrypted = aes256ofb_decrypt(cypher, &key_schedule, iv, &next_iv); + decrypted = aes256ofb_decrypt(cipher, &key_schedule, iv, &next_iv); printf("\n"); printf("Decrypted: %s\n", format_aes_block128(&decrypted).str); print_aes_block128_fips_matrix_style(&decrypted); -- cgit v1.2.3