summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/crc32-pclmul_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/crypto/crc32-pclmul_glue.c')
-rw-r--r--arch/x86/crypto/crc32-pclmul_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/crypto/crc32-pclmul_glue.c b/arch/x86/crypto/crc32-pclmul_glue.c
index 27226df3f7d8..c8d9cdacbf10 100644
--- a/arch/x86/crypto/crc32-pclmul_glue.c
+++ b/arch/x86/crypto/crc32-pclmul_glue.c
@@ -162,6 +162,7 @@ static struct shash_alg alg = {
.cra_name = "crc32",
.cra_driver_name = "crc32-pclmul",
.cra_priority = 200,
+ .cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
.cra_ctxsize = sizeof(u32),
.cra_module = THIS_MODULE,