diff options
author | Wang, Rui Y <rui.y.wang@intel.com> | 2015-11-29 22:45:33 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-04 22:29:53 +0800 |
commit | 3a020a723c65eb8ffa7c237faca26521a024e582 (patch) | |
tree | db88bd0dd0b1fa2d2b02ed7e4dfb0c74ae05ab25 /crypto/cryptd.c | |
parent | ac7c8e6b6dc959d285382c7e9cdfe608205f0c68 (diff) | |
download | lwn-3a020a723c65eb8ffa7c237faca26521a024e582.tar.gz lwn-3a020a723c65eb8ffa7c237faca26521a024e582.zip |
crypto: ghash-clmulni - Fix load failure
ghash_clmulni_intel fails to load on Linux 4.3+ with the following message:
"modprobe: ERROR: could not insert 'ghash_clmulni_intel': Invalid argument"
After 8996eafdc ("crypto: ahash - ensure statesize is non-zero") all ahash
drivers are required to implement import()/export(), and must have a non-
zero statesize.
This patch has been tested with the algif_hash interface. The calculated
digest values, after several rounds of import()s and export()s, match those
calculated by tcrypt.
Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cryptd.c')
0 files changed, 0 insertions, 0 deletions