]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: exynos_defconfig: Enable s5p-secss driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 7 Jan 2016 01:26:36 +0000 (10:26 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 25 Jan 2016 06:05:51 +0000 (15:05 +0900)
The Exynos SoC provides a Security SubSystem block for accelerating some
cryptographic operations. Enable the driver for it - s5p-secss to
utilize the hardware acceleration.

Currently the s5p-secss driver supports AES in CBC and ECB modes.
However on Odroid XU4 (Exynos5422) and Trats2 (Exynos4412) boards this
change introduces one booting error (because of unaligned buffers):

alg: skcipher: encryption failed on chunk test 1 for ecb-aes-s5p: ret=22

The cbc-aes-s5p properly registers itself and passes self-tests.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
arch/arm/configs/exynos_defconfig

index 0aee1e035be91c36ad97accbf4dcbc9736ce9296..c47c7e0698737c5182d955403640d21a86e75eb9 100644 (file)
@@ -240,6 +240,7 @@ CONFIG_DEBUG_RT_MUTEXES=y
 CONFIG_DEBUG_SPINLOCK=y
 CONFIG_DEBUG_MUTEXES=y
 CONFIG_DEBUG_USER=y
+CONFIG_CRYPTO_DEV_S5P=y
 CONFIG_ARM_CRYPTO=y
 CONFIG_CRYPTO_SHA1_ARM_NEON=m
 CONFIG_CRYPTO_SHA256_ARM=m