Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6

* master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6:
[CRYPTO] padlock: Fix alignment after aes_ctx rearrange

+7 -2
+7 -2
drivers/crypto/padlock-aes.c
··· 59 #define AES_EXTENDED_KEY_SIZE 64 /* in uint32_t units */ 60 #define AES_EXTENDED_KEY_SIZE_B (AES_EXTENDED_KEY_SIZE * sizeof(uint32_t)) 61 62 struct aes_ctx { 63 struct { 64 struct cword encrypt; ··· 69 } cword; 70 u32 *D; 71 int key_length; 72 - u32 E[AES_EXTENDED_KEY_SIZE]; 73 - u32 d_data[AES_EXTENDED_KEY_SIZE]; 74 }; 75 76 /* ====== Key management routines ====== */
··· 59 #define AES_EXTENDED_KEY_SIZE 64 /* in uint32_t units */ 60 #define AES_EXTENDED_KEY_SIZE_B (AES_EXTENDED_KEY_SIZE * sizeof(uint32_t)) 61 62 + /* Whenever making any changes to the following 63 + * structure *make sure* you keep E, d_data 64 + * and cword aligned on 16 Bytes boundaries!!! */ 65 struct aes_ctx { 66 struct { 67 struct cword encrypt; ··· 66 } cword; 67 u32 *D; 68 int key_length; 69 + u32 E[AES_EXTENDED_KEY_SIZE] 70 + __attribute__ ((__aligned__(PADLOCK_ALIGNMENT))); 71 + u32 d_data[AES_EXTENDED_KEY_SIZE] 72 + __attribute__ ((__aligned__(PADLOCK_ALIGNMENT))); 73 }; 74 75 /* ====== Key management routines ====== */