Update Windows support

This commit is contained in:
Zhi Guan
2022-10-05 11:12:06 +08:00
parent cb59309f67
commit 74fbb19f13
30 changed files with 645 additions and 49 deletions

View File

@@ -101,6 +101,8 @@ void test(void)
static int test_pbkdf2_genkey(void)
{
// FIXME: currently we only has SHA-1 tests, replace with SHA-256
#ifdef ENABLE_BROKEN_CRYPTO
int i;
uint8_t key[64];
uint8_t buf[64];
@@ -123,7 +125,7 @@ static int test_pbkdf2_genkey(void)
fprintf(stderr, "test_pbkdf2_genkey test %d ok\n", i);
}
}
#endif
printf("%s() ok\n", __FUNCTION__);
return 0;
}