[RFC PATCH] arm64: add support for AES in CCM mode using Crypto Extensions

2014-02-11 Thread Ard Biesheuvel
This adds support for a synchronous implementation of AES in CCM mode using ARMv8 Crypto Extensions, using NEON registers q0 - q5. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- Hi all, I am posting this for review/RFC. The main topic for feedback is the way I have used an inner

[PATCH 1/4] crypto: picoxcell - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
From c0c9c31eba90635cac93f3d5e5311beb10afafb7 Mon Sep 17 00:00:00 2001 From: Jingoo Han jg1@samsung.com Date: Wed, 12 Feb 2014 13:08:54 +0900 Subject: [PATCH 1/4] crypto: picoxcell - Use devm_ioremap_resource() Use devm_ioremap_resource() in order to make the code simpler, and remove

[PATCH 2/4] crypto: sahara - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/crypto/sahara.c | 19 +++ 1 file

[PATCH 3/4] crypto: s5p-sss - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/crypto/s5p-sss.c | 13 - 1 file

[PATCH 4/4] crypto: tegra-aes - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/crypto/tegra-aes.c | 20 +++- 1

[PATCH 1/4] crypto: picoxcell - Use devm_ioremap_resource()

2014-02-11 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/crypto/picoxcell_crypto.c | 16 +---

RE: [PATCH 4/4] crypto: tegra-aes - Use devm_ioremap_resource()

2014-02-11 Thread Varun Wadekar
Looks good. Please add my ACK. Thanks. -Original Message- From: Jingoo Han [mailto:jg1@samsung.com] Sent: Wednesday, February 12, 2014 9:57 AM To: 'Herbert Xu' Cc: 'David Miller'; linux-crypto@vger.kernel.org; 'Jingoo Han'; 'Stephen Warren'; 'Thierry Reding'; Varun Wadekar Subject: