+27
−6
Loading
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.