]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/des_generic.c
[CRYPTO] des: Create header file for common macros
[linux-2.6-omap-h63xx.git] / crypto / des_generic.c
index 59966d14b8e0dbb672bfff2ebc4ee8de2b752742..f75eafe1a875122bfd2d16f735eae66cb2aff686 100644 (file)
 #include <linux/crypto.h>
 #include <linux/types.h>
 
-#define DES_KEY_SIZE           8
-#define DES_EXPKEY_WORDS       32
-#define DES_BLOCK_SIZE         8
-
-#define DES3_EDE_KEY_SIZE      (3 * DES_KEY_SIZE)
-#define DES3_EDE_EXPKEY_WORDS  (3 * DES_EXPKEY_WORDS)
-#define DES3_EDE_BLOCK_SIZE    DES_BLOCK_SIZE
+#include <crypto/des.h>
 
 #define ROL(x, r) ((x) = rol32((x), (r)))
 #define ROR(x, r) ((x) = ror32((x), (r)))