X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fcrypto%2Fpadlock.h;h=b728e4518bd1582958b20cc330bfe8d8400ba11b;hb=refs%2Fheads%2Fvserver;hp=7a500605e449a151c57b2f916b6f24b23eecdba1;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/crypto/padlock.h b/drivers/crypto/padlock.h index 7a500605e..b728e4518 100644 --- a/drivers/crypto/padlock.h +++ b/drivers/crypto/padlock.h @@ -13,24 +13,11 @@ #ifndef _CRYPTO_PADLOCK_H #define _CRYPTO_PADLOCK_H -/* Control word. */ -union cword { - uint32_t cword[4]; - struct { - int rounds:4; - int algo:3; - int keygen:1; - int interm:1; - int encdec:1; - int ksize:2; - } b; -}; +#define PADLOCK_ALIGNMENT 16 #define PFX "padlock: " -#ifdef CONFIG_CRYPTO_DEV_PADLOCK_AES -int padlock_init_aes(void); -void padlock_fini_aes(void); -#endif +#define PADLOCK_CRA_PRIORITY 300 +#define PADLOCK_COMPOSITE_PRIORITY 400 #endif /* _CRYPTO_PADLOCK_H */