xref: /openbmc/u-boot/drivers/crypto/Kconfig (revision 87bbc697)
10b11dbf7SMasahiro Yamadamenu "Hardware crypto devices"
20b11dbf7SMasahiro Yamada
3*87bbc697SJoel Stanleyconfig ASPEED_HACE_V1
4*87bbc697SJoel Stanley	bool "ASPEED Hash and Crypto Engine (V1)"
5*87bbc697SJoel Stanley	depends on ASPEED_AST2600
6*87bbc697SJoel Stanley	depends on !ASPEED_HACE
7*87bbc697SJoel Stanley	depends on !ASPEED_ACRY
8*87bbc697SJoel Stanley	imply SHA_HW_ACCEL
9*87bbc697SJoel Stanley	imply SHA_PROG_HW_ACCEL
10*87bbc697SJoel Stanley	imply CMD_HASH
11*87bbc697SJoel Stanley	help
12*87bbc697SJoel Stanley	 Select this option to enable a driver for using the SHA engine in
13*87bbc697SJoel Stanley	 the ASPEED BMC SoCs.
14*87bbc697SJoel Stanley
15*87bbc697SJoel Stanley	 This driver is not compatible with simultaneous operation of the ACRY
16*87bbc697SJoel Stanley	 hardware. It should only be used when the ASPEED_HACE driver, which
17*87bbc697SJoel Stanley	 uses accumulative mode, cannot be used.
18*87bbc697SJoel Stanley
19*87bbc697SJoel Stanley	 Enabling this allows the use of SHA operations in hardware without
20*87bbc697SJoel Stanley	 requiring the SHA software implementations, saving code size.
21*87bbc697SJoel 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