]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - crypto/testmgr.c
crypto: testmgr - replace compression known answer test
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Wed, 19 Apr 2017 13:27:18 +0000 (14:27 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Apr 2017 12:30:50 +0000 (20:30 +0800)
commita9943a0ad19f4a23bb5c4217df0fb37feb7ac339
tree5cfeb0799e11fc111c0c85ba89ecbd14b16ac65f
parent3ce5bc72eb88c02b23374c0e4f619ada27e47552
crypto: testmgr - replace compression known answer test

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 test for acomp
compression tests rather than a known answer test.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c