diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-16 13:57:44 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-16 13:57:44 +0300 |
commit | e625f0aa58f341981ea8cba99660ae7c1eac1b05 (patch) | |
tree | 8e7bf55d7a9cf8ddcbed6be3b6402e1b774c29e4 /test | |
parent | utils/cxx/ -> cxx/ (diff) | |
download | aes-tools-e625f0aa58f341981ea8cba99660ae7c1eac1b05.tar.gz aes-tools-e625f0aa58f341981ea8cba99660ae7c1eac1b05.zip |
handle block formatting/printing functions errors
Diffstat (limited to '')
30 files changed, 30 insertions, 30 deletions
diff --git a/test/aes128cbc_decrypt_block.c b/test/aes128cbc_decrypt_block.c index f702e4a..933c279 100644 --- a/test/aes128cbc_decrypt_block.c +++ b/test/aes128cbc_decrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cbc128(cipher, &inverted_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes128cbc_encrypt_block.c b/test/aes128cbc_encrypt_block.c index 7ee7734..109dfc1 100644 --- a/test/aes128cbc_encrypt_block.c +++ b/test/aes128cbc_encrypt_block.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cbc128(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes128cfb_decrypt_block.c b/test/aes128cfb_decrypt_block.c index e84e5fa..4f4803a 100644 --- a/test/aes128cfb_decrypt_block.c +++ b/test/aes128cfb_decrypt_block.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cfb128(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes128cfb_encrypt_block.c b/test/aes128cfb_encrypt_block.c index 9ef1df4..90a1a4b 100644 --- a/test/aes128cfb_encrypt_block.c +++ b/test/aes128cfb_encrypt_block.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cfb128(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes128ctr_decrypt_block.c b/test/aes128ctr_decrypt_block.c index 354626a..54c8375 100644 --- a/test/aes128ctr_decrypt_block.c +++ b/test/aes128ctr_decrypt_block.c @@ -55,7 +55,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ctr128(cipher, &key_schedule, iv, ctr++); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes128ctr_encrypt_block.c b/test/aes128ctr_encrypt_block.c index 3bab709..d5cec3b 100644 --- a/test/aes128ctr_encrypt_block.c +++ b/test/aes128ctr_encrypt_block.c @@ -55,7 +55,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ctr128(plain, &key_schedule, iv, ctr++); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes128ecb_decrypt_block.c b/test/aes128ecb_decrypt_block.c index 7b34641..f470ecc 100644 --- a/test/aes128ecb_decrypt_block.c +++ b/test/aes128ecb_decrypt_block.c @@ -48,7 +48,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ecb128(cipher, &inverted_schedule); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes128ecb_encrypt_block.c b/test/aes128ecb_encrypt_block.c index 502cc65..be86d05 100644 --- a/test/aes128ecb_encrypt_block.c +++ b/test/aes128ecb_encrypt_block.c @@ -47,7 +47,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ecb128(plain, &key_schedule); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes128ofb_decrypt_block.c b/test/aes128ofb_decrypt_block.c index ac29f05..b8a6880 100644 --- a/test/aes128ofb_decrypt_block.c +++ b/test/aes128ofb_decrypt_block.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ofb128(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes128ofb_encrypt_block.c b/test/aes128ofb_encrypt_block.c index e25aac8..a64fa31 100644 --- a/test/aes128ofb_encrypt_block.c +++ b/test/aes128ofb_encrypt_block.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ofb128(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes192cbc_decrypt_block.c b/test/aes192cbc_decrypt_block.c index 8a034ba..2ee439f 100644 --- a/test/aes192cbc_decrypt_block.c +++ b/test/aes192cbc_decrypt_block.c @@ -55,7 +55,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cbc192(cipher, &inverted_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes192cbc_encrypt_block.c b/test/aes192cbc_encrypt_block.c index 6d8f15e..ffd164e 100644 --- a/test/aes192cbc_encrypt_block.c +++ b/test/aes192cbc_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cbc192(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes192cfb_decrypt_block.c b/test/aes192cfb_decrypt_block.c index 13abb88..4bd04bd 100644 --- a/test/aes192cfb_decrypt_block.c +++ b/test/aes192cfb_decrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cfb192(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes192cfb_encrypt_block.c b/test/aes192cfb_encrypt_block.c index 19137b2..6248e94 100644 --- a/test/aes192cfb_encrypt_block.c +++ b/test/aes192cfb_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cfb192(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes192ctr_decrypt_block.c b/test/aes192ctr_decrypt_block.c index ce90f3a..6d0387e 100644 --- a/test/aes192ctr_decrypt_block.c +++ b/test/aes192ctr_decrypt_block.c @@ -56,7 +56,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ctr192(cipher, &key_schedule, iv, ctr++); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes192ctr_encrypt_block.c b/test/aes192ctr_encrypt_block.c index 5258efa..d0780c1 100644 --- a/test/aes192ctr_encrypt_block.c +++ b/test/aes192ctr_encrypt_block.c @@ -56,7 +56,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ctr192(plain, &key_schedule, iv, ctr++); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes192ecb_decrypt_block.c b/test/aes192ecb_decrypt_block.c index 5d209ae..399e00c 100644 --- a/test/aes192ecb_decrypt_block.c +++ b/test/aes192ecb_decrypt_block.c @@ -49,7 +49,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ecb192(cipher, &inverted_schedule); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes192ecb_encrypt_block.c b/test/aes192ecb_encrypt_block.c index 82f6821..051efc3 100644 --- a/test/aes192ecb_encrypt_block.c +++ b/test/aes192ecb_encrypt_block.c @@ -48,7 +48,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ecb192(plain, &key_schedule); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes192ofb_decrypt_block.c b/test/aes192ofb_decrypt_block.c index 64bb708..0cc1501 100644 --- a/test/aes192ofb_decrypt_block.c +++ b/test/aes192ofb_decrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ofb192(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes192ofb_encrypt_block.c b/test/aes192ofb_encrypt_block.c index 986ac37..8282c23 100644 --- a/test/aes192ofb_encrypt_block.c +++ b/test/aes192ofb_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ofb192(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes256cbc_decrypt_block.c b/test/aes256cbc_decrypt_block.c index 89ead21..b3b15ce 100644 --- a/test/aes256cbc_decrypt_block.c +++ b/test/aes256cbc_decrypt_block.c @@ -55,7 +55,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cbc256(cipher, &inverted_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes256cbc_encrypt_block.c b/test/aes256cbc_encrypt_block.c index f6e067e..cb3be83 100644 --- a/test/aes256cbc_encrypt_block.c +++ b/test/aes256cbc_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cbc256(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes256cfb_decrypt_block.c b/test/aes256cfb_decrypt_block.c index 249f413..cfdfb4b 100644 --- a/test/aes256cfb_decrypt_block.c +++ b/test/aes256cfb_decrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_cfb256(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes256cfb_encrypt_block.c b/test/aes256cfb_encrypt_block.c index 7713db5..0a73528 100644 --- a/test/aes256cfb_encrypt_block.c +++ b/test/aes256cfb_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_cfb256(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes256ctr_decrypt_block.c b/test/aes256ctr_decrypt_block.c index e2669e6..6e7f875 100644 --- a/test/aes256ctr_decrypt_block.c +++ b/test/aes256ctr_decrypt_block.c @@ -56,7 +56,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ctr256(cipher, &key_schedule, iv, ctr++); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes256ctr_encrypt_block.c b/test/aes256ctr_encrypt_block.c index 7d1d8e7..667b593 100644 --- a/test/aes256ctr_encrypt_block.c +++ b/test/aes256ctr_encrypt_block.c @@ -56,7 +56,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ctr256(plain, &key_schedule, iv, ctr++); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes256ecb_decrypt_block.c b/test/aes256ecb_decrypt_block.c index 134b33f..0ea066a 100644 --- a/test/aes256ecb_decrypt_block.c +++ b/test/aes256ecb_decrypt_block.c @@ -49,7 +49,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ecb256(cipher, &inverted_schedule); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes256ecb_encrypt_block.c b/test/aes256ecb_encrypt_block.c index 3d0a8ee..289c82f 100644 --- a/test/aes256ecb_encrypt_block.c +++ b/test/aes256ecb_encrypt_block.c @@ -48,7 +48,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ecb256(plain, &key_schedule); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } diff --git a/test/aes256ofb_decrypt_block.c b/test/aes256ofb_decrypt_block.c index 1033df7..e323d79 100644 --- a/test/aes256ofb_decrypt_block.c +++ b/test/aes256ofb_decrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } plain = aesni_decrypt_block_ofb256(cipher, &key_schedule, iv, &iv); - aesni_print_block128(&plain); + aesni_print_block128(&plain, NULL); } } diff --git a/test/aes256ofb_encrypt_block.c b/test/aes256ofb_encrypt_block.c index 71dfea9..7a185eb 100644 --- a/test/aes256ofb_encrypt_block.c +++ b/test/aes256ofb_encrypt_block.c @@ -54,7 +54,7 @@ int main(int argc, char** argv) continue; } cipher = aesni_encrypt_block_ofb256(plain, &key_schedule, iv, &iv); - aesni_print_block128(&cipher); + aesni_print_block128(&cipher, NULL); } } |