aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/aspeed/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2023-02-14crypto: aspeed - Fix modular aspeed-acryHerbert Xu1-1/+3
When aspeed-acry is enabled as a module it doesn't get built at all. Fix this by adding it to obj-m. Signed-off-by: Herbert Xu <[email protected]> Reviewed-by: Neal Liu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2023-01-13crypto: aspeed - Add ACRY RSA driverNeal Liu1-0/+2
ACRY Engine is designed to accelerate the throughput of ECDSA/RSA signature and verification. This patch aims to add ACRY RSA engine driver for hardware acceleration. Signed-off-by: Neal Liu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-09-30crypto: aspeed - fix build error when only CRYPTO_DEV_ASPEED is enabledNeal Liu1-3/+4
Fix build error within the following configs setting: - CONFIG_CRYPTO_DEV_ASPEED=y - CONFIG_CRYPTO_DEV_ASPEED_HACE_HASH is not set - CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO is not set Error messages: make[4]: *** No rule to make target 'drivers/crypto/aspeed/aspeed_crypto.o' , needed by 'drivers/crypto/aspeed/built-in.a'. make[4]: Target '__build' not remade because of errors. Reported-by: kernel test robot <[email protected]> Signed-off-by: Neal Liu <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-09-06crypto: aspeed - fix build module errorNeal Liu1-7/+4
If CONFIG_MODULES=y and CONFIG_CRYPTO_DEV_ASPEED=m, build modpost would be failed. Error messages: ERROR: modpost: "aspeed_register_hace_hash_algs" [drivers/crypto/aspeed/aspeed_crypto.ko] undefined! ERROR: modpost: "aspeed_unregister_hace_hash_algs" [drivers/crypto/aspeed/aspeed_crypto.ko] undefined! Change build sequence to fix this. Reported-by: kernel test robot <[email protected]> Signed-off-by: Neal Liu <[email protected]> Tested-by: Sudip Mukherjee <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-08-26crypto: aspeed - add HACE crypto driverNeal Liu1-2/+5
Add HACE crypto driver to support symmetric-key encryption and decryption with multiple modes of operation. Signed-off-by: Neal Liu <[email protected]> Signed-off-by: Johnny Huang <[email protected]> Reviewed-by: Dhananjay Phadke <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2022-08-26crypto: aspeed - Add HACE hash driverNeal Liu1-0/+6
Hash and Crypto Engine (HACE) is designed to accelerate the throughput of hash data digest, encryption, and decryption. Basically, HACE can be divided into two independently engines - Hash Engine and Crypto Engine. This patch aims to add HACE hash engine driver for hash accelerator. Signed-off-by: Neal Liu <[email protected]> Signed-off-by: Johnny Huang <[email protected]> Reviewed-by: Dhananjay Phadke <[email protected]> Signed-off-by: Herbert Xu <[email protected]>