Han-Wen Nienhuys a48ac81e47 ssh: allow up to 255 bytes of padding in AES-GCM
The writing side would generate a maximum of 19 bytes of padding, so
the reading side erroneously checked this. However, RFC 5647 specifies
255 as the maximum amount of padding for AES-GCM.

Fixes golang/go#18953.

Change-Id: I416b0023c6e4cbd91a6a1b4214a03f1663b77248
Reviewed-on: https://go-review.googlesource.com/47590
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-07-06 15:27:25 +00:00
2017-05-22 14:29:59 +00:00
2017-07-05 21:44:04 +00:00
2016-12-06 19:59:59 +00:00
2014-12-09 23:26:36 +00:00
2017-04-07 17:36:45 +00:00
2014-12-09 23:26:36 +00:00
2014-12-09 23:26:36 +00:00
2017-06-18 20:15:51 +00:00
2017-01-04 23:09:04 +00:00
2017-01-18 18:54:26 +00:00
2014-12-09 23:26:36 +00:00
2014-12-09 23:26:36 +00:00
2016-10-21 19:51:19 +00:00
2014-12-09 23:26:36 +00:00
2017-06-01 17:27:53 +00:00
2014-12-08 10:41:13 +11:00
2015-03-18 17:04:25 +00:00
2015-02-18 23:42:20 +00:00
2012-03-17 15:19:30 +11:00

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see https://golang.org/doc/contribute.html.
S
Description
Mirror of ys-ll/crypto (GitHub), kept for paraterm builds
https://golang.org/x/crypto
Readme BSD-3-Clause
8.1 MiB
Languages
Go 88.6%
Assembly 11.1%
C 0.3%