go/src/crypto/aes
Michael Munday 61f1a38bcb crypto/{aes,cipher}: fix panic in CBC on s390x when src length is 0
Adds a test to check that block cipher modes accept a zero-length
input.

Fixes #17435.

Change-Id: Ie093c4cdff756b5c2dcb79342e167b3de5622389
Reviewed-on: https://go-review.googlesource.com/31070
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-13 21:42:23 +00:00
..
aes_gcm.go crypto/cipher: enforce message size limits for GCM. 2016-09-02 16:23:15 +00:00
aes_test.go crypto/aes: use asm for BenchmarkExpand on amd64 2016-04-22 18:58:29 +00:00
asm_amd64.s
asm_s390x.s crypto/{aes,cipher}: add optimized implementation of AES-GCM for s390x 2016-10-05 15:37:53 +00:00
block.go
cbc_s390x.go crypto/{aes,cipher}: fix panic in CBC on s390x when src length is 0 2016-10-13 21:42:23 +00:00
cipher.go crypto/aes: de-couple asm and go implementations 2016-04-19 18:50:51 +00:00
cipher_amd64.go crypto/aes: use asm for BenchmarkExpand on amd64 2016-04-22 18:58:29 +00:00
cipher_generic.go crypto/aes: use asm for BenchmarkExpand on amd64 2016-04-22 18:58:29 +00:00
cipher_s390x.go crypto/aes: use asm for BenchmarkExpand on amd64 2016-04-22 18:58:29 +00:00
const.go
ctr_s390x.go crypto/cipher, crypto/aes: add s390x implementation of AES-CTR 2016-04-29 21:17:31 +00:00
gcm_amd64.s
gcm_s390x.go crypto/{aes,cipher}: add optimized implementation of AES-GCM for s390x 2016-10-05 15:37:53 +00:00
modes.go crypto/cipher, crypto/aes: add s390x implementation of AES-CTR 2016-04-29 21:17:31 +00:00
modes_test.go crypto/cipher, crypto/aes: add s390x implementation of AES-CTR 2016-04-29 21:17:31 +00:00