ssl_des/inc/tests.h

31 lines
712 B
C
Raw Normal View History

2018-10-09 11:42:59 +03:00
#ifndef TESTS
# define TESTS
#define MUNIT_ENABLE_ASSERT_ALIASES
#include "munit.h"
#include "tests_macros.h"
2018-10-21 20:46:05 +03:00
// md5 tests
2018-10-18 21:57:26 +03:00
CASE(should_init_ctx);
2018-10-20 20:56:18 +03:00
CASE(update_should_change_count);
CASE(decode_string_to_int);
CASE(encode_bits_to_string);
CASE(encode_register);
CASE(create_digest);
CASE(create_string);
2018-10-09 11:42:59 +03:00
2018-10-21 20:46:05 +03:00
// sha tests
CASE(should_init_ctx_sha256);
CASE(decode_string_to_int_sha256);
CASE(encode_len_to_string_sha256);
CASE(encode_register_to_string_sha256);
CASE(update_bit_count_sha256);
CASE(fill_buffer_sha256);
CASE(add_right_padding_sha256);
CASE(compute_digest_sha256);
CASE(create_digest_string_sha256);
2018-10-22 18:07:47 +03:00
CASE(should_init_ctx_sha224);
CASE(compute_digest_sha224);
CASE(create_digest_string_sha224);
2018-10-21 20:46:05 +03:00
2018-10-09 11:42:59 +03:00
#endif