Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstantTimeAllZero ¶ added in v0.14.0
func ConstantTimeLessOrEqBytes ¶ added in v0.30.0
ConstantTimeLessOrEqBytes returns 1 if x <= y and 0 otherwise. The comparison is lexigraphical, or big-endian. The time taken is a function of the length of the slices and is independent of the contents. If the lengths of x and y do not match it returns 0 immediately.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.