- Sort Score
- Num 10 results
- Language All
Results 21 - 21 of 21 for 0s (0.05 seconds)
-
lib/fips140/v1.0.0-c2097c7c.zip
We use an int instead of bool in order to make decisions in // constant time by turning it into a mask. type choice uint func not(c choice) choice { return 1 ^ c } const yes = choice(1) const no = choice(0) // ctMask is all 1s if on is yes, and all 0s otherwise. func ctMask(on choice) uint { return -uint(on) } // ctEq returns 1 if x == y, and 0 otherwise. The execution time of this // function does not depend on its inputs. func ctEq(x, y uint) choice { // If x != y, then either x - y or y - x will...
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)