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

@@ -68,6 +68,14 @@
# include <openssl/sms4.h>
# include "sms4_lcl.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
typedef struct {
block128_f block;
union {