ssh: report algorithms of the last completed key exchange Algorithms returned the algorithms of the first key exchange, copied without synchronization while a key exchange started by the peer could overwrite them. Publish the algorithms atomically once each key exchange completes and read them from the transport. Change-Id: I5fe73799087f57909b34299194bd5181c6a278a0 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/854186 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Junyang Shao <shaojunyang@google.com>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.