mediatek/mt7622: enable accelerated crypto drivers
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 31 Mar 2022 13:30:11 +0000 (10:30 -0300)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 15 Apr 2022 13:04:32 +0000 (14:04 +0100)
commite5bc5337843b23926557dc07659c8dead6b0f26d
tree4c1daeceb54d8fbf9cc6f9da9f1f46b171ded9db
parent321ec22f5246aeb20f57e88ecc149a272f469bd3
mediatek/mt7622: enable accelerated crypto drivers

Use ARMv8 Crypto Extensions for AES, ghash and sha256.

This results in a 16 times speed gain in speed for aes-128-ctr, 17x in
aes-128-gcm, and 9 times in sha256.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit c9c2b01b8441195807e8b492c7d3e385e6c6afdc)
target/linux/mediatek/mt7622/config-5.10