- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewPrivateKey (0.9 sec)
-
api/go1.26.txt
pkg crypto/hpke, type KEM interface, GenerateKey() (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, ID() uint16 #75300 pkg crypto/hpke, type KEM interface, NewPrivateKey([]uint8) (PrivateKey, error) #75300 pkg crypto/hpke, type KEM interface, NewPublicKey([]uint8) (PublicKey, error) #75300 pkg crypto/hpke, type KEM interface, unexported methods #75300
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 19:57:52 UTC 2025 - 11.5K bytes - Viewed (0) -
lib/fips140/v1.1.0-rc1.zip
2]) if err != nil { panic("ed25519: internal error: setting scalar failed") } A := (&edwards25519.Point{}).ScalarBaseMult(s) copy(priv.pub[:], A.Bytes()) copy(priv.prefix[:], h[32:]) } func NewPrivateKey(priv []byte) (*PrivateKey, error) { p := &PrivateKey{} return newPrivateKey(p, priv) } func newPrivateKey(priv *PrivateKey, privBytes []byte) (*PrivateKey, error) { fips140.RecordApproved() if l := len(privBytes); l != privateKeySize { return nil, errors.New("ed25519: bad private key length: " +...Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)