Running 4.3 under Arch Linux x86_64 and attempting to load the ghash-clmulni-intel module results in an invalid argument and no module/functionality. I see nothing accompanying it in dmesg or journalctl. # modprobe -v ghash-clmulni-intel insmod /lib/modules/4.3.0-1-ARCH/kernel/arch/x86/crypto/ghash-clmulni-intel.ko.gz modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument
Hmm, the crypto layer seems to return -EINVAL silently on all kinds of "malformed" issues. But it's a crypto layer issue (I don't have the power to reassign it, it seems).
Perhaps I can? I couldn't find a discrete crypto product or component.
The fix is at https://lkml.org/lkml/2015/11/29/85 Please help test it if you could. Thanks
Same Invalid argument under 4.3.3. I will try your patches and report back.
I can confirm that applying your patches to 4.3.3 allows the module to load correctly. I didn't see any traffic on LKML about them nor do I see them in the stable-queue. Any ideas if they will be incorporated to fix this?
Here: https://lkml.org/lkml/2015/12/4/313