- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkDBRG (0.89 sec)
-
lib/fips140/v1.0.0.zip
/drbg/rand_test.go // Copyright 2025 The Go 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 drbg import ( "crypto/internal/fips140" "testing" ) func BenchmarkDBRG(b *testing.B) { old := fips140.Enabled defer func() { fips140.Enabled = old }() fips140.Enabled = true const N = 64 b.SetBytes(N) b.RunParallel(func(pb *testing.PB) { buf := make([]byte, N) for pb.Next() { Read(buf) } }) } golang.org/fips140@v...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)