mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-20 07:16:24 +08:00
Fix windows build error
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user