commit | bc1fde3206c836226ec196d7772847b84a2cefed | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sun May 10 01:48:09 2015 -0400 |
committer | Adam Langley <agl@google.com> | Mon May 11 19:15:38 2015 +0000 |
tree | 7be6144e6474a8f9bafb0e2aaf1fb61b2d7cf1b9 | |
parent | 353d7cba246052a8bcbade6f81452fc14b99264e [diff] |
Check max_out against in_len, not plaintext_len in RC4/MD5 AEAD. Like the non-stitched variant, this "AEAD" uses the output buffer as scratch space for the MAC. Thus it should require that max_out_len is large enough to fit that, even though it will never return that large of input. Change-Id: I5b30b0756408c2e433448f540e7c65251336d2f8 Reviewed-on: https://boringssl-review.googlesource.com/4704 Reviewed-by: Adam Langley <agl@google.com>