go/src/crypto/subtle/constant_time_test.go

type TestConstantTimeCompareStruct

var testConstantTimeCompareData

func TestConstantTimeCompare(t *testing.T) {}

type TestConstantTimeByteEqStruct

var testConstandTimeByteEqData

func byteEq(a, b uint8) int {}

func TestConstantTimeByteEq(t *testing.T) {}

func eq(a, b int32) int {}

func TestConstantTimeEq(t *testing.T) {}

func makeCopy(v int, x, y []byte) []byte {}

func constantTimeCopyWrapper(v int, x, y []byte) []byte {}

func TestConstantTimeCopy(t *testing.T) {}

var lessOrEqTests

func TestConstantTimeLessOrEq(t *testing.T) {}

var benchmarkGlobal

func BenchmarkConstantTimeByteEq(b *testing.B) {}

func BenchmarkConstantTimeEq(b *testing.B) {}

func BenchmarkConstantTimeLessOrEq(b *testing.B) {}