Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fromBig (0.07 sec)

  1. lib/fips140/v1.0.0.zip

    most significant bit b := new(big.Int).SetBytes(swapEndianness(in[:])) fe1.fromBig(b) if fe != fe1 { return false } buf := make([]byte, 32) buf = swapEndianness(fe1.toBig().FillBytes(buf)) return bytes.Equal(fe.Bytes(), buf) && isInBounds(&fe) && isInBounds(&fe1) } if err := quick.Check(f1, nil); err != nil { t.Error(err) } } // fromBig sets v = n, and returns v. The bit length of n must not exceed 256. func (v *Element) fromBig(n *big.Int) *Element { if n.BitLen() > 32*8 { panic("edwards25519: invalid...
    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