diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-26 11:43:11 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-02-03 16:00:42 -0600 |
commit | 117e7cb9f8a27be205be6f8107092e0b866a844a (patch) | |
tree | e4a6b3e740cdfc0f1c37b5501ba8173f42f7c85a /lib/mbedtls | |
parent | 752321b62530dcbd6e8b5872aff4cf761809d76b (diff) |
mbedtls: Add SHA symbols for VPL
Add some symbols for supporting SHA1 etc. for VPL.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/mbedtls')
-rw-r--r-- | lib/mbedtls/Kconfig | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/mbedtls/Kconfig b/lib/mbedtls/Kconfig index aa82336ef14..35d8c507a89 100644 --- a/lib/mbedtls/Kconfig +++ b/lib/mbedtls/Kconfig @@ -112,6 +112,46 @@ config SPL_MD5_LEGACY endif # SPL +if VPL + +config VPL_SHA1_LEGACY + bool "Enable SHA1 support in VPL with legacy crypto library" + depends on LEGACY_CRYPTO_BASIC && VPL_SHA1 + help + This option enables support of hashing using SHA1 algorithm + with legacy crypto library. + +config VPL_SHA256_LEGACY + bool "Enable SHA256 support in VPL with legacy crypto library" + depends on LEGACY_CRYPTO_BASIC && VPL_SHA256 + help + This option enables support of hashing using SHA256 algorithm + with legacy crypto library. + +config VPL_SHA512_LEGACY + bool "Enable SHA512 support in VPL with legacy crypto library" + depends on LEGACY_CRYPTO_BASIC && VPL_SHA512 + help + This option enables support of hashing using SHA512 algorithm + with legacy crypto library. + +config VPL_SHA384_LEGACY + bool "Enable SHA384 support in VPL with legacy crypto library" + depends on LEGACY_CRYPTO_BASIC && VPL_SHA384 + select VPL_SHA512_LEGACY + help + This option enables support of hashing using SHA384 algorithm + with legacy crypto library. + +config VPL_MD5_LEGACY + bool "Enable MD5 support in VPL with legacy crypto library" + depends on LEGACY_CRYPTO_BASIC && VPL_MD5 + help + This option enables support of hashing using MD5 algorithm + with legacy crypto library. + +endif # VPL + endif # LEGACY_CRYPTO_BASIC config LEGACY_CRYPTO_CERT |