Conflux-Chain / CIPs

Conflux Improvement Proposals (CIPs)
MIT License
26 stars 30 forks source link

Support SM-2/3 verification as internal contracts #51

Closed Regulusyg closed 3 years ago

Regulusyg commented 3 years ago

This draft CIP proposes to add SM-2/3 verification function as internal contracts. This will enable more efficient implementation of on-chain applications using SM-2 signature scheme and SM-3 hash function instead of ECDSA and SHA-2/3.

The interface can be used in flexible account authorization methods as suggested in CIP-45, however this CIP is of independent interest for applications that apply SM standard on their payload.


This change is Reviewable