Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ByteEq (0.13 sec)

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

    offset of the first 0x01 byte // invalid: 1 iff we saw a non-zero byte before the 0x01. var lookingForIndex, index, invalid int lookingForIndex = 1 rest := db[hash.Size():] for i := 0; i < len(rest); i++ { equals0 := constanttime.ByteEq(rest[i], 0) equals1 := constanttime.ByteEq(rest[i], 1) index = constanttime.Select(lookingForIndex&equals1, i, index) lookingForIndex = constanttime.Select(equals1, 0, lookingForIndex) invalid = constanttime.Select(lookingForIndex&^equals0, 1, invalid) } if firstByteI...
    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