Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for precomputePrivateKey (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. lib/fips140/v1.0.0-c2097c7c.zip

    error) { fips140.RecordApproved() if l := len(seed); l != seedSize { return nil, errors.New("ed25519: bad seed length: " + strconv.Itoa(l)) } copy(priv.seed[:], seed) precomputePrivateKey(priv) return priv, nil } func precomputePrivateKey(priv *PrivateKey) { hs := sha512.New() hs.Write(priv.seed[:]) h := hs.Sum(make([]byte, 0, sha512Size)) s, err := priv.s.SetBytesWithClamping(h[:32]) if err != nil { panic("ed25519: internal error: setting scalar failed") } A := (&edwards25519.Point{}).ScalarBaseMult(s)...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
Back to Top