Re: ESP output when using NULL encryption and NON authentication

2008-11-28 Thread Herbert Xu
Dean Jenkins <[EMAIL PROTECTED]> wrote: > > However, ESP's call to crypto_aead_decrypt() puts the start of the > encapsulated packet (first 16 bytes) into the IV field of the AEAD request > instead of wholly in the src scatterlist. The dst scatterlist is in fact the > same src scatterlist. Well

Re: [PATCH] crypto: Validate output length in (de)compression tests

2008-11-28 Thread Herbert Xu
On Thu, Nov 27, 2008 at 06:48:13PM +0100, Geert Uytterhoeven wrote: > When self-testing (de)compression algorithms, make sure the actual size of > the (de)compressed output data matches the expected output size. > Otherwise, in case the actual output size would be smaller than the expected > output