crypto: aes - Move key_length in struct crypto_aes_ctx to be the last field
[firefly-linux-kernel-4.4.55.git] / arch / x86 / crypto / aes-i586-asm_32.S
index e41b147f45093009d9dbda30c314d1d4d748d3a5..5252c388017709ff5e45ce76ff72e7283e556270 100644 (file)
@@ -46,9 +46,9 @@
 #define in_blk 16
 
 /* offsets in crypto_tfm structure */
-#define klen (crypto_tfm_ctx_offset + 0)
-#define ekey (crypto_tfm_ctx_offset + 4)
-#define dkey (crypto_tfm_ctx_offset + 244)
+#define klen (crypto_tfm_ctx_offset + 480)
+#define ekey (crypto_tfm_ctx_offset + 0)
+#define dkey (crypto_tfm_ctx_offset + 240)
 
 // register mapping for encrypt and decrypt subroutines