[mirror] Go supplementary cryptography libraries
Перейти к файлу
Han-Wen Nienhuys 77014cf7f9 ssh: prevent double kex at connection start, 2nd try
The previous attempt would fail in the following scenario:

* select picks "first" kex from requestKex

* read loop receives a remote kex, posts on requestKex (which is now
  empty) [*] for sending out a response, and sends pendingKex on startKex.

* select picks pendingKex from startKex, and proceeds to run the key
  exchange.

* the posting on requestKex in [*] now triggers a second key exchange.

Fixes #18861. 

Change-Id: I443e82f1d04c7f17d1485fdb87072b9feec26aa8
Reviewed-on: https://go-review.googlesource.com/36055
Run-TryBot: Han-Wen Nienhuys <hanwen@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
2017-02-06 10:12:19 +00:00
acme acme/autocert: fix typo in Cache doc comment 2017-01-10 02:19:11 +00:00
bcrypt crypto: add import comments. 2014-12-09 23:26:36 +00:00
blake2b blake2b: fix build on non-amd64 platforms 2016-12-21 23:57:47 +00:00
blake2s blake2s: fix build constraints 2016-10-28 19:53:00 +00:00
blowfish go.crypto/blowfish: fix typo in docstring in cipher.go 2016-06-07 17:52:46 +00:00
bn256 bn256: fix equations in comments 2016-12-06 19:59:59 +00:00
cast5 crypto: add import comments. 2014-12-09 23:26:36 +00:00
chacha20poly1305 crypto/chacha20poly1305: rename test vectors file 2017-01-26 20:06:16 +00:00
curve25519 curve25519: eliminate unnecessary "callee save" prologues 2016-10-21 19:51:09 +00:00
ed25519 x/crypto/ed25519: add package. 2016-04-25 23:11:06 +00:00
hkdf crypto: add import comments. 2014-12-09 23:26:36 +00:00
md4 crypto: add import comments. 2014-12-09 23:26:36 +00:00
nacl nacl/secretbox: add license header and package prefix 2016-08-31 13:18:26 +00:00
ocsp ocsp: Expose ResponderID in parsed Response. 2016-12-21 17:16:36 +00:00
openpgp all: fix some vet warnings 2017-01-04 23:09:04 +00:00
otr otr: add missing return on error path 2017-01-18 18:54:26 +00:00
pbkdf2 crypto: add import comments. 2014-12-09 23:26:36 +00:00
pkcs12 x/crypto/pkcs12: fix typo in struct tag 2016-01-07 16:18:51 +00:00
poly1305 poly1305: add test vectors for edge cases 2017-01-30 17:18:27 +00:00
ripemd160 crypto: add import comments. 2014-12-09 23:26:36 +00:00
salsa20 salsa20/salsa: eliminate unnecessary "callee save" prologue/epilogue 2016-10-21 19:51:17 +00:00
scrypt scrypt: fix broken example in documentation 2016-09-10 03:01:29 +00:00
sha3 sha3: fix SP adjustment 2016-10-21 19:51:19 +00:00
ssh ssh: prevent double kex at connection start, 2nd try 2017-02-06 10:12:19 +00:00
tea x/crypto: add support for Tiny Encryption Algorithm (TEA) 2015-07-29 20:20:17 +00:00
twofish crypto: add import comments. 2014-12-09 23:26:36 +00:00
xtea crypto: add import comments. 2014-12-09 23:26:36 +00:00
xts crypto: add import comments. 2014-12-09 23:26:36 +00:00
.gitattributes crypto: copying .gitattributes to all subrepositories 2014-12-23 06:54:52 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:41:13 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2015-02-18 23:42:20 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:19:30 +11:00
PATENTS go.crypto: add PATENTS file to the subrepo. 2012-04-16 11:25:08 +10:00
README go.crypto: initial code 2012-01-25 15:31:12 -05:00
codereview.cfg crypto: add codereview.cfg 2015-03-18 17:04:25 +00:00

README

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.