File tree Expand file tree Collapse file tree 7 files changed +20
-23
lines changed
Expand file tree Collapse file tree 7 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 44# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55#
66
7- # Note: Reusing the name oberon_psa_core as we don't have a normalized
8- # name for "any" PSA core in the current design
9-
10- add_library (oberon_psa_core STATIC
7+ add_library (psa_core STATIC
118 psa_core_lite.c
129 ${NRF_SECURITY_ROOT} /src/psa_crypto_driver_wrappers.c
1310)
1411
15- target_link_libraries (oberon_psa_core
12+ target_link_libraries (psa_core
1613 PRIVATE
1714 psa_crypto_library_config
1815)
1916
20- nrf_security_add_zephyr_options_library(oberon_psa_core )
17+ nrf_security_add_zephyr_options_library(psa_core )
2118
2219target_link_libraries (${mbedcrypto_target}
2320 PRIVATE
24- oberon_psa_core
21+ psa_core
2522)
Original file line number Diff line number Diff line change @@ -16,37 +16,37 @@ append_with_prefix(src_crypto_core_oberon ${OBERON_PSA_CORE_PATH}/library/
1616 psa_crypto_storage.c
1717)
1818
19- add_library (oberon_psa_core STATIC
19+ add_library (psa_core STATIC
2020 ${src_crypto_core_oberon}
2121)
2222
2323# Add the nordic version of psa_crypto_driver_wrappers with the core (out of tree)
24- target_sources (oberon_psa_core
24+ target_sources (psa_core
2525 PRIVATE
2626 ${NRF_SECURITY_ROOT} /src/psa_crypto_driver_wrappers.c
2727)
2828
29- target_link_libraries (oberon_psa_core
29+ target_link_libraries (psa_core
3030 PRIVATE
3131 psa_crypto_library_config
3232 psa_interface
3333)
3434
35- target_compile_definitions (oberon_psa_core
35+ target_compile_definitions (psa_core
3636 PRIVATE
3737 BUILDING_MBEDTLS_CRYPTO
3838)
3939
40- target_link_libraries (oberon_psa_core
40+ target_link_libraries (psa_core
4141 PRIVATE
4242 psa_crypto_library_config
4343 mbedcrypto_base
4444 nrf_security_utils
4545)
4646
47- nrf_security_add_zephyr_options_library(oberon_psa_core )
47+ nrf_security_add_zephyr_options_library(psa_core )
4848
4949target_link_libraries (${mbedcrypto_target}
5050 PRIVATE
51- oberon_psa_core
51+ psa_core
5252)
Original file line number Diff line number Diff line change 5656 add_dependencies (cracen_psa_driver zephyr_generated_headers)
5757endif ()
5858
59- # Link oberon_psa_core with this PSA crypto driver
60- target_link_libraries (oberon_psa_core
59+ # Link psa_core with this PSA crypto driver
60+ target_link_libraries (psa_core
6161 PRIVATE
6262 cracen_psa_driver
6363)
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ target_include_directories(psa_crypto_library_config
1414 ${NRF_CC3XX_MBEDCRYPTO_INCLUDE_PATH}
1515)
1616
17- # Link oberon_psa_core with the imported libraries
18- target_link_libraries (oberon_psa_core
17+ # Link psa_core with the imported libraries
18+ target_link_libraries (psa_core
1919 INTERFACE
2020 nrf_cc3xx_psa_crypto_imported
2121 nrf_cc3xx_core_imported
2222 c
23- )
23+ )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ target_include_directories(psa_crypto_library_config
1111)
1212
1313# Link the Oberon PSA core with nrf_cc3xx_platform
14- target_link_libraries (oberon_psa_core
14+ target_link_libraries (psa_core
1515 PRIVATE
1616 nrf_cc3xx_platform
1717)
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ target_link_libraries(oberon_psa_driver
8282 mbedcrypto_oberon_imported
8383)
8484
85- # Link oberon_psa_core with this driver
86- target_link_libraries (oberon_psa_core
85+ # Link psa_core with this driver
86+ target_link_libraries (psa_core
8787 PRIVATE
8888 oberon_psa_driver
8989)
Original file line number Diff line number Diff line change 66
77# Add the RNG driver to the Oberon PSA core (if needed)
88if (PSA_NEED_NRF_RNG_ENTROPY_DRIVER)
9- target_sources (oberon_psa_core
9+ target_sources (psa_core
1010 PRIVATE
1111 nrf_rng_entropy.c
1212 )
You can’t perform that action at this time.
0 commit comments