]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/des.c
h63xx: tsc2101 alsa sound support
[linux-2.6-omap-h63xx.git] / crypto / des.c
index a3c863ddddedd381ba4ed96bffb3fc34e1e49fce..7bb548653dc68752f8facabda96dc463c0c437a2 100644 (file)
  *
  */
 
+#include <asm/byteorder.h>
 #include <linux/bitops.h>
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/crypto.h>
+#include <linux/types.h>
 
 #define DES_KEY_SIZE           8
 #define DES_EXPKEY_WORDS       32
@@ -947,6 +949,7 @@ static struct crypto_alg des_alg = {
        .cra_blocksize          =       DES_BLOCK_SIZE,
        .cra_ctxsize            =       sizeof(struct des_ctx),
        .cra_module             =       THIS_MODULE,
+       .cra_alignmask          =       3,
        .cra_list               =       LIST_HEAD_INIT(des_alg.cra_list),
        .cra_u                  =       { .cipher = {
        .cia_min_keysize        =       DES_KEY_SIZE,