- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ScalarBaseMult (0.27 sec)
-
lib/fips140/v1.0.0.zip
if len(key) != len(c.N) || isZero(key) || !isLess(key, c.N) { return nil, errors.New("crypto/ecdh: invalid private key") } p, err := c.newPoint().ScalarBaseMult(key) if err != nil { // This is unreachable because the only error condition of // ScalarBaseMult is if the input is not the right size. panic("crypto/ecdh: internal error: nistec ScalarBaseMult failed for a fixed-size input") } publicKey := p.Bytes() if len(publicKey) == 1 { // The encoding of the identity is a single 0x00 byte. This is //...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)