-
mdp authored
The existing implementation checks to see if the session key size is a multiple of the cipher blocksize. This fails for AES-192, which has a keysize of 24 bytes and a 16 byte block size. Instead it should simply check to ensure that the Session Key length is equal to the cipher KeySize. Fixes golang/go#17060 Change-Id: I1dc78129f7fb2ca5ec71b650a2adcb3752dca885 Reviewed-on: https://go-review.googlesource.com/35848 Reviewed-by: Adam Langley <agl@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Run-TryBot: Adam Langley <agl@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
418008d6