From 935dd5746ab851a3f7e808ef991e681aeee1968a Mon Sep 17 00:00:00 2001 From: Ondrej Mosnacek Date: Thu, 7 Jun 2018 16:03:54 +0200 Subject: [PATCH] fips: add sha3_generic and sm3_generic modules SHA-3 and SM3 have been added to the tcrypt module recently, so without them the 'modprobe tcrypt' step causes a kernel panic. --- modules.d/01fips/module-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh index 2304462f..3b800c7c 100755 --- a/modules.d/01fips/module-setup.sh +++ b/modules.d/01fips/module-setup.sh @@ -21,7 +21,8 @@ installkernel() { _fipsmodules+="ecb eseqiv fcrypt gcm ghash_generic hmac khazad lzo md4 md5 michael_mic rmd128 " _fipsmodules+="rmd160 rmd256 rmd320 rot13 salsa20 seed seqiv serpent sha1 sha224 sha256 sha256_generic " _fipsmodules+="sha384 sha512 sha512_generic tcrypt tea tnepres twofish wp256 wp384 wp512 xeta xtea xts zlib " - _fipsmodules+="aes_s390 des_s390 prng sha256_s390 sha_common des_check_key ghash_s390 sha1_s390 sha512_s390 cmac authenc " + _fipsmodules+="aes_s390 des_s390 prng sha256_s390 sha_common des_check_key ghash_s390 sha1_s390 sha512_s390 " + _fipsmodules+="cmac authenc sha3_generic sm3_generic " fi mkdir -m 0755 -p "${initdir}/etc/modprobe.d"