- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for scalarMinusOneBytes (0.1 seconds)
-
lib/fips140/v1.26.0.zip
) s2 := byteorder.LEUint64(s[16:24]) s3 := byteorder.LEUint64(s[24:]) l0 := byteorder.LEUint64(scalarMinusOneBytes[:8]) l1 := byteorder.LEUint64(scalarMinusOneBytes[8:16]) l2 := byteorder.LEUint64(scalarMinusOneBytes[16:24]) l3 := byteorder.LEUint64(scalarMinusOneBytes[24:]) // Do a constant time subtraction chain scalarMinusOneBytes - s. If there is // a borrow at the end, then s > scalarMinusOneBytes. _, b := bits.Sub64(l0, s0, 0) _, b = bits.Sub64(l1, s1, b) _, b = bits.Sub64(l2, s2, b) _, b =...
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) -
lib/fips140/v1.0.0-c2097c7c.zip
length") } if !isReduced(x) { return nil, errors.New("invalid scalar encoding") } fiatScalarFromBytes((*[4]uint64)(&s.s), (*[32]byte)(x)) fiatScalarToMontgome(&s.s, (*fiatScalarNonMontgom)(&s.s)) return s, nil } // scalarMinusOneBytes is l - 1 in little endian. var scalarMinusOneBytes = [32]byte{236, 211, 245, 92, 26, 99, 18, 88, 214, 156, 247, 162, 222, 249, 222, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16} // isReduced returns whether the given scalar in 32-byte little endian encoded //...Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0)