internal/sm2ec: missing definition

This commit is contained in:
Sun Yimin 2025-10-14 10:37:30 +08:00 committed by GitHub
parent a552743ef3
commit 1b66212377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,3 +48,8 @@ func p256Sqr(res, in *p256Element, n int)
// //
//go:noescape //go:noescape
func p256FromMont(res, in *p256Element) func p256FromMont(res, in *p256Element)
// p256OrdReduce ensures s is in the range [0, ord(G)-1].
//
//go:noescape
func p256OrdReduce(s *p256OrdElement)