mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-25 03:36:18 +08:00
11 lines
533 B
Go
11 lines
533 B
Go
// 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.
|
|
package sm2ec
|
|
|
|
//go:generate go run generate.go |