Skip to content

Commit dda1029

Browse files
authored
Merge pull request #43 from bandi13/fixAESCFBTests
Add in declarations and calls to tests
2 parents d8d0c4e + d7df5b9 commit dda1029

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

test/unit.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ TEST_CASE test_case[] = {
124124
TEST_DECL(test_aes192_ctr_stream, NULL),
125125
TEST_DECL(test_aes256_ctr_stream, NULL),
126126
#endif
127+
#ifdef WP_HAVE_AESCFB
128+
TEST_DECL(test_aes128_cfb_stream, NULL),
129+
TEST_DECL(test_aes192_cfb_stream, NULL),
130+
TEST_DECL(test_aes256_cfb_stream, NULL),
131+
#endif
127132
#ifdef WP_HAVE_AESGCM
128133
TEST_DECL(test_aes128_gcm, NULL),
129134
TEST_DECL(test_aes192_gcm, NULL),

test/unit.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,14 @@ int test_aes256_ctr_stream(void *data);
166166

167167
#endif
168168

169+
#ifdef WP_HAVE_AESCFB
170+
171+
int test_aes128_cfb_stream(void *data);
172+
int test_aes192_cfb_stream(void *data);
173+
int test_aes256_cfb_stream(void *data);
174+
175+
#endif
176+
169177
#ifdef WP_HAVE_AESGCM
170178

171179
int test_aes128_gcm(void *data);

0 commit comments

Comments
 (0)