aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-04 08:39:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-04 08:39:24 +0300
commit43a53392c51af91a41bb01a31bd20a772831949c (patch)
tree2778ba6cce620f7de4a1d043e6beae215fd2f886
parenttest: add README (diff)
downloadaes-tools-43a53392c51af91a41bb01a31bd20a772831949c.tar.gz
aes-tools-43a53392c51af91a41bb01a31bd20a772831949c.zip
grammar tweaks
-rw-r--r--examples/aes128cbc.c2
-rw-r--r--examples/aes128cfb.c2
-rw-r--r--examples/aes128ctr.c2
-rw-r--r--examples/aes128ecb.c2
-rw-r--r--examples/aes128ofb.c2
-rw-r--r--examples/aes192cbc.c2
-rw-r--r--examples/aes192cfb.c2
-rw-r--r--examples/aes192ctr.c2
-rw-r--r--examples/aes192ecb.c2
-rw-r--r--examples/aes192ofb.c2
-rw-r--r--examples/aes256cbc.c2
-rw-r--r--examples/aes256cfb.c2
-rw-r--r--examples/aes256ctr.c2
-rw-r--r--examples/aes256ecb.c2
-rw-r--r--examples/aes256ofb.c2
15 files changed, 15 insertions, 15 deletions
diff --git a/examples/aes128cbc.c b/examples/aes128cbc.c
index bf2c601..ab12df8 100644
--- a/examples/aes128cbc.c
+++ b/examples/aes128cbc.c
@@ -39,7 +39,7 @@ int main()
cipher = aes128cbc_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes128cfb.c b/examples/aes128cfb.c
index c3b7cd2..5071019 100644
--- a/examples/aes128cfb.c
+++ b/examples/aes128cfb.c
@@ -39,7 +39,7 @@ int main()
cipher = aes128cfb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes128ctr.c b/examples/aes128ctr.c
index 46251e8..0291032 100644
--- a/examples/aes128ctr.c
+++ b/examples/aes128ctr.c
@@ -39,7 +39,7 @@ int main()
cipher = aes128ctr_encrypt(plain, &key_schedule, iv, 0);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
decrypted = aes128ctr_decrypt(cipher, &key_schedule, iv, 0);
diff --git a/examples/aes128ecb.c b/examples/aes128ecb.c
index 1d8e7ae..a96f937 100644
--- a/examples/aes128ecb.c
+++ b/examples/aes128ecb.c
@@ -34,7 +34,7 @@ int main()
cipher = aes128ecb_encrypt(plain, &key_schedule);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
aes128_invert_key_schedule(&key_schedule, &inverted_schedule);
diff --git a/examples/aes128ofb.c b/examples/aes128ofb.c
index 51f0a8d..e786cd0 100644
--- a/examples/aes128ofb.c
+++ b/examples/aes128ofb.c
@@ -39,7 +39,7 @@ int main()
cipher = aes128ofb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes192cbc.c b/examples/aes192cbc.c
index 522cc09..5afece9 100644
--- a/examples/aes192cbc.c
+++ b/examples/aes192cbc.c
@@ -40,7 +40,7 @@ int main()
cipher = aes192cbc_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes192cfb.c b/examples/aes192cfb.c
index 598516a..363a24f 100644
--- a/examples/aes192cfb.c
+++ b/examples/aes192cfb.c
@@ -40,7 +40,7 @@ int main()
cipher = aes192cfb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes192ctr.c b/examples/aes192ctr.c
index 6ba8430..b6fb82a 100644
--- a/examples/aes192ctr.c
+++ b/examples/aes192ctr.c
@@ -40,7 +40,7 @@ int main()
cipher = aes192ctr_encrypt(plain, &key_schedule, iv, 0);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
decrypted = aes192ctr_decrypt(cipher, &key_schedule, iv, 0);
diff --git a/examples/aes192ecb.c b/examples/aes192ecb.c
index 5aae0bc..6d51fb8 100644
--- a/examples/aes192ecb.c
+++ b/examples/aes192ecb.c
@@ -35,7 +35,7 @@ int main()
cipher = aes192ecb_encrypt(plain, &key_schedule);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
aes192_invert_key_schedule(&key_schedule, &inverted_schedule);
diff --git a/examples/aes192ofb.c b/examples/aes192ofb.c
index 1e561cb..b95f45e 100644
--- a/examples/aes192ofb.c
+++ b/examples/aes192ofb.c
@@ -40,7 +40,7 @@ int main()
cipher = aes192ofb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes256cbc.c b/examples/aes256cbc.c
index b727bec..f91188c 100644
--- a/examples/aes256cbc.c
+++ b/examples/aes256cbc.c
@@ -40,7 +40,7 @@ int main()
cipher = aes256cbc_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes256cfb.c b/examples/aes256cfb.c
index 9541ddd..2872fa2 100644
--- a/examples/aes256cfb.c
+++ b/examples/aes256cfb.c
@@ -40,7 +40,7 @@ int main()
cipher = aes256cfb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");
diff --git a/examples/aes256ctr.c b/examples/aes256ctr.c
index 647d668..3e06364 100644
--- a/examples/aes256ctr.c
+++ b/examples/aes256ctr.c
@@ -40,7 +40,7 @@ int main()
cipher = aes256ctr_encrypt(plain, &key_schedule, iv, 0);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
decrypted = aes256ctr_decrypt(cipher, &key_schedule, iv, 0);
diff --git a/examples/aes256ecb.c b/examples/aes256ecb.c
index 31d05d7..18e9e88 100644
--- a/examples/aes256ecb.c
+++ b/examples/aes256ecb.c
@@ -35,7 +35,7 @@ int main()
cipher = aes256ecb_encrypt(plain, &key_schedule);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
aes256_invert_key_schedule(&key_schedule, &inverted_schedule);
diff --git a/examples/aes256ofb.c b/examples/aes256ofb.c
index 4b2248a..6ed4621 100644
--- a/examples/aes256ofb.c
+++ b/examples/aes256ofb.c
@@ -40,7 +40,7 @@ int main()
cipher = aes256ofb_encrypt(plain, &key_schedule, iv, &next_iv);
printf("\n");
- printf("Cypher: %s\n", format_aes_block128(&cipher).str);
+ printf("Cipher: %s\n", format_aes_block128(&cipher).str);
print_aes_block128_fips_matrix_style(&cipher);
printf("\n");