Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
0f3e0c4
Revert "platform: lairdconnectivity: Add platform GPIO and read service"
theotherjimmy Apr 4, 2022
64f4032
Revert "Platform: Nordic Semiconductor nRF9160"
theotherjimmy Apr 4, 2022
36379ef
Revert "platform: nordic_nrf: Update nordic HAL handling and version"
theotherjimmy Apr 4, 2022
01555e7
Revert "platform: lairdconnectivity: BL5340: Add support for platform…
theotherjimmy Apr 4, 2022
400eac2
Revert "platform: Remove identical files in nordic_nrf and lairdconne…
theotherjimmy Apr 4, 2022
3a49005
Revert "platform: nordic_nrf: Add ifdef for peripheral mmio region st…
theotherjimmy Apr 4, 2022
62ab752
Revert "platform: nordic_nrf: fix missing ipc and name of usbreg peri…
theotherjimmy Apr 4, 2022
9434524
Revert "platform: nordic_nrf: Fix build when SECURE_UART1 has been di…
theotherjimmy Apr 4, 2022
7f61c50
Revert "platform: Add build configuration flag for SPM log enabled"
theotherjimmy Apr 4, 2022
083643e
Revert "platform: nordic_nrf: Make tfm_hal_platform_init overridable"
theotherjimmy Apr 4, 2022
8a5d4c6
Revert "platform: nordic_nrf: Add support for platform interrupts"
theotherjimmy Apr 4, 2022
6482dda
Revert "platform: nordic_nrf: Add platform GPIO and read service"
theotherjimmy Apr 4, 2022
8cffe12
Merge tag 'TF-Mv1.6.0' into HEAD
theotherjimmy May 2, 2022
7d534e8
Replace version computation with static version
theotherjimmy Apr 19, 2022
05f9f87
Revert "SPM: Fix CCR.TRD setting for Armv8.1-M"
theotherjimmy May 5, 2022
7c53a6e
Merge pull request #70 from theotherjimmy/update-tfm-pre-1.6.0
carlescufi May 11, 2022
d3a073f
platform: nordic_nrf: Add IOCTL non-secure API source file to install
joerchan Jun 27, 2022
f13209f
platform: lairdconnectivity: Add IOCTL non-secure API source file to …
joerchan Jun 27, 2022
d9522eb
platform: musca_s1: only declare tfm_ns if NS is enabled
fabiobaltieri Aug 11, 2022
4c98481
platform: nordic_nrf: Make psa_call/svc unpriv
Vge0rge Jun 29, 2022
231235f
build: gcc: Force DWARF v4
nordicjm Sep 30, 2022
d7c82cb
SPM: Return PSA_ERROR_PROGRAMMER_ERROR for invalid parameters in NS c…
adeaarm Sep 15, 2022
36de288
platform: nordic_nrf: Use nrfx to define IRQ instead of nRF MDK IRQn
joerchan Oct 27, 2022
cf34a76
platform: nordic_nrf: Fix interrupt support for serial box 0 on nrf53
joerchan Oct 27, 2022
887798f
build: gcc: Masking mbedtls warning
Nov 2, 2022
47d5d2d
Revert "build: gcc: Masking mbedtls warning"
joerchan Jan 4, 2023
13abde2
secure_fw: crypto: add -Wno-unused-const-variable
Nov 3, 2022
0eef6c1
Revert "secure_fw: crypto: add -Wno-unused-const-variable"
joerchan Jan 17, 2023
3136958
Revert "platform: nordic_nrf: Fix interrupt support for serial box 0 …
joerchan Jan 17, 2023
988d726
Revert "platform: nordic_nrf: Use nrfx to define IRQ instead of nRF M…
joerchan Jan 17, 2023
96ddcc7
Revert "SPM: Return PSA_ERROR_PROGRAMMER_ERROR for invalid parameters…
joerchan Jan 17, 2023
188ce9f
Revert "build: gcc: Force DWARF v4"
joerchan Jan 17, 2023
701d1f0
Revert "platform: nordic_nrf: Make psa_call/svc unpriv"
joerchan Jan 17, 2023
40d41a5
Revert "platform: musca_s1: only declare tfm_ns if NS is enabled"
joerchan Jan 17, 2023
084d3dc
Revert "platform: lairdconnectivity: Add IOCTL non-secure API source …
joerchan Jan 17, 2023
48becaa
Revert "platform: nordic_nrf: Add IOCTL non-secure API source file to…
joerchan Jan 17, 2023
6a625a6
Revert "Revert "SPM: Fix CCR.TRD setting for Armv8.1-M""
joerchan Jan 17, 2023
48ae13c
Revert "Replace version computation with static version"
joerchan Jan 17, 2023
5f60697
Revert "platform: lpcxpresso55s69: Update SDK to 2.10.0"
joerchan Jan 17, 2023
d4e1f7f
Merge tag 'TF-Mv1.7.0'
joerchan Jan 17, 2023
ae57faa
build: gcc: Force DWARF v4
nordicjm Sep 30, 2022
6e12af1
trusted-firmware-m: platform: lpcxpresso55s69: Update SDK
SebastianBoe Dec 8, 2021
7c121a7
cmake: Only apply patches when remote libraries are downloaded
joerchan Jan 18, 2023
de485bf
platform: nordic_nrf: Align nordic_nrf_s.ld with tfm_common_s.ld
joerchan Jan 19, 2023
7197a1d
platform: lairdconnectivity: Fix compilation issue in BL5340 target
joerchan Jan 23, 2023
5503c15
Merge pull request #83 from joerchan/tfm-1.7.0-update
microbuilder Jan 26, 2023
6b8f860
platform: stm: b_u585i_iot02a: Increase flash non secure access.
jamike Feb 3, 2023
7426337
Merge pull request #84 from zephyrproject-rtos/fix_u5_ns_limit
microbuilder Feb 7, 2023
d54f6b1
lib: ext: Disable t_cose and qcbor if not required
microbuilder Feb 9, 2023
f2a639c
Merge pull request #85 from microbuilder/tfm17_qcbor_fixes
microbuilder Feb 10, 2023
a8313be
Boot: Align MCUboot to the latest version
joerchan Feb 28, 2023
a9c246f
Revert "cmake: Only apply patches when remote libraries are downloaded"
joerchan Mar 22, 2023
0211875
Revert "platform: nordic_nrf: Align nordic_nrf_s.ld with tfm_common_s…
joerchan Mar 22, 2023
2eec71f
Revert "platform: lairdconnectivity: Fix compilation issue in BL5340 …
joerchan Mar 22, 2023
04d787d
Fix GCC veneers alignment bug
hunkob Jan 5, 2023
4dbab87
cmake: By default only apply patches when downloading remote libraries
joerchan Jan 18, 2023
3e7e955
platform: lairdconnectivity: Fix compilation issue in BL5340 target
joerchan Jan 23, 2023
63bcc07
platform: corstone1000: Add definition for S_CODE_VECTOR_TABLE_SIZE
joerchan Feb 6, 2023
f2f9f83
platform: common: Move TFM vector out of ifdef for trustzone
joerchan Feb 2, 2023
aacb11f
platform: common: Update common linker script to support Nordic platform
joerchan Jan 20, 2023
77c57c8
platform: nordic_nrf: Use the common linker files
joerchan Jan 20, 2023
172e359
platform: lairdconnectivity: Add missing definition of NS storage
joerchan Jan 20, 2023
eaf2ee5
platform: lairdconnectivity: Use the common linker files
joerchan Jan 20, 2023
209d79d
platform: nordic_nrf: Remove nordic linker script files
joerchan Jan 20, 2023
66e1d56
cmake: remote_library: Fix non-functional force-patch argument
joerchan Feb 16, 2023
60fbdb4
platform: lairdconnectivity: Fix build error with linker define
joerchan Mar 22, 2023
499bc8e
Platform: Fix for flash_otp_nv_counters_write out-of-bound stack access
adeaarm Feb 2, 2023
668de92
Platform: Fix flash OTP edge-cases
RcColes Mar 14, 2023
2d4edab
Platform: Fix another default OTP edge-case
RcColes Mar 15, 2023
0e25742
Crypto: Update to Mbed TLS 3.3.0
Summer-ARM Jan 19, 2023
696d759
platform: nordic_nrf: Replace deprecated API with new one
Aug 26, 2022
14d3b35
platform: nordic_nrf: Replace deprecated enum for timer prescaler
Sep 12, 2022
fc785ae
platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0
Apr 27, 2023
15f53dc
platform: nordic: Set CONFIG_TFM_FP_ARCH for nordic platform
joerchan Feb 3, 2023
570e09c
platform: nordic_nrf: Use MPU DREGION instead of number of region define
joerchan Apr 16, 2023
9c08a59
platform: nordic_nrf: Fix trivial difference and cleanup
joerchan Apr 16, 2023
3f68f8b
platform: nordic_nrf: Move platform specific files from common
joerchan Apr 16, 2023
abc67b2
platform: nordic_nrf: Set the MDK SoC definition in preload.cmake
joerchan Apr 17, 2023
67f0a34
platform: nordic_nrf: Convert nrf9160 SoC to nrf91 series
joerchan Apr 17, 2023
99825b3
platform: nordic_nrf: Add nrf9161 DK and nrf9120 SoC support
joerchan Apr 17, 2023
8209cb2
Merge pull request #90 from awojasinski-nordicsemi/align-nrfx3.0
carlescufi May 4, 2023
a6e5194
Crypto: adjust file to TF-M code style
gilles-peskine-arm Mar 2, 2023
9b5972a
Crypto: Clean up psa_key_attributes_t structure definition
gilles-peskine-arm Mar 1, 2023
8fa6cc5
Crypto: Reduce diverging PSA Crypto headers between TF-M and Mbed TLS
adeaarm Feb 16, 2023
0471225
Crypto: Don't prefix psa/ to header inclusions from main
adeaarm Mar 17, 2023
79a6115
Build: Install crypto_platform.h for Crypto service
xinyu-tfm Apr 10, 2023
a48b402
Revert "Build: Install crypto_platform.h for Crypto service"
d3zd3z Jul 6, 2023
6ea3d40
Revert "Crypto: Don't prefix psa/ to header inclusions from main"
d3zd3z Jul 6, 2023
8857c21
Revert "Crypto: Reduce diverging PSA Crypto headers between TF-M and …
d3zd3z Jul 6, 2023
f591a5c
Revert "Crypto: Clean up psa_key_attributes_t structure definition"
d3zd3z Jul 6, 2023
72ebea8
Revert "Crypto: adjust file to TF-M code style"
d3zd3z Jul 6, 2023
4f07343
Revert "platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0"
d3zd3z Jul 6, 2023
716d473
Revert "platform: nordic_nrf: Replace deprecated enum for timer presc…
d3zd3z Jul 6, 2023
cfc1690
Revert "platform: nordic_nrf: Replace deprecated API with new one"
d3zd3z Jul 6, 2023
b30cb41
Revert "platform: nordic_nrf: Add nrf9161 DK and nrf9120 SoC support"
d3zd3z Jul 6, 2023
8c7f117
Revert "platform: nordic_nrf: Convert nrf9160 SoC to nrf91 series"
d3zd3z Jul 6, 2023
e9111fd
Revert "platform: nordic_nrf: Set the MDK SoC definition in preload.c…
d3zd3z Jul 6, 2023
890fb77
Revert "platform: nordic_nrf: Move platform specific files from common"
d3zd3z Jul 6, 2023
7ecb907
Revert "platform: nordic_nrf: Fix trivial difference and cleanup"
d3zd3z Jul 6, 2023
9546647
Revert "platform: nordic_nrf: Use MPU DREGION instead of number of re…
d3zd3z Jul 6, 2023
f38e3d3
Revert "platform: nordic: Set CONFIG_TFM_FP_ARCH for nordic platform"
d3zd3z Jul 6, 2023
d51acaf
Revert "Crypto: Update to Mbed TLS 3.3.0"
d3zd3z Jul 6, 2023
6de393e
Revert "Platform: Fix another default OTP edge-case"
d3zd3z Jul 6, 2023
eb6c973
Revert "Platform: Fix flash OTP edge-cases"
d3zd3z Jul 6, 2023
dca9b40
Revert "Platform: Fix for flash_otp_nv_counters_write out-of-bound st…
d3zd3z Jul 6, 2023
273b5b5
Revert "platform: lairdconnectivity: Fix build error with linker define"
d3zd3z Jul 6, 2023
32e0437
Revert "cmake: remote_library: Fix non-functional force-patch argument"
d3zd3z Jul 6, 2023
4fb009a
Revert "platform: nordic_nrf: Remove nordic linker script files"
d3zd3z Jul 6, 2023
47ae5bc
Revert "platform: lairdconnectivity: Use the common linker files"
d3zd3z Jul 6, 2023
4951b30
Revert "platform: lairdconnectivity: Add missing definition of NS sto…
d3zd3z Jul 6, 2023
3d775e9
Revert "platform: nordic_nrf: Use the common linker files"
d3zd3z Jul 6, 2023
11f035d
Revert "platform: common: Update common linker script to support Nord…
d3zd3z Jul 6, 2023
76e3ae3
Revert "platform: common: Move TFM vector out of ifdef for trustzone"
d3zd3z Jul 6, 2023
5c184a2
Revert "platform: corstone1000: Add definition for S_CODE_VECTOR_TABL…
d3zd3z Jul 6, 2023
9e4a0c6
Revert "platform: lairdconnectivity: Fix compilation issue in BL5340 …
d3zd3z Jul 6, 2023
0c1cd50
Revert "cmake: By default only apply patches when downloading remote …
d3zd3z Jul 6, 2023
d93a6d2
Revert "Fix GCC veneers alignment bug"
d3zd3z Jul 6, 2023
c0bd0a4
Revert "Boot: Align MCUboot to the latest version"
d3zd3z Jul 6, 2023
946f8ae
Revert "lib: ext: Disable t_cose and qcbor if not required"
d3zd3z Jul 6, 2023
1b05bec
Revert "platform: stm: b_u585i_iot02a: Increase flash non secure acce…
d3zd3z Jul 6, 2023
7b5baf5
Revert "build: gcc: Force DWARF v4"
d3zd3z Jul 6, 2023
6c5e005
Revert "zephyr: module: Add zephyr module file"
d3zd3z Jul 6, 2023
9ce222a
Revert adding NXP platform files
d3zd3z Jul 6, 2023
c603f24
Merge tag 'TF-Mv1.8.0' into fix-1.7.0
d3zd3z Jul 6, 2023
ecf06a8
build: gcc: Force DWARF v4
nordicjm Sep 30, 2022
05bc9f0
lib: ext: Disable t_cose and qcbor if not required
microbuilder Feb 9, 2023
2bc3041
zephyr: module: Add zephyr module file
joerchan Oct 20, 2021
39343c0
Build: Add stub functions of system calls
chesun01 Apr 12, 2023
2c54bb0
platform: nordic_nrf: Use MPU DREGION instead of number of region define
joerchan Apr 16, 2023
351b669
platform: nordic_nrf: Fix trivial difference and cleanup
joerchan Apr 16, 2023
0861b0b
platform: nordic_nrf: Move platform specific files from common
joerchan Apr 16, 2023
dc97454
platform: nordic_nrf: Set the MDK SoC definition in preload.cmake
joerchan Apr 17, 2023
d61d9b7
platform: nordic_nrf: Convert nrf9160 SoC to nrf91 series
joerchan Apr 17, 2023
853da9e
platform: nordic_nrf: Update Nordic HAL to nrfx 2.11.0
joerchan Apr 27, 2023
9b92d07
platform: nordic_nrf: Add nrf9161 DK and nrf9120 SoC support
joerchan Apr 17, 2023
523603a
platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0
Apr 27, 2023
bad0696
Merge pull request #94 from d3zd3z/zephyr-1.8.0
d3zd3z Jul 21, 2023
fe39f85
trusted-firmware-m: platform: lpcxpresso55s69: Update SDK
microbuilder Aug 30, 2021
ddbd602
platform: lpcxpresso55s69: Update SDK to 2.10.0
SebastianBoe Dec 8, 2021
8b61462
Merge pull request #95 from d3zd3z/zephyr-1.8.0
d3zd3z Aug 7, 2023
b168d92
MCUboot: Update revision and update shared boot data API
nordicjm Aug 17, 2023
3b37972
Revert "platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0"
joerchan Oct 23, 2023
e9ae42e
platform: Add platform default UART control definition
joerchan Apr 3, 2023
b399710
platform: nordic_nrf: Add hardware flow control support
joerchan Apr 3, 2023
001406a
platform: nordic_nrf: Add missing DEFAULT_UART_CONTROL for nrf9161 DK
joerchan Oct 4, 2023
19da2d2
platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0
Apr 27, 2023
96c432d
platform: nordic_nrf: Remove unused nrf_board.h header
joerchan Oct 4, 2023
754bd6a
platform: nordic_nrf: Set UART pins using pinctrl method
joerchan Sep 27, 2023
696b095
Merge pull request #100 from joerchan/nordic-nrf-generic-board-support
carlescufi Oct 23, 2023
33c0f47
platform: ext: target: nordic_nrf: add builtin atomic macros to glue
nika-nordic Oct 6, 2023
5772703
Revert "platform: ext: target: nordic_nrf: add builtin atomic macros …
mswarowsky Dec 6, 2023
52cfb46
Revert "platform: nordic_nrf: Set UART pins using pinctrl method"
mswarowsky Dec 6, 2023
1d61562
Revert "platform: nordic_nrf: Remove unused nrf_board.h header"
mswarowsky Dec 6, 2023
ac4a1ff
Revert "platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0"
mswarowsky Dec 6, 2023
6743f4b
Revert "platform: nordic_nrf: Add missing DEFAULT_UART_CONTROL for nr…
mswarowsky Dec 6, 2023
09eefac
Revert "platform: nordic_nrf: Add hardware flow control support"
mswarowsky Dec 6, 2023
b001221
Revert "platform: Add platform default UART control definition"
mswarowsky Dec 6, 2023
57cdb86
Revert "Revert "platform: nordic_nrf: Update Nordic HAL to include nr…
mswarowsky Dec 6, 2023
131897f
Revert "MCUboot: Update revision and update shared boot data API"
mswarowsky Dec 6, 2023
6240acf
Revert "platform: lpcxpresso55s69: Update SDK to 2.10.0"
mswarowsky Dec 6, 2023
8e29016
Revert "trusted-firmware-m: platform: lpcxpresso55s69: Update SDK"
mswarowsky Dec 6, 2023
23bb80f
Revert "platform: nordic_nrf: Update Nordic HAL to include nrfx 3.0.0"
mswarowsky Dec 6, 2023
9fddd2e
Revert "platform: nordic_nrf: Add nrf9161 DK and nrf9120 SoC support"
mswarowsky Dec 6, 2023
80a462d
Revert "platform: nordic_nrf: Update Nordic HAL to nrfx 2.11.0"
mswarowsky Dec 6, 2023
a37d911
Revert "platform: nordic_nrf: Convert nrf9160 SoC to nrf91 series"
mswarowsky Dec 6, 2023
e4fc6ff
Revert "platform: nordic_nrf: Set the MDK SoC definition in preload.c…
mswarowsky Dec 6, 2023
8fb4086
Revert "platform: nordic_nrf: Move platform specific files from common"
mswarowsky Dec 6, 2023
4854ebc
Revert "platform: nordic_nrf: Fix trivial difference and cleanup"
mswarowsky Dec 6, 2023
ad08079
Revert "platform: nordic_nrf: Use MPU DREGION instead of number of re…
mswarowsky Dec 6, 2023
eb70947
Revert "Build: Add stub functions of system calls"
mswarowsky Dec 6, 2023
ce530c1
Revert "zephyr: module: Add zephyr module file"
mswarowsky Dec 6, 2023
bd48221
Revert "lib: ext: Disable t_cose and qcbor if not required"
mswarowsky Dec 6, 2023
22d5c91
Revert "build: gcc: Force DWARF v4"
mswarowsky Dec 6, 2023
9fd21a0
Merge tag TF-Mv2.0.0
mswarowsky Dec 6, 2023
4ab34cf
build: gcc: Force DWARF v4
nordicjm Sep 30, 2022
a7edb69
lib: ext: Disable t_cose and qcbor if not required
microbuilder Feb 9, 2023
52adfa1
zephyr: module: Add zephyr module file
joerchan Oct 20, 2021
e99f0c8
interface: Add workaround for mbedtls using PSA
joerchan Dec 13, 2023
225dab4
platform: Fix __STRINGIFY redefined warning
joerchan Dec 13, 2023
d94b1d8
trusted-firmware-m: platform: lpcxpresso55s69: Update SDK 2.13.1
mswarowsky Jan 9, 2024
58d0b53
Merge pull request #101 from mswarowsky/tfm_20_upmerge
carlescufi Jan 17, 2024
a3a03e5
[nrf noup] crypto: Have CRYPTO_HW_ACCELERATOR support nrf_security
SebastianBoe Mar 1, 2024
83c37f8
[nrf noup] crypto: replace usage of mbedtls_hkdf
SebastianBoe Mar 1, 2024
20380fb
[nrf noup] platform: nrf_nordic: Add temp fix for for secure FPU on 9161
SebastianBoe Mar 1, 2024
9244daf
[nrf fromlist] secure_fw: Add option to log output on a shared UART i…
SebastianBoe Mar 1, 2024
8e0ebb2
[nrf toup] platform: nordic_nrf: Add support shared UART and using UA…
SebastianBoe Mar 1, 2024
aa3bbe6
[nrf fromtree] config: Disable cipher crypto module in small and medi…
SebastianBoe Mar 1, 2024
24efcc1
[nrf fromtree] partitions: crypto: Add missing PSA defined algorithms…
SebastianBoe Mar 1, 2024
2c79e2a
[nrf fromtree] platform: exception_info: Add getter for exception inf…
SebastianBoe Mar 1, 2024
76363c0
[nrf fromtree] platform: Change exception handler to use system regis…
SebastianBoe Mar 1, 2024
c183887
[nrf fromtree] platform: Store callee saved register in exception inf…
SebastianBoe Mar 1, 2024
744ee55
[nrf fromtree] platform: nordic_nrf: Store SPU fault information
SebastianBoe Mar 1, 2024
868fa29
[nrf fromtree] platform: nordic_nrf: unify target configuration header
SebastianBoe Mar 1, 2024
9f6cd6e
[nrf fromtree] platform: nordic_nrf: Refactor peripheral SPU configur…
SebastianBoe Mar 1, 2024
7aed5d8
[nrf fromlist] Build: crypto: Do not compile p256 if not enabled
SebastianBoe Mar 1, 2024
9d18510
[nrf fromlist] platform: nordic_nrf: Move startup CMake code into common
SebastianBoe Mar 1, 2024
4e93810
[nrf noup] Do not pass PSA_CONFIG again to crypto library
SebastianBoe Mar 1, 2024
ed1bc89
[nrf fromlist] platform: nordic_nrf: Document FlashInfo fields
SebastianBoe Mar 1, 2024
660bd6d
[nrf fromlist] platform: nordic_nrf: Remove unused driver functions
SebastianBoe Mar 1, 2024
bfde4d7
[nrf fromlist] platform: nordic_nrf: Remove Flash_Uninitialize function
SebastianBoe Mar 1, 2024
f1aa714
[nrf toup] secure_fw: spm: Add stdio_uinit
SebastianBoe Mar 1, 2024
db18f3f
[nrf toup] platform: nordic_nrf: Fix USART driver
SebastianBoe Mar 1, 2024
293f6cf
[nrf noup] Remove check for P256M
SebastianBoe Mar 1, 2024
4eff835
[nrf noup] platform: nordic_nrf: Add support for 54l
SebastianBoe Mar 1, 2024
2a2e1ce
[nrf noup] cmake: tools: Dont add a custom command for running the ma…
SebastianBoe Mar 7, 2024
d824e94
[nrf noup] crypto: Add PAKE support
mswarowsky Feb 29, 2024
a22fef3
[nrf noup] Add missing SPU funcs in target_cfg.c
Vge0rge Mar 8, 2024
5454e8e
Revert "[nrf noup] Add missing SPU funcs in target_cfg.c"
anangl Mar 25, 2024
0cf4946
[nrf fromtree] Crypto: Add missing key derivation APIs in the interface
Summer-ARM Nov 29, 2023
42494c1
[nrf fromtree] TFMV-7: SPM: Fix ARoT to PRot data access vulnerability.
Anton-TF Apr 3, 2024
8959d4c
[nrf fromlist] ps: Fix the support for disabling PS_ENCRYPTION
SebastianBoe Mar 18, 2024
68e552f
[nrf fromlist] platform: nordic_nrf: Add MDK defines required by tfm_ns
SebastianBoe Mar 18, 2024
308344f
[nrf fromlist] platform: nordic_nrf: add support for more UARTs
SebastianBoe Mar 15, 2024
17c198f
[nrf fromlist] platform: nordic_nrf: Support RRAMC
SebastianBoe Mar 18, 2024
813aa16
[nrf noup] platform: nordic_nrf: Add support for 54l
SebastianBoe Mar 14, 2024
2128757
[nrf noup] platform: nordic_nrf: Add support for 54l
SebastianBoe Mar 20, 2024
1a17888
[nrf noup] platform: nordic_nrf: include autoconf.h from target_cfg.c
SebastianBoe Mar 19, 2024
f3cc572
[nrf noup] platform: nordic_nrf: Add support for 54l
SebastianBoe Mar 21, 2024
9c8fa41
[nrf toup] platform: nordic_nrf: Add support shared UART and using UA…
SebastianBoe Apr 10, 2024
9145452
[nrf noup] Support CMAC KDF and custom builtin solution
vlilleboe Apr 15, 2024
f62fbdd
[noup] platform: nordic_nrf: Add LFXO support for 54L
mswarowsky Apr 23, 2024
be60427
[nrf noup] platform: nordic_nrf: Add debug port support
mswarowsky Apr 23, 2024
017ecdf
[nrf noup] platform: nordic_nrf: configure the NRF_RRAMC_S peripheral
SebastianBoe Apr 11, 2024
a829788
[nrf noup] tfm: Detect wrong headers being included
SebastianBoe Apr 10, 2024
7b734fe
[noup] platform: nordic_nrf: Configure XL1/2 pin based on Kconfig
mswarowsky Apr 24, 2024
ddd5acf
[nrf noup] Fix support CMAC KDF and custom builtin solution
mswarowsky Apr 30, 2024
79ad65e
[nrf noup] platform: nordic_nrf: Enable PS encryption again
mswarowsky Apr 30, 2024
87059eb
[nrf noup] platform: nordic_nrf: 54L Add ITS encryption support
mswarowsky May 2, 2024
fb1c0db
[nrf noup] platform: nordic_nrf: config of UART instances
mswarowsky May 8, 2024
6e6d572
[nrf noup] tfm: 54l: Improve MPC configuration documentation
SebastianBoe May 3, 2024
016b1dd
[nrf noup] tfm: 54l: Lock unused MPC OVERRIDES
SebastianBoe May 14, 2024
dd01147
[nrf noup] Add MPC and SPC error reporting for nrf54l
vlilleboe Apr 19, 2024
2ade42f
[nrf fromtree] Platform: Nordic: refactor spu_peripheral_config to us…
SebastianBoe May 14, 2024
a1bbc60
[nrf noup] nordic_nrf: refactor spu_peripheral_config to use base add…
SebastianBoe May 14, 2024
232f8b5
[nrf fromlist] Platform: Nordic: Add function for calculating spu ins…
SebastianBoe May 14, 2024
a35b6a4
[nrf fromlist] Platform: Nordic: Port spu_peripheral_config
SebastianBoe May 16, 2024
4e3cdd2
[nrf noup] nrf54l: configure pins as secure
SebastianBoe May 14, 2024
57aa07d
[nrf noup] Platform: 54l: Delete dead code in target_cfg.c
SebastianBoe May 16, 2024
406ebd5
[nrf noup] Platform: 54L: Refactor UART security configuration
SebastianBoe May 16, 2024
67783a6
[nrf noup] Platform: Nordic: Configure misc. peripherals as Secure
SebastianBoe May 16, 2024
3ebf3d3
[nrf noup] platform: nordic_nrf: 54L Use HUK library for EITS
mswarowsky May 21, 2024
39a386c
[nrf fromtree] Platform: nordic_nrf: Don't configure NRF_VMC as non-s…
nordic-mare May 23, 2024
92a5b4f
[nrf noup] cmake: Fix TFM psa_crypto_config linking error
rlubos May 21, 2024
0fa3c2a
[nrf noup] platform: nordic_nrf: Fix 54L Add ITS encryption support
mswarowsky Jun 4, 2024
553c47a
[nrf noup] Fix version warning
vlilleboe Jun 21, 2024
9ef8c37
[nrf noup] tfm: 54l: configure NRF_REGULATORS as secure
SebastianBoe May 21, 2024
f334e66
[nrf noup] tfm: 54l: Remove TODO that has been addressed
SebastianBoe May 24, 2024
e7ecf59
[nrf fromtree] platform: nordic: Add platform memory write service
Vge0rge May 28, 2024
bc01a4c
[nrf noup] platform: ext: nordic_nrf: Custom nRF54L15 linker file
Vge0rge Jun 25, 2024
965545c
Basic handling of TAMPC
vlilleboe Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/spe-CMakeLists.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cmake_minimum_required(VERSION 3.15)
include(spe_config)
include(spe_export)

set_target_properties(tfm_config psa_interface PROPERTIES IMPORTED_GLOBAL True)
set_target_properties(tfm_config psa_interface psa_crypto_config PROPERTIES IMPORTED_GLOBAL True)
target_link_libraries(tfm_config INTERFACE psa_interface)

# In actual NS integration, NS side build should include the source files
Expand Down
2 changes: 1 addition & 1 deletion cmake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ execute_process(COMMAND git describe --tags --always
# In a repository cloned with --no-tags option TFM_VERSION_FULL will be a hash
# only hence checking it for a tag format to accept as valid version.

string(FIND ${TFM_VERSION_FULL} "TF-M" TFM_TAG)
string(FIND ${TFM_VERSION_FULL} "v" TFM_TAG)
if(TFM_TAG EQUAL -1)
set(TFM_VERSION_FULL v${TFM_VERSION_MANUAL})
message(WARNING "Actual TF-M version is not available from Git repository. Settled to " ${TFM_VERSION_FULL})
Expand Down
2 changes: 2 additions & 0 deletions config/check_config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tfm_invalid_config(TFM_MULTI_CORE_TOPOLOGY AND TFM_NS_MANAGE_NSID)
tfm_invalid_config(TFM_PLAT_SPECIFIC_MULTI_CORE_COMM AND NOT TFM_MULTI_CORE_TOPOLOGY)
tfm_invalid_config(TFM_ISOLATION_LEVEL EQUAL 3 AND CONFIG_TFM_STACK_WATERMARKS)

tfm_invalid_config(CONFIG_TFM_LOG_SHARE_UART AND NOT SECURE_UART1)

########################## BL2 #################################################

get_property(MCUBOOT_STRATEGY_LIST CACHE MCUBOOT_UPGRADE_STRATEGY PROPERTY STRINGS)
Expand Down
4 changes: 4 additions & 0 deletions config/config_base.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ set(CONFIG_TFM_HALT_ON_CORE_PANIC OFF CACHE BOOL "On fatal e

set(CONFIG_TFM_STACK_WATERMARKS OFF CACHE BOOL "Whether to pre-fill partition stacks with a set value to help determine stack usage")

set(PROJECT_CONFIG_HEADER_FILE "${CMAKE_SOURCE_DIR}/config/config_base.h" CACHE FILEPATH "User defined header file for TF-M config")

set(CONFIG_TFM_LOG_SHARE_UART OFF CACHE BOOL "Allow TF-M and the non-secure application to share the UART instance. TF-M will use it while it is booting, after which the non-secure application will use it until an eventual fatal error is handled and logged by TF-M. Logging from TF-M will therefore otherwise be suppressed")
############################ Platform ##########################################

set(NUM_MAILBOX_QUEUE_SLOT 1 CACHE BOOL "Number of mailbox queue slots")
Expand Down Expand Up @@ -121,6 +124,7 @@ set(BL2_TRAILER_SIZE 0x000 CACHE STRING "BL2 Trailer
set(TFM_PARTITION_PROTECTED_STORAGE OFF CACHE BOOL "Enable Protected Storage partition")
set(PS_ENCRYPTION ON CACHE BOOL "Enable encryption for Protected Storage partition")
set(PS_CRYPTO_AEAD_ALG PSA_ALG_GCM CACHE STRING "The AEAD algorithm to use for authenticated encryption in Protected Storage")
set(PS_CRYPTO_KDF_ALG PSA_ALG_HKDF\(PSA_ALG_SHA_256\) CACHE STRING "KDF Algorithm to use for Protect Storage")

set(TFM_PARTITION_INTERNAL_TRUSTED_STORAGE OFF CACHE BOOL "Enable Internal Trusted Storage partition")
set(ITS_ENCRYPTION OFF CACHE BOOL "Enable authenticated encryption of ITS files using platform specific APIs")
Expand Down
2 changes: 1 addition & 1 deletion config/profile/config_profile_medium.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

/* Enable PSA Crypto Cipher module */
#ifndef CRYPTO_CIPHER_MODULE_ENABLED
#define CRYPTO_CIPHER_MODULE_ENABLED 1
#define CRYPTO_CIPHER_MODULE_ENABLED 0
#endif

/* Enable PSA Crypto asymmetric key signature module */
Expand Down
2 changes: 1 addition & 1 deletion config/profile/config_profile_medium_arotless.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

/* Enable PSA Crypto Cipher module */
#ifndef CRYPTO_CIPHER_MODULE_ENABLED
#define CRYPTO_CIPHER_MODULE_ENABLED 1
#define CRYPTO_CIPHER_MODULE_ENABLED 0
#endif

/* Enable PSA Crypto asymmetric key signature module */
Expand Down
2 changes: 1 addition & 1 deletion config/profile/config_profile_small.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

/* Enable PSA Crypto Cipher module */
#ifndef CRYPTO_CIPHER_MODULE_ENABLED
#define CRYPTO_CIPHER_MODULE_ENABLED 1
#define CRYPTO_CIPHER_MODULE_ENABLED 0
#endif

/* Enable PSA Crypto asymmetric key signature module */
Expand Down
2 changes: 1 addition & 1 deletion config/profile/profile_medium.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ CONFIG_CRYPTO_KEY_MODULE_ENABLED=y
CONFIG_CRYPTO_AEAD_MODULE_ENABLED=y
CONFIG_CRYPTO_MAC_MODULE_ENABLED=y
CONFIG_CRYPTO_HASH_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=n
CONFIG_CRYPTO_ASYM_SIGN_MODULE_ENABLED=y
CONFIG_CRYPTO_ASYM_ENCRYPT_MODULE_ENABLED=n
CONFIG_CRYPTO_KEY_DERIVATION_MODULE_ENABLED=y
Expand Down
2 changes: 1 addition & 1 deletion config/profile/profile_medium_arotless.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ CONFIG_CRYPTO_KEY_MODULE_ENABLED=y
CONFIG_CRYPTO_AEAD_MODULE_ENABLED=y
CONFIG_CRYPTO_MAC_MODULE_ENABLED=y
CONFIG_CRYPTO_HASH_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=n
CONFIG_CRYPTO_ASYM_SIGN_MODULE_ENABLED=y
CONFIG_CRYPTO_ASYM_ENCRYPT_MODULE_ENABLED=n
CONFIG_CRYPTO_KEY_DERIVATION_MODULE_ENABLED=y
Expand Down
2 changes: 1 addition & 1 deletion config/profile/profile_small.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ CONFIG_CRYPTO_KEY_MODULE_ENABLED=y
CONFIG_CRYPTO_AEAD_MODULE_ENABLED=y
CONFIG_CRYPTO_MAC_MODULE_ENABLED=y
CONFIG_CRYPTO_HASH_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=y
CONFIG_CRYPTO_CIPHER_MODULE_ENABLED=n
CONFIG_CRYPTO_ASYM_SIGN_MODULE_ENABLED=n
CONFIG_CRYPTO_ASYM_ENCRYPT_MODULE_ENABLED=n
CONFIG_CRYPTO_KEY_DERIVATION_MODULE_ENABLED=y
Expand Down
69 changes: 69 additions & 0 deletions docs/security/security_advisories/debug_log_vulnerability.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
Advisory TFMV-7
===============

+------------------+-----------------------------------------------------------+
| Title | ARoT can access PRoT data via debug logging functionality |
+==================+===========================================================+
| CVE ID | `CVE-2023-51712`_ |
+------------------+-----------------------------------------------------------+
| Public | The issue was publicly reported on 2023.12.04 |
| Disclosure Date | |
+------------------+-----------------------------------------------------------+
| Versions | All version up to TF-M v2.0.0 inclusive |
| Affected | |
+------------------+-----------------------------------------------------------+
| Configurations | IPC mode with TFM_SP_LOG_RAW_ENABLED=1 |
+------------------+-----------------------------------------------------------+
| Impact | A malicious ARoT partition can expose any part of memory |
| | via stdio interface if TFM_SP_LOG_RAW_ENABLED is set |
+------------------+-----------------------------------------------------------+
| Fix Version | TBD |
+------------------+-----------------------------------------------------------+
| Credit | Roman Mazurak, Infineon |
+------------------+-----------------------------------------------------------+

Background
----------

TF-M log subsystem if enabled by ``TFM_SP_LOG_RAW_ENABLED`` config option,
uses a SVC call to print logging messages on the stdio output interface.
Since the SVC handler has the highest privilege level and full memory
access, this communication channel can be exploited to expose any memory content
to stdout device, usually UART.
The logging subsystem is available to the secure side only but in isolation
level 2 and higher PSA Root of Trust partitions (PRoT) shall be protected
from an access from Application Root of Trust (ARoT) partitions. Although
a direct call of ``tfm_hal_output_sp_log()`` from ARoT partition will be
blocked by MPU raising the ``MemoryManagement()`` exception, a malicious
ARoT partition can create an alternative SVC call to output any memory
data like this:

.. code-block:: c

static int tfm_output_unpriv_string(const unsigned char *str, size_t len)
{
__ASM volatile("SVC %0 \n"
"BX LR \n"
: : "I" (2));
}

Impact
------

In IPC mode with PSA isolation level 2 and higher and ``TFM_SP_LOG_RAW_ENABLED``
option enabled an ARoT partition can expose to the stdout device any memory
data using TF-M logging subsystem via SVC call.

Mitigation
----------

Ensure that data sent for logging belongs to the current partition. For that purpose
``tfm_hal_memory_check(curr_partition->boundary, data, size, TFM_HAL_ACCESS_READABLE)``
is added to the logging function of the SVC handler. If the check fails
then ``tfm_core_panic()`` is invoked and system halts.

.. _CVE-2023-51712: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-51712

---------------------

*Copyright (c) 2024, Arm Limited. All rights reserved.*
4 changes: 4 additions & 0 deletions docs/security/security_advisories/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Security Advisories
profile_small_key_id_encoding_vulnerability
fwu_write_vulnerability
cc3xx_partial_tag_compare_on_chacha20_poly1305
debug_log_vulnerability

+------------+-----------------------------------------------------------------+
| ID | Title |
Expand All @@ -33,13 +34,16 @@ Security Advisories
| |TFMV-6| | Partial tag comparison when using Chacha20-Poly1305 on the PSA |
| | driver API interface in CryptoCell enabled platforms |
+------------+-----------------------------------------------------------------+
| |TFMV-7| | ARoT can access PRoT data via debug logging functionality |
+------------+-----------------------------------------------------------------+

.. |TFMV-1| replace:: :doc:`TFMV-1 <stack_seal_vulnerability>`
.. |TFMV-2| replace:: :doc:`TFMV-2 <svc_caller_sp_fetching_vulnerability>`
.. |TFMV-3| replace:: :doc:`TFMV-3 <crypto_multi_part_ops_abort_fail>`
.. |TFMV-4| replace:: :doc:`TFMV-4 <profile_small_key_id_encoding_vulnerability>`
.. |TFMV-5| replace:: :doc:`TFMV-5 <fwu_write_vulnerability>`
.. |TFMV-6| replace:: :doc:`TFMV-6 <cc3xx_partial_tag_compare_on_chacha20_poly1305>`
.. |TFMV-7| replace:: :doc:`TFMV-7 <debug_log_vulnerability>`

--------------

Expand Down
Loading