git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/char/mem.c: avoid OOM lockup during large reads from /dev/zero
[safe/jmp/linux-2.6]
/
drivers
/
crypto
/
padlock.h
diff --git
a/drivers/crypto/padlock.h
b/drivers/crypto/padlock.h
index
e2ee3b6
..
b728e45
100644
(file)
--- a/
drivers/crypto/padlock.h
+++ b/
drivers/crypto/padlock.h
@@
-15,17
+15,9
@@
#define PADLOCK_ALIGNMENT 16
#define PADLOCK_ALIGNMENT 16
-/* Control word. */
-struct cword {
- unsigned int __attribute__ ((__packed__))
- rounds:4,
- algo:3,
- keygen:1,
- interm:1,
- encdec:1,
- ksize:2;
-} __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
-
#define PFX "padlock: "
#define PFX "padlock: "
+#define PADLOCK_CRA_PRIORITY 300
+#define PADLOCK_COMPOSITE_PRIORITY 400
+
#endif /* _CRYPTO_PADLOCK_H */
#endif /* _CRYPTO_PADLOCK_H */