- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for generateKeys (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
lib/fips140/v1.26.0.zip
{ pub := priv.pub return pub[:] } type PublicKey struct { a edwards25519.Point aBytes [32]byte } func (pub *PublicKey) Bytes() []byte { a := pub.aBytes return a[:] } // GenerateKey generates a new Ed25519 private key pair. func GenerateKey() (*PrivateKey, error) { priv := &PrivateKey{} return generateKey(priv) } func generateKey(priv *PrivateKey) (*PrivateKey, error) { fips140.RecordApproved() drbg.Read(priv.seed[:]) precomputePrivateKey(priv) fipsPCT(priv) return priv, nil } func NewPrivateKeyFromSee(seed...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)