xref: /openbmc/u-boot/drivers/crypto/Kconfig (revision dfa4b54c52b6a894f52c8845a63acb7f86f68396)
10b11dbf7SMasahiro Yamadamenu "Hardware crypto devices"
20b11dbf7SMasahiro Yamada
3*dfa4b54cSJoel Stanleyconfig ASPEED_HACE_V1
4*dfa4b54cSJoel Stanley	bool "ASPEED Hash and Crypto Engine (V1)"
5*dfa4b54cSJoel Stanley	depends on ASPEED_AST2600
6*dfa4b54cSJoel Stanley	depends on !ASPEED_HACE
7*dfa4b54cSJoel Stanley	depends on !ASPEED_ACRY
8*dfa4b54cSJoel Stanley	imply SHA_HW_ACCEL
9*dfa4b54cSJoel Stanley	imply SHA_PROG_HW_ACCEL
10*dfa4b54cSJoel Stanley	imply CMD_HASH
11*dfa4b54cSJoel Stanley	help
12*dfa4b54cSJoel Stanley	 Select this option to enable a driver for using the SHA engine in
13*dfa4b54cSJoel Stanley	 the ASPEED BMC SoCs.
14*dfa4b54cSJoel Stanley
15*dfa4b54cSJoel Stanley	 This driver is not compatible with simultaneous operation of the ACRY
16*dfa4b54cSJoel Stanley	 hardware. It should only be used when the ASPEED_HACE driver, which
17*dfa4b54cSJoel Stanley	 uses accumulative mode, cannot be used.
18*dfa4b54cSJoel Stanley
19*dfa4b54cSJoel Stanley	 Enabling this allows the use of SHA operations in hardware without
20*dfa4b54cSJoel Stanley	 requiring the SHA software implementations, saving code size.
21*dfa4b54cSJoel Stanley
22e31caa5aSChia-Wei Wangconfig ASPEED_HACE
23e31caa5aSChia-Wei Wang	bool "ASPEED Hash and Crypto Engine"
24e31caa5aSChia-Wei Wang	depends on ASPEED_AST2600
25e31caa5aSChia-Wei Wang	imply SHA_HW_ACCEL
26e31caa5aSChia-Wei Wang	imply SHA_PROG_HW_ACCEL
27e31caa5aSChia-Wei Wang	imply CMD_HASH
28e31caa5aSChia-Wei Wang	help
29e31caa5aSChia-Wei Wang	 Select this option to enable a driver for using the SHA engine in
30e31caa5aSChia-Wei Wang	 the ASPEED BMC SoCs.
31e31caa5aSChia-Wei Wang
32e31caa5aSChia-Wei Wang	 Enabling this allows the use of SHA operations in hardware without requiring the
33e31caa5aSChia-Wei Wang	 SHA software implementations, saving code size.
34e31caa5aSChia-Wei Wang
354f7bd3b2SChia-Wei Wangconfig ASPEED_ACRY
365620c876SChia-Wei Wang	bool "ASPEED ECC/RSA Engine"
375620c876SChia-Wei Wang	depends on ASPEED_AST2600
385620c876SChia-Wei Wang	help
395620c876SChia-Wei Wang	 Select this option to enable a driver for using the ECC/RSA engine in
405620c876SChia-Wei Wang	 the ASPEED BMC SoCs.
415620c876SChia-Wei Wang
425620c876SChia-Wei Wang	 Enabling this allows the use of ECC/RSA operations in hardware without requiring the
435620c876SChia-Wei Wang	 software implementations, saving code size.
445620c876SChia-Wei Wang
4534276478SRuchika Guptasource drivers/crypto/fsl/Kconfig
460b11dbf7SMasahiro Yamada
470b11dbf7SMasahiro Yamadaendmenu
48