summaryrefslogtreecommitdiff
path: root/arch/sparc/crypto/crc32c_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/crypto/crc32c_glue.c')
-rw-r--r--arch/sparc/crypto/crc32c_glue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/crypto/crc32c_glue.c b/arch/sparc/crypto/crc32c_glue.c
index d1064e46efe8..8aa664638c3c 100644
--- a/arch/sparc/crypto/crc32c_glue.c
+++ b/arch/sparc/crypto/crc32c_glue.c
@@ -133,6 +133,7 @@ static struct shash_alg alg = {
.cra_name = "crc32c",
.cra_driver_name = "crc32c-sparc64",
.cra_priority = SPARC_CR_OPCODE_PRIORITY,
+ .cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
.cra_ctxsize = sizeof(u32),
.cra_alignmask = 7,