X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Fpadlock.h;h=b728e4518bd1582958b20cc330bfe8d8400ba11b;hb=805f53f085346b6765eda02820721a14ce0d644f;hp=3cf2b7a123487ce014fa074a22651bb77ea498ba;hpb=5d2a22079c825669d91a3a200332f1053b4b61b0;p=powerpc.git diff --git a/drivers/crypto/padlock.h b/drivers/crypto/padlock.h index 3cf2b7a123..b728e4518b 100644 --- a/drivers/crypto/padlock.h +++ b/drivers/crypto/padlock.h @@ -15,22 +15,9 @@ #define PADLOCK_ALIGNMENT 16 -/* Control word. */ -struct cword { - int __attribute__ ((__packed__)) - rounds:4, - algo:3, - keygen:1, - interm:1, - encdec:1, - ksize:2; -} __attribute__ ((__aligned__(PADLOCK_ALIGNMENT))); - #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 */