Documentation ¶
Overview ¶
Package sm2ec implements the SM2 Prime elliptic curves.
This package uses fiat-crypto or specialized assembly and Go code for its backend field arithmetic (not math/big) and exposes constant-time, heap allocation-free, byte slice-based safe APIs. Group operations use modern and safe complete addition formulas where possible. The point at infinity is handled and encoded according to SEC 1, Version 2.0, and invalid curve points can't be represented.
Click to show internal directories.
Click to hide internal directories.