Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LEPutUint64 (0.12 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    ├───u3───┼───u2───┼───u1───┼───u0───┤ // 256 192 128 64 0 u0 := t.l1<<51 | t.l0 u1 := t.l2<<(102-64) | t.l1>>(64-51) u2 := t.l3<<(153-128) | t.l2>>(128-102) u3 := t.l4<<(204-192) | t.l3>>(192-153) byteorder.LEPutUint64(out[0*8:], u0) byteorder.LEPutUint64(out[1*8:], u1) byteorder.LEPutUint64(out[2*8:], u2) byteorder.LEPutUint64(out[3*8:], u3) return out[:] } // Equal returns 1 if v and u are equal, and 0 otherwise. func (v *Element) Equal(u *Element) int { sa, sv := u.Bytes(), v.Bytes() return subtle.ConstantTimeCompare(sa,...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  2. lib/fips140/v1.0.0-c2097c7c.zip

    rather than happen on the heap. var out [32]byte return v.bytes(&out) } func (v *Element) bytes(out *[32]byte) []byte { t := *v t.reduce() var buf [8]byte for i, l := range [5]uint64{t.l0, t.l1, t.l2, t.l3, t.l4} { bitsOffset := i * 51 byteorder.LEPutUint64(buf[:], l<<uint(bitsOffset%8)) for i, bb := range buf { off := bitsOffset/8 + i if off >= len(out) { break } out[off] |= bb } } return out[:] } // Equal returns 1 if v and u are equal, and 0 otherwise. func (v *Element) Equal(u *Element) int { sa,...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Sep 25 19:53:19 UTC 2025
    - 642.7K bytes
    - Viewed (0)
Back to top