1# Copyright (c) 2023 ITE Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4config CRYPTO_IT8XXX2_SHA
5	bool "ITE IT8XXX2 SHA driver"
6	default y
7	depends on DT_HAS_ITE_IT8XXX2_SHA_ENABLED
8	select SOC_IT8XXX2_SHA256_HW_ACCELERATE
9	help
10	  Enable ITE IT8XXX2 SHA driver.
11	  This driver supports SHA256 hardware accelerator of the it8xxx2 series.
12	  It requires 256 + 256 bytes in the RAM's first 4k-bytes to calculate
13	  SHA256 hash.
14
15config CRYPTO_IT8XXX2_SHA_V2
16	bool "ITE IT8XXX2 SHA V2 driver"
17	default y
18	depends on DT_HAS_ITE_IT8XXX2_SHA_V2_ENABLED
19	select SOC_IT8XXX2_SHA256_HW_ACCELERATE
20	help
21	  Enable ITE IT8XXX2 SHA V2 driver.
22	  This driver supports SHA256 hardware accelerator of the it82xx2 series.
23	  It requires 1024 + 256 bytes in the RAM's first 4k-bytes to calculate
24	  SHA256 hash.
25