]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/internal/fips140/drbg: add package comment
authorIan Lance Taylor <iant@golang.org>
Tue, 7 Jan 2025 18:47:01 +0000 (10:47 -0800)
committerGopher Robot <gobot@golang.org>
Thu, 6 Feb 2025 23:59:26 +0000 (15:59 -0800)
For #69536

Change-Id: I70d2ed10555fed244f08c898899399e3032e17b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/640597
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>

src/crypto/internal/fips140/drbg/rand.go

index e7ab19a4cfe0a6ece872d737289baa7adf1327cb..c1a3ea0ae658ff9b330527b38005189596527451 100644 (file)
@@ -2,6 +2,10 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
+// Package drbg provides cryptographically secure random bytes
+// usable by FIPS code. In FIPS mode it uses an SP 800-90A Rev. 1
+// Deterministic Random Bit Generator (DRBG). Otherwise,
+// it uses the operating system's random number generator.
 package drbg
 
 import (