]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: require non-zero nonce size for AES-GCM
authorKatie Hockman <katie@golang.org>
Fri, 7 Feb 2020 19:44:58 +0000 (14:44 -0500)
committerKatie Hockman <katie@golang.org>
Mon, 24 Feb 2020 15:45:26 +0000 (15:45 +0000)
commit4e8badbbc2fe7854bb1c12a9ee42315b4d535051
tree9dcee16b2b0ad278a9457c15400718220d206606
parent84afaa9e9491d76ea43d7125b336030a0a2a902d
crypto/cipher: require non-zero nonce size for AES-GCM

Also fix typo in crypto/cipher/gcm_test.go.

Fixes #37118

Change-Id: I8544d1eeeb1f0336cebb977b8c5bfa5e4c5ad8c7
Reviewed-on: https://go-review.googlesource.com/c/go/+/218500
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/cipher/gcm.go
src/crypto/cipher/gcm_test.go