Skip to content

Commit

Permalink
nrf_security: Remove leftover MBEDTLS_PSA_ACCEL_KEY_TYPE configurations
Browse files Browse the repository at this point in the history
Remove leftover MBEDTLS_PSA_ACCEL_KEY_TYPE configurations.
The Kconfig symbol for these was removed earlier, so these have no
effect anymore.

Signed-off-by: Joakim Andersson <[email protected]>
  • Loading branch information
joerchan authored and nordicjm committed Nov 1, 2023
1 parent 286ef7d commit 38029a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
8 changes: 0 additions & 8 deletions subsys/nrf_security/cmake/psa_crypto_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ kconfig_check_and_set_base_int(PSA_MAX_RSA_KEY_BITS)

kconfig_check_and_set_base_to_one(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)

kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_SUPPORT)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_PUBLIC_KEY)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_PUBLIC_KEY)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_AES)
kconfig_check_and_set_base_to_one(MBEDTLS_PSA_ACCEL_KEY_TYPE_CHACHA20)

# Convert nrf_cc3xx_platform driver configurations
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_CTR_DRBG_DRIVER)
kconfig_check_and_set_base_to_one(PSA_NEED_CC3XX_HMAC_DRBG_DRIVER)
Expand Down
11 changes: 0 additions & 11 deletions subsys/nrf_security/configs/psa_crypto_config.h.template
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,6 @@
#cmakedefine PSA_WANT_KEY_TYPE_RSA_KEY_PAIR @PSA_WANT_KEY_TYPE_RSA_KEY_PAIR@
#cmakedefine PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY @PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY@

/*
* Accelerated key types
*/
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_SUPPORT @MBEDTLS_PSA_ACCEL_KEY_TYPE_SUPPORT@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR @MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_PUBLIC_KEY @MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_PUBLIC_KEY@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR @MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_KEY_PAIR@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_PUBLIC_KEY @MBEDTLS_PSA_ACCEL_KEY_TYPE_RSA_PUBLIC_KEY@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_AES @MBEDTLS_PSA_ACCEL_KEY_TYPE_AES@
#cmakedefine MBEDTLS_PSA_ACCEL_KEY_TYPE_CHACHA20 @MBEDTLS_PSA_ACCEL_KEY_TYPE_CHACHA20@

/*
* nrf_cc3xx_platform driver configurations
*/
Expand Down

0 comments on commit 38029a2

Please sign in to comment.