kernel: build crypto md5/sha1/sha256 modules for powerpc
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 30 Aug 2022 07:02:32 +0000 (09:02 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 6 Jan 2023 16:17:07 +0000 (17:17 +0100)
commit3e0faf286667277dc25cc6dff7a812a5df4d0253
tree99371f9b1d5e51e3d8738c4a6f1d59a8a8d74bfa
parent8e548ac9bd322cc414642e0c887cdc72b40448a1
kernel: build crypto md5/sha1/sha256 modules for powerpc

This builds and enables kernel optimized modules for mpc85xx target:
- CONFIG_CRYPTO_MD5_PPC [1]
- CONFIG_CRYPTO_SHA1_PPC_SPE [2]
- CONFIG_CRYPTO_SHA256_PPC_SPE [3]

Where it was possible, then use Signal Processing Engine, because
CONFIG_SPE is already enabled in mpc85xx config.

[1] https://cateee.net/lkddb/web-lkddb/CRYPTO_MD5_PPC.html
[2] https://cateee.net/lkddb/web-lkddb/CRYPTO_SHA1_PPC.html
[3] https://cateee.net/lkddb/web-lkddb/CRYPTO_SHA256_PPC_SPE.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 3a702f8733ff371f30e9e3ba1e1aed5f4686b6b4)
package/kernel/linux/modules/crypto.mk