From: Ian Lance Taylor Date: Tue, 7 Jan 2025 18:47:01 +0000 (-0800) Subject: crypto/internal/fips140/drbg: add package comment X-Git-Tag: go1.25rc1~1146 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5c9b13d90f4c751c61ccb4560f79a1189cab2279;p=gostls13.git 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 Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Commit-Queue: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- diff --git a/src/crypto/internal/fips140/drbg/rand.go b/src/crypto/internal/fips140/drbg/rand.go index e7ab19a4cf..c1a3ea0ae6 100644 --- a/src/crypto/internal/fips140/drbg/rand.go +++ b/src/crypto/internal/fips140/drbg/rand.go @@ -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 (