Re: aes128gcm: is the 1st example wrong?

On 13 February 2017 at 19:09, Julian Reschke <julian.reschke@gmx.de> wrote:
> So... where do I get the padding length from under the new format?


You count from the end of the plaintext.  All the zeros are padding.
The first non-zero octet (starting from the end) is the end of the
padding and should be 0x01 (regular) or 0x02 (last record).

Received on Monday, 13 February 2017 08:59:34 UTC