- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for numbytes (0.07 sec)
-
lib/fips140/v1.0.0.zip
&PublicKey{} return newPublicKey(p, pub) } func newPublicKey(pub *PublicKey, pubBytes []byte) (*PublicKey, error) { if l := len(pubBytes); l != publicKeySize { return nil, errors.New("ed25519: bad public key length: " + strconv.Itoa(l)) } // SetBytes checks that the point is on the curve. if _, err := pub.a.SetBytes(pubBytes); err != nil { return nil, errors.New("ed25519: bad public key") } copy(pub.aBytes[:], pubBytes) return pub, nil } // Domain separation prefixes used to disambiguate Ed25519...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)