Skip to content

Commit ab72f33

Browse files
frkvcvinayak
authored andcommitted
crypto: Ensure correct CryptoCell libs for bootloaders
- Ensure that nrf_cc310_bl is only enabled in NSIB and MCUboot - Disable nrf_cc3xx_platform for NSIB ref: NCSDK-25144 Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 78cc07e commit ab72f33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crypto/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ config NRF_CC310_BL
2929
bool "nrf_cc310_bl HW crypto library for nRF devices with CryptoCell CC310."
3030
select NRFXLIB_CRYPTO
3131
select FPU # The cc310_bl lib uses floating point registers.
32-
depends on !NORDIC_SECURITY_BACKEND
32+
depends on IS_SECURE_BOOTLOADER || MCUBOOT
3333
help
3434
This configuration is only available for direct use of nrf_cc3xx_bl
3535
To use, link with nrfxlib_crypto in CMake.
@@ -43,6 +43,7 @@ endif
4343
menuconfig NRF_CC3XX_PLATFORM
4444
bool "nrf_cc3xx_platform HW crypto library for nRF devices with CryptoCell CC3xx."
4545
depends on CRYPTOCELL_USABLE && !BUILD_WITH_TFM
46+
depends on !IS_SECURE_BOOTLOADER
4647
select NRFXLIB_CRYPTO if !BUILD_WITH_TFM
4748
help
4849
This configuration is only available for direct use of nrf_cc3xx_platform

0 commit comments

Comments
 (0)