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]
/
arch
/
x86
/
crypto
/
crc32c-intel.c
diff --git
a/arch/x86/crypto/crc32c-intel.c
b/arch/x86/crypto/crc32c-intel.c
index
7dad700
..
da4e96b
100644
(file)
--- a/
arch/x86/crypto/crc32c-intel.c
+++ b/
arch/x86/crypto/crc32c-intel.c
@@
-166,6
+166,7
@@
static struct shash_alg alg = {
.cra_name = "crc32c",
.cra_driver_name = "crc32c-intel",
.cra_priority = 200,
+ .cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
.cra_blocksize = CHKSUM_BLOCK_SIZE,
.cra_ctxsize = sizeof(u32),
.cra_module = THIS_MODULE,