Fix windows build error

This commit is contained in:
Zhi Guan
2019-09-03 17:10:21 +08:00
parent 12505f111f
commit 01c1bfa965
5 changed files with 5157 additions and 5151 deletions

View File

@@ -63,6 +63,13 @@ int main(int argc, char **argv)
# include <openssl/sms4.h>
# include <openssl/rand.h>
# ifdef SMS4_AVX2
void sms4_avx2_ecb_encrypt_blocks(const unsigned char *in,
unsigned char *out, size_t blocks, const sms4_key_t *key);
void sms4_avx2_ctr32_encrypt_blocks(const unsigned char *in,
unsigned char *out, size_t blocks, const sms4_key_t *key,
const unsigned char iv[16]);
# endif
static int test_ecb(int avx)
{