]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: replace crypto/aes with internal/chacha8rand for plan9
authorFilippo Valsorda <filippo@golang.org>
Mon, 4 Nov 2024 12:05:46 +0000 (13:05 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 19 Nov 2024 00:29:26 +0000 (00:29 +0000)
commitf705cf8f96bef3f61ba65e62b0b9123d718d0d12
tree1358a1eb00173e6c2e3d86519f6bbc0abf836351
parentc4aea467842efc3baf6cd2f5ad19fe23d7304c2e
crypto/rand: replace crypto/aes with internal/chacha8rand for plan9

We will need to import this functionality from the FIPS module, and we
can't import AES from there. Plan 9 is not going to be FIPS validated
anyway, so we can use non-approved cryptography.

For #69536

Change-Id: I7921ec0829b576de2e80f3a7d0a9a776ff387684
Reviewed-on: https://go-review.googlesource.com/c/go/+/624975
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/rand/rand_plan9.go