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.
Loading
Please register or sign in to comment