Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24 /crypto/ablkcipher.c

Filename:/crypto/ablkcipher.c
Lines Added:4
Lines Deleted:5
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.24-git1  2.6.24-git2  2.6.24-git3  2.6.24-git4  2.6.24-git5  2.6.24-git6 

Location
[  2.6.24
  [  crypto
     o  ablkcipher.c

Patch

diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c
index 3dbb1cc..2731acb 100644
--- a/crypto/ablkcipher.c
+++ b/crypto/ablkcipher.c
@@ -16,10 +16,13 @@
 #include <crypto/algapi.h>
 #include <linux/errno.h>
 #include <linux/init.h>
+#include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/slab.h>
 #include <linux/seq_file.h>
 
-static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, unsigned int keylen)
+static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key,
+             unsigned int keylen)
 {
    struct ablkcipher_alg *cipher = crypto_ablkcipher_alg(tfm);
    unsigned long alignmask = crypto_ablkcipher_alignmask(tfm);
@@ -91,10 +94,6 @@ static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg)
    seq_printf(m, "min keysize  : %u\n", ablkcipher->min_keysize);
    seq_printf(m, "max keysize  : %u\n", ablkcipher->max_keysize);
    seq_printf(m, "ivsize       : %u\n", ablkcipher->ivsize);
-   if (ablkcipher->queue) {
-      seq_printf(m, "qlen         : %u\n", ablkcipher->queue->qlen);
-      seq_printf(m, "max qlen     : %u\n", ablkcipher->queue->max_qlen);
-   }
 }
 
 const struct crypto_type crypto_ablkcipher_type = {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.