]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - crypto/testmgr.c
crypto: testmgr - allow compression algs in fips mode
authorMilan Broz <mbroz@redhat.com>
Thu, 6 Dec 2012 09:16:28 +0000 (17:16 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Dec 2012 09:16:28 +0000 (17:16 +0800)
commit0818904d4057737e589cad0b9501b5a3c3bbc2cc
tree9b7e8dc27ff2d8199619d0d7065eaf92639d42d8
parent6726ec4268d6bc41444177acb978ccd838658b38
crypto: testmgr - allow compression algs in fips mode

When in fips mode, compression algoritms fails to initialize,
e.g. modprobe ubifs returns
  UBIFS error: compr_init: cannot initialize compressor lzo, error -2

FIPS mode should not care about compression algoritms at all.

Patch just set fips_enabled flag to 1 to all compression algorithms
managed by testmgr.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c