Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPublicKey (0.69 sec)

  1. lib/fips140/v1.0.0.zip

    fipsPCT(priv); err != nil { // This can happen if the application messed with the private key // encoding, and the public key doesn't match the seed anymore. return nil, err } return priv, nil } func NewPublicKey(pub []byte) (*PublicKey, error) { p := &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...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top