- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConstantTimeLess (0.22 sec)
-
lib/fips140/v1.1.0-rc1.zip
Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package subtle import ( "bytes" "crypto/internal/fips140deps/byteorder" "math/rand/v2" "testing" "time" ) func TestConstantTimeLess(t *testing.T) { seed := make([]byte, 32) byteorder.BEPutUint64(seed, uint64(time.Now().UnixNano())) r := rand.NewChaCha8([32]byte(seed)) for l := range 20 { a := make([]byte, l) b := make([]byte, l) empty := make([]byte, l) r.Read(a) r.Read(b)...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)