Remove macros

This commit is contained in:
Zhi Guan
2024-04-13 18:48:11 +08:00
parent e9d61cb1f4
commit 047ec4586a
2 changed files with 240 additions and 280 deletions

View File

@@ -211,7 +211,7 @@ typedef struct {
sm9_z256_fp2 Z;
} SM9_Z256_TWIST_POINT;
#define sm9_z256_twist_point_copy(R, P) memcpy((R), (P), sizeof(SM9_Z256_TWIST_POINT))
//#define sm9_z256_twist_point_copy(R, P) memcpy((R), (P), sizeof(SM9_Z256_TWIST_POINT))
int sm9_z256_twist_point_to_uncompressed_octets(const SM9_Z256_TWIST_POINT *P, uint8_t octets[129]);
int sm9_z256_twist_point_from_uncompressed_octets(SM9_Z256_TWIST_POINT *P, const uint8_t octets[129]);