Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
chacha20poly1305: error out in fips140=only mode
We don't guarantee fips140=only support in x/crypto, but
chacha20poly1305 is special in that it's vendored into the standard
library. We could wrap all the callsites, but it's more robust to
just error out at construction time.
Change-Id: I4b1e451bd250429c4c5c5b61c8b2141c6a6a6964
Files:
- M chacha20poly1305/chacha20poly1305.go
- A chacha20poly1305/fips140only_compat.go
- A chacha20poly1305/fips140only_go1.26.go
- M chacha20poly1305/xchacha20poly1305.go
Change size: S
Delta: 4 files changed, 26 insertions(+), 0 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by David Chase, +2 by Roland Shoemaker
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: crypto
Gerrit-Branch: master
Gerrit-Change-Id: I4b1e451bd250429c4c5c5b61c8b2141c6a6a6964
Gerrit-Change-Number: 728480
Gerrit-PatchSet: 2