Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstantTimeAllEq ¶
ConstantTimeAllEq returns 1 iff all bytes in slice x have the value y. The time taken is a function of the length of the slices and is independent of the contents.
func ConstantTimeCompare ¶
ConstantTimeCompare returns 1 iff the two equal length slices, x and y, have equal contents. The time taken is a function of the length of the slices and is independent of the contents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.