Support DLL in MSVC

This commit is contained in:
Zhi Guan
2022-12-27 17:23:56 +08:00
parent 6803910428
commit 616b5ecb06
5 changed files with 39 additions and 12 deletions

View File

@@ -23,6 +23,9 @@
#include <gmssl/error.h>
extern const sm9_bn_t SM9_ZERO;
extern const sm9_bn_t SM9_N;
// generate h1 in [1, n-1]
int sm9_hash1(sm9_bn_t h1, const char *id, size_t idlen, uint8_t hid)
{