Re: [PATCH] crypto: acomp - replace compression known answer test

2017-04-21 Thread Herbert Xu
On Wed, Apr 19, 2017 at 02:27:18PM +0100, Giovanni Cabiddu wrote: > Compression implementations might return valid outputs that > do not match what specified in the test vectors. > For this reason, the testmgr might report that a compression > implementation failed the test even if the data

[PATCH] crypto: acomp - replace compression known answer test

2017-04-19 Thread Giovanni Cabiddu
Compression implementations might return valid outputs that do not match what specified in the test vectors. For this reason, the testmgr might report that a compression implementation failed the test even if the data produced by the compressor is correct. This implements a decompress-and-verify