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