Skip to content
Commit 7ad32089 authored by Nathaniel McCallum's avatar Nathaniel McCallum
Browse files

Fix output size check for stream ciphers

The previous output size check presumed a block cipher. Therefore, it
enforced an unnecessary extra byte in the case of stream ciphers. This
patch ensures that our size checks don't force the caller to
overallocate for stream ciphers.
parent 4121ac34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment