Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c9b13d

Browse files
ianlancetaylorgopherbot
authored andcommittedFeb 6, 2025
crypto/internal/fips140/drbg: add package comment
For #69536 Change-Id: I70d2ed10555fed244f08c898899399e3032e17b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/640597 Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent 88108cc commit 5c9b13d

File tree

1 file changed

+4
-0
lines changed
  • src/crypto/internal/fips140/drbg

1 file changed

+4
-0
lines changed
 

Diff for: ‎src/crypto/internal/fips140/drbg/rand.go

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
// Package drbg provides cryptographically secure random bytes
6+
// usable by FIPS code. In FIPS mode it uses an SP 800-90A Rev. 1
7+
// Deterministic Random Bit Generator (DRBG). Otherwise,
8+
// it uses the operating system's random number generator.
59
package drbg
610

711
import (

0 commit comments

Comments
 (0)
Please sign in to comment.