openwrt/target/linux/ipq40xx
Eneas U de Queiroz ee4a0afdcd ipq40xx: use neon crypto drivers
This adds the neon based implementations of AES & SHA256.

For AES, according to the kernel config help:

Use a faster and more secure NEON based implementation of AES in CBC,
CTR and XTS modes.
Bit sliced AES gives around 45% speedup on Cortex-A15 for CTR mode
and for XTS mode encryption, CBC and XTS mode decryption speedup is
around 25%. (CBC encryption speed is not affected by this driver.)
This implementation does not rely on any lookup tables so it is
believed to be invulnerable to cache timing attacks.
...
The observed speedups on ipq40xx are more modest: speedup is around 20%
for CTR mode and for XTS mode encryption, CBC and XTS mode decryption
speedup is around 10%. Measurements were made using tcrypt, with
1024-bytes blocks for CTR & CBC, and 4096-bytes for XTS.
The aes-neon-bs driver uses a fallback for CBC encryption; that fallback
could be either the generic driver written in C, or the scalar arm-asm
one.  Even though aes-arm is 1.9% slower, it is more resilient to timing
attacks (the reason for being slower), so it is being included here.

The neon sha256 module increases performance over the generic module by
33%.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
[Enable only ciphers for now, reorder patch in series to help bisect
as new symbols could lead to build failures, 5.4]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-02-28 22:46:09 +01:00
..
base-files ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
files-4.14/arch/arm/boot/dts ipq40xx: fix usbport trigger on the RT-AC58U with USB 2.0 devices 2020-01-12 15:47:50 +01:00
files-4.19/arch/arm/boot/dts ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
files-5.4 ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
generic ipqx0xx: add Generic subtarget 2019-08-22 21:15:28 +02:00
image ipq40xx: add support for EnGenius EAP2200 2020-02-28 22:29:10 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
patches-4.19 ipq40xx: qce - switch to skcipher API 2020-02-28 22:46:01 +01:00
patches-5.4 ipq40xx: qce - switch to skcipher API 2020-02-28 22:46:01 +01:00
profiles ipq40xx: add target 2018-03-14 19:04:50 +01:00
config-4.14 ipq40xx: add support for ASUS Lyra 2019-02-14 16:56:15 +01:00
config-4.19 ipq40xx: use neon crypto drivers 2020-02-28 22:46:09 +01:00
config-5.4 ipq40xx: use neon crypto drivers 2020-02-28 22:46:09 +01:00
Makefile ipq40xx: add v5.4 support 2020-02-28 17:50:46 +01:00