blob: 8c14dbfd64d269f72bfa1dc4ad8756db18c70bc0 [file] [log] [blame]
# Copyright (c) 2023 ITE Corporation.
# SPDX-License-Identifier: Apache-2.0
config CRYPTO_IT8XXX2_SHA
bool "ITE IT8XXX2 SHA driver"
default y
depends on DT_HAS_ITE_IT8XXX2_SHA_ENABLED
select SOC_IT8XXX2_SHA256_HW_ACCELERATE
help
Enable ITE IT8XXX2 SHA driver.
This driver supports SHA256 hardware accelerator of the it8xxx2 series.
It requires 256 + 256 bytes in the RAM's first 4k-bytes to calculate
SHA256 hash.
config CRYPTO_IT8XXX2_SHA_V2
bool "ITE IT8XXX2 SHA V2 driver"
default y
depends on DT_HAS_ITE_IT8XXX2_SHA_V2_ENABLED
select SOC_IT8XXX2_SHA256_HW_ACCELERATE
help
Enable ITE IT8XXX2 SHA V2 driver.
This driver supports SHA256 hardware accelerator of the it82xx2 series.
It requires 1024 + 256 bytes in the RAM's first 4k-bytes to calculate
SHA256 hash.