]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fips: add crypto_user module for new hmaccalc
authorOndrej Mosnacek <omosnace@redhat.com>
Fri, 8 Jun 2018 07:53:13 +0000 (09:53 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 2 Jul 2018 09:42:04 +0000 (11:42 +0200)
In Fedora 28+, hmaccalc (sha512hmac) is provided by libkcapi-hmaccalc,
which needs the crypto_user module for its functionality.

modules.d/01fips/module-setup.sh

index 7c41f5278d3296401cab941e75322a40ab1ea30e..6c69fb4d7b4d3ec407e60bea6e777ab37a32c3fe 100755 (executable)
@@ -22,7 +22,7 @@ installkernel() {
         _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 "
-        _fipsmodules+="cmac authenc sha3_generic sm3_generic "
+        _fipsmodules+="cmac authenc sha3_generic sm3_generic crypto_user "
     fi
 
     mkdir -m 0755 -p "${initdir}/etc/modprobe.d"