- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for minusOneEncoding (0.22 sec)
-
lib/fips140/v1.1.0-rc1.zip
.Element }} encoding") } // Check for non-canonical encodings (p + k, 2p + k, etc.) by comparing to // the encoding of -1 mod p, so p - 1, the highest canonical encoding. var minusOneEncoding = new({{ .Element }}).Sub( new({{ .Element }}), new({{ .Element }}).One()).Bytes() if subtle.ConstantTimeLessOrEq(v, minusOneEncoding) == 0 { return nil, errors.New("invalid {{ .Element }} encoding") } var in [{{ .Prefix }}ElementLen]byte copy(in[:], v) {{ .Prefix }}InvertEndianness(in[:]) var tmp {{ .Prefix...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)