difos/target/linux
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
..
apm821xx ath79: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
ar71xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
arc770 arc770: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:27:32 +01:00
archs38 archs38: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:26:35 +01:00
armvirt kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
at91 at91: gen_at91_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:25:44 +01:00
ath25 kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
ath79 ath79: Make upstream ag71xx driver work 2020-02-28 17:50:46 +01:00
bcm27xx kernel: bump 4.19 to 4.19.106 2020-02-24 19:11:36 +01:00
bcm47xx kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
bcm53xx bcm53xx: add v5.4 support 2020-02-28 17:50:46 +01:00
bcm63xx kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
cns3xxx kernel: bump 4.19 to 4.19.86 2019-11-29 09:59:49 +01:00
gemini gemini: dns313_gen_hdd_img.sh: switch to /bin/sh 2019-12-31 01:23:24 +01:00
generic kernel: 4.19,5.4: disable ARM CE & NEON 2020-02-28 22:29:10 +01:00
imx6 imx6: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
ipq40xx ipq40xx: use neon crypto drivers 2020-02-28 22:46:09 +01:00
ipq806x kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
ipq807x ipq807x: fix indent in image/Makefile 2020-02-28 20:00:10 +01:00
kirkwood kirkwood: apply minor DTS style improvements 2020-02-27 13:05:51 +01:00
lantiq kernel: remove non-existant symbols from 4.19 config 2020-02-22 16:38:41 +01:00
layerscape kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
malta malta: enable HighMem on MIPS32 2020-01-15 22:35:48 +01:00
mediatek mediatek: add v5.4 support 2020-02-28 17:50:46 +01:00
mpc85xx mpc85xx: add support for kernel 5.4 2020-02-28 17:50:46 +01:00
mvebu kernel: bump 4.19 to 4.19.105 2020-02-24 14:19:16 +01:00
mxs mxs: gen_sdcard_ext4_ext4.sh: use /bin/sh 2019-12-31 01:19:48 +01:00
octeon octeon: apply vendor_model scheme to device definition/image name 2020-01-26 23:00:26 +01:00
octeontx kernel: bump 4.14 to 4.14.160 2019-12-24 17:45:54 +01:00
omap omap: gen_omap_sdcard_img.sh: use /bin/sh 2019-12-31 01:17:09 +01:00
oxnas kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
pistachio kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
ramips kernel: bump 4.14 to 4.14.171 2020-02-24 14:18:59 +01:00
rb532 rb532: gen_image.sh: use /bin/sh 2019-12-31 01:16:17 +01:00
samsung samsung: add subtarget condition for device 2020-01-03 00:04:22 +01:00
sunxi sunxi: backport increased SATA/AHCI DMA TX/RX FIFOs 2020-02-13 17:45:46 +01:00
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 2019-11-11 16:37:13 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: Update configuration 2020-02-28 17:50:46 +01:00
zynq zynq: derive DEVICE_DTS from device definition name 2020-01-21 14:26:04 +01:00
Makefile