From a3cf2fcfc3b8a2037cca8ebc1815902fdf3641ef Mon Sep 17 00:00:00 2001 From: Krzysztof Kwiatkowski Date: Sat, 28 May 2016 23:45:43 +0200 Subject: [PATCH] SET3.18 --- sol/set2.c | 3 --- src/common.h | 38 +++++++++++++++++++++++++++----------- src/enc_modes.h | 3 ++- src/main.cpp | 4 +++- 4 files changed, 32 insertions(+), 16 deletions(-) diff --git a/sol/set2.c b/sol/set2.c index 13f7223..924b50f 100644 --- a/sol/set2.c +++ b/sol/set2.c @@ -75,9 +75,6 @@ TCASE(ecb_encrypt_decrypt_single_block) CHECK(memcmp(decode.output, expected_result, 16) == 0); free(encode.output); free(decode.output); - //CryptoAttribs_t::Free(&encode); - //CryptoAttribs_t::Free(&decode); - //Key_t::Free(&key1); } TCASE_E diff --git a/src/common.h b/src/common.h index e1e3119..2b0e582 100644 --- a/src/common.h +++ b/src/common.h @@ -21,6 +21,7 @@ void __CheckFunc__(bool iFlag, const char* const file, int line, const uint8_t* // Some useful defines #define MIN(a,b) a @@ -13,9 +14,10 @@ int main() ERR_load_crypto_strings(); OpenSSL_add_all_algorithms(); + SET3::run(); - SET2::run(); SET1::run(); + SET2::run(); UTILS::run(); /* Clean up */