Re: [RFC PATCH 2/2] arm64: add support for AES using ARMv8 Crypto Extensions

2013-09-15 Thread Russell King - ARM Linux
On Sat, Sep 14, 2013 at 05:11:53PM +0300, Jussi Kivilinna wrote: On 14.09.2013 16:30, Ard Biesheuvel wrote: On 14 September 2013 10:08, Jussi Kivilinna jussi.kivili...@iki.fi wrote: On 13.09.2013 18:08, Ard Biesheuvel wrote: This adds ARMv8 Crypto Extensions based implemenations of AES in

Re: [RFC PATCH 2/2] arm64: add support for AES using ARMv8 Crypto Extensions

2013-09-14 Thread Jussi Kivilinna
On 13.09.2013 18:08, Ard Biesheuvel wrote: This adds ARMv8 Crypto Extensions based implemenations of AES in CBC, CTR and XTS mode. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- ..snip.. +static int xts_set_key(struct crypto_tfm *tfm, const u8 *in_key, +

[RFC PATCH 2/2] arm64: add support for AES using ARMv8 Crypto Extensions

2013-09-13 Thread Ard Biesheuvel
This adds ARMv8 Crypto Extensions based implemenations of AES in CBC, CTR and XTS mode. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- arch/arm64/Makefile | 8 +- arch/arm64/crypto/Makefile | 12 ++ arch/arm64/crypto/aesce-cbc.S| 58 +++