Add SM2RECOVER

This commit is contained in:
Zhi Guan
2022-10-19 21:12:11 +08:00
parent 8177f87d84
commit f906d1c44f
2 changed files with 204 additions and 0 deletions

View File

@@ -368,6 +368,10 @@ int sm2_decrypt(const SM2_KEY *key, const uint8_t *in, size_t inlen, uint8_t *ou
int sm2_ecdh(const SM2_KEY *key, const SM2_POINT *peer_public, SM2_POINT *out);
int sm2_signature_to_public_key_points(const SM2_SIGNATURE *sig, const uint8_t dgst[32],
SM2_POINT points[4], size_t *points_cnt);
#ifdef __cplusplus
}
#endif