Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-14673 sec: annotate algorithms taking optional key
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-crypto-adler.c
diff --git
a/libcfs/libcfs/linux/linux-crypto-adler.c
b/libcfs/libcfs/linux/linux-crypto-adler.c
index
9cd3fd0
..
2171817
100644
(file)
--- a/
libcfs/libcfs/linux/linux-crypto-adler.c
+++ b/
libcfs/libcfs/linux/linux-crypto-adler.c
@@
-117,6
+117,9
@@
static struct shash_alg alg = {
.cra_name = "adler32",
.cra_driver_name = "adler32-zlib",
.cra_priority = 100,
+#ifdef CRYPTO_ALG_OPTIONAL_KEY
+ .cra_flags = CRYPTO_ALG_OPTIONAL_KEY,
+#endif
.cra_blocksize = CHKSUM_BLOCK_SIZE,
.cra_ctxsize = sizeof(u32),
.cra_module = NULL,