kernel: build arm/neon-optimized sha1/512 modules
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Mon, 24 Feb 2020 17:37:58 +0000 (14:37 -0300)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 28 Feb 2020 21:46:09 +0000 (22:46 +0100)
commite889489bedfd2830411bd0cf6564b8272aa9c254
tree0682b1bc3a22fe3e4ed4ca78c0ff7642613973c1
parent285df63efc7052576b14af2ea38b1234da4cb104
kernel: build arm/neon-optimized sha1/512 modules

This builds the regular arm and arm-neon asm optmized modules for sha1
and sha512, for targets that set CONFIG_ARM_CRYPTO.

On ip40xx, the arm-asm version of sha1 improves performance by 5% over
the generic C implementation; sha1-neon is 25% faster than generic,
and sha512-neon, 259%.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/kernel/linux/modules/crypto.mk