Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for privBytes (0.07 sec)

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

    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: " + strconv.Itoa(l)) } copy(priv.seed[:], privBytes[:32]) hs := sha512.New() hs.Write(priv.seed[:]) h := hs.Sum(make([]byte, 0, sha512Size)) if _, err := priv.s.SetBytesWithClamping(h[:32]); err...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
  2. lib/fips140/v1.1.0-rc1.zip

    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: " + strconv.Itoa(l)) } copy(priv.seed[:], privBytes[:32]) hs := sha512.New() hs.Write(priv.seed[:]) h := hs.Sum(make([]byte, 0, sha512Size)) if _, err := priv.s.SetBytesWithClamping(h[:32]); err...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
Back to top