]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/blowfish.c
h63xx: tsc2101 alsa sound support
[linux-2.6-omap-h63xx.git] / crypto / blowfish.c
index a8b29d54e7d8180ebb90391493f1302b85c220cb..7f710b201f2059cf66f8e2ffb4c2002cd8e14115 100644 (file)
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/mm.h>
+#include <asm/byteorder.h>
 #include <asm/scatterlist.h>
 #include <linux/crypto.h>
+#include <linux/types.h>
 
 #define BF_BLOCK_SIZE 8
 #define BF_MIN_KEY_SIZE 4
@@ -451,6 +453,7 @@ static struct crypto_alg alg = {
        .cra_flags              =       CRYPTO_ALG_TYPE_CIPHER,
        .cra_blocksize          =       BF_BLOCK_SIZE,
        .cra_ctxsize            =       sizeof(struct bf_ctx),
+       .cra_alignmask          =       3,
        .cra_module             =       THIS_MODULE,
        .cra_list               =       LIST_HEAD_INIT(alg.cra_list),
        .cra_u                  =       { .cipher = {