rijndael: move AES-NI blocks before Padlock
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 1 Dec 2014 19:10:19 +0000 (21:10 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 1 Dec 2014 19:10:19 +0000 (21:10 +0200)
commitdbf9e95dd3891f6e6ad370e8ab78fec03595687b
tree037cac9d936d2f88bf02fc6490d5527a2f9ba465
parent67d529630e838daeb8cb9c6d7ef660c01ef34fee
rijndael: move AES-NI blocks before Padlock

* cipher/rijndael.c (do_setkey, rijndael_encrypt, _gcry_aes_cfb_enc)
(rijndael_decrypt, _gcry_aes_cfb_dec): Move USE_AESNI before
USE_PADLOCK.
(check_decryption_praparation) [USE_PADLOCK]: Move to...
(prepare_decryption) [USE_PADLOCK]: ...here.
--

Make order of AES-NI and Padlock #ifdefs consistent.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/rijndael.c