git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: hash - annotate algorithms taking optional key
[pandora-kernel.git]
/
crypto
/
crc32c.c
diff --git
a/crypto/crc32c.c
b/crypto/crc32c.c
index
b2c030b
..
55f5ed1
100644
(file)
--- a/
crypto/crc32c.c
+++ b/
crypto/crc32c.c
@@
-234,6
+234,7
@@
static struct shash_alg alg = {
.cra_name = "crc32c",
.cra_driver_name = "crc32c-generic",
.cra_priority = 100,
+ .cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
.cra_alignmask = 3,
.cra_ctxsize = sizeof(struct chksum_ctx),