Fix export symbol bug in MSVC

This commit is contained in:
Zhi Guan
2022-12-24 10:50:44 +08:00
parent fac880d47d
commit 0eb4bd9c1d
7 changed files with 53 additions and 32 deletions

View File

@@ -297,7 +297,6 @@ typedef struct {
sm9_fp_t Y;
sm9_fp_t Z;
} SM9_POINT;
extern const SM9_POINT *SM9_P1;
#define sm9_point_init(R) sm9_point_set_infinity(R)
#define sm9_point_clean(R) sm9_point_set_infinity(R)
@@ -326,9 +325,6 @@ typedef struct {
sm9_fp2_t Z;
} SM9_TWIST_POINT;
extern const SM9_TWIST_POINT *SM9_P2;
extern const SM9_TWIST_POINT *SM9_Ppubs;
#define sm9_twist_point_copy(R, P) memcpy((R), (P), sizeof(SM9_TWIST_POINT))
int sm9_twist_point_to_uncompressed_octets(const SM9_TWIST_POINT *P, uint8_t octets[129]);