]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.boringcrypto] crypto/internal/boring: fix aesCipher implementation of gcmAble
authorFilippo Valsorda <filippo@golang.org>
Fri, 3 Aug 2018 23:37:45 +0000 (19:37 -0400)
committerFilippo Valsorda <filippo@golang.org>
Sat, 4 Aug 2018 01:02:47 +0000 (01:02 +0000)
commit7eb1677c01c3decc510270d532ed69d0bf42bffa
tree07cf1f9cdc3c6335048baf088f7d6071665fd017
parenteaa3e94eb82e53fa6626cdfa223acc8fbed7a370
[dev.boringcrypto] crypto/internal/boring: fix aesCipher implementation of gcmAble

In CL 48510 the gcmAble interface was changed to include the tag size.
The BoringCrypto aesCipher implementation wasn't updated, causing a
failed type assertion and consequently a performance degradation.

Change-Id: Ie5cff9ef242218d60f82795f3eb6760a57fe06f5
Reviewed-on: https://go-review.googlesource.com/127821
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/internal/boring/aes.go