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>
Sat, 17 Sep 2022 13:58:25 +0000 (15:58 +0200)
commite7ef88ff1dfb10dde2c738cea11430ba06a07045
tree91e58017635f88686830ac4b5084c93634782cd7
parent81388f74b58e98d79274a788b442b7a1aa8a11c7
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