Link to a list of all commits between this release and the previous one (2.4.0).
- New supported platform: i.MX7D (#1639)
- Secure storage: anti-rollback protection for REE FS using RPMB FS (#1630)
- Assign non-secure DDR configuration from DT if CFG_DT=y (#1623)
- Add new image format: split image into three separate binaries suitable for upcoming ARM Trusted Firmware (#1589).
- Make alignment check configurable (#1586)
- drivers: add TZC380 driver (#1578)
- plat-imx: PSCI CPU off (#1577)
- 64-bit paging on QEMU v8 and HiKey ([#1575], #1592)
- Benchmark framework (#1365)
- Dump call stack of user TAs on abort (#1552)
- plat-hikey: enable Secure Data Path (#1440)
- Add interface to load and decrypt/authenticate user TAs (#1513)
- plat-ti: add secure paging support (#1493)
- plat-ti: add OTP hardware key support (#1492)
- Support ARM GICv3 (#1465)
- stm-orly2 is not supported anymore (#1650)
- Remove secure storage based on SQL FS (
CFG_SQL_FS=y
) (#1490) - Remove support for mapping user TAs with 1 MiB or 2 MiB granularity
(
CFG_SMALL_PAGE_USER_TA=n
) (#1559). TAs are always mapped using small pages.
- Reduce size of non-pageable code (#1621)
- Ignore
TA_FLAG_MULTI_SESSION
andTA_FLAG_INSTANCE_KEEP_ALIVE
whenTA_FLAG_SINGLE_INSTANCE
is not set (#1574) - libutee: remove buffering for AES GCM (PR#1573) and AES CTR (#1580)
- Fix ROUNDUP()/ROUNDDOWN() macros (#1519)
- Do not touch other bits in GICD_CTLR (#1508)
- Fix build issue with
DEBUG=y
andCFG_TEE_CORE_LOG_LEVEL=0
(#1502) - crypto: do not restrict hash size when algorithm is ECDSA (#1497)
- crypto: fix RSA key leakage after fault injection attack (OP-TEE-2016-0003) (#1610)
- crypto: fix RSA key leakage after side channel attack (OP-TEE-2016-0002) (#1610)
- Make pager aliased pages not always writable (#1551)
- Support for no-exec RO and RW data (#1459, #1550)
- armv7: some platform-specific code (
plat_cpu_reset_early()
) overwrites SCTLR bits configured by generic code. This affects alignment checks (SCTLR.A
) and write-implies-no-exec (SCTLR.WXN
,SCTLR.UWXN
), which can therefore not be configured via the compile-timeCFG_
variables. - armv7: plat-imx: Cortex-A9 cores should enable branch prediction (
SCLTR.Z
) for improved performance. - #1656 qemu_armv8a: init hangs when secure data path and pager are both enabled.
In the list below, standard means that the xtest
program passed with
its default configuration, while extended means it was run successfully
with the additional GlobalPlatform™ TEE Initial Configuration Test Suite
v1.1.0.4.
If a platform is not listed, it means the release was not tested on this platform.
- d02: extended
- hikey: extended
- imx-mx6ulevk: standard
- imx-mx6ullevk: standard
- imx-mx7dsabresd: standard
- ls-ls1021atwr: standard
- mediatek-mt8173: standard
- rcar-h3: standard
- rpi3: standard
- stm-b2260: extended
- stm-cannes: extended
- ti-am43xx: standard
- ti-am57xx: standard
- ti-dra7xx: standard
- vexpress-fvp: standard
- vexpress-juno: standard
- vexpress-qemu_armv8a: standard
- vexpress-qemu_virt: standard
Link to a list of all commits between this release and the previous one (2.3.0).
Please note: this release is API-compatible with the previous one, but the Secure Storage internal format for the REE and SQL FS is not compatible due to commits a238b74 ("core: REE FS: use the new hash tree interface") and 44e900e ("core: SQL FS: use the new hash tree interface").
-
Add porting guidelines
-
Add support for Secure Data Path which allows Client and Trusted Applications to share references to secure memory
-
New supported platform: Texas Instruments AM57xx (
PLATFORM=ti-am57xx
) -
ARMv7-A: add support for platform services in secure monitor and add these services for the DRA7xx platform
-
SPI framework and PL022 driver cleanup and improvements
-
Use CNTPCT (when available) to add entropy to the software PRNG
-
Add GlobalPlatform Socket API for UDP and TCP (IPv4 and IPv6)
-
DRA7: add TRNG driver, enable GICv2 driver
-
Support load address larger than 4G
-
libutee: preserve error code when calling TEE_Panic() for easier troubleshooting
-
Support TA profiling with gprof (-pg compiler switch)
-
Optimize the ELF loader for TAs when pager is enabled
-
Update documentation
-
Add paged secure shared memory that can be transferred between TAs as needed
-
Introduce MOBJ abstraction
-
i.MX6: add PSCI "on" function
-
arm32: introduce PSCI framework
-
Secure storage: improve integrity checking of the REE and SQL filesystems by adding a hash tree on the internal data structures. Any external modification is detected, except full rollback. Fixes #1188.
-
The linux driver will set the 'privileged' flag (TEE_GEN_CAP_PRIVILEGED) on the device intended for use by tee-supplicant. Fixes #1199.
-
RPMB: don't try to program the RPMB key by default
-
Fix "make clean" error cases
-
Fix issue when resetting persistent storage enumerator #1332
-
Fix TA panic when doing AES CTS with specific buffer sizes #1203.
- On RPi3 xtest sometimes stall (rcu_sched self-detected stall on CPU) #1353
- For multi-core PSCI support is to be added for ls1021atwr in OP-TEE.
- USB keyboard cannot be used to stop the u-boot timeout (build issue131).
- Travis service (build.git) seems unstable from time to time.
In the list below, standard means that the xtest
program passed with
its default configuration, while extended means it was run successfully
with the additional GlobalPlatform™ TEE Initial Configuration Test Suite
v1.1.0.4.
If a platform is not listed, it means the release was not tested on this platform.
- d02: extended
- hikey: extended
- imx-mx6ulevk: standard
- ls-ls1021atwr: standard (single core)
- mediatek-mt8173: standard
- rcar-h3: standard
- rpi3: standard
- stm-b2260: extended
- ti-dra7xx: standard
- vexpress-fvp: standard
- vexpress-juno: standard
- vexpress-qemu_armv8a: standard
- vexpress-qemu_virt: standard
- zynqmp-zc1751_dc1: standard
- zynqmp-zc1751_dc2: standard
- zynqmp-zcu102: standard
Link to a list of all commits between this release and the previous one (2.2.0).
Please note: this release is API-compatible with the previous one, but the Secure Storage internal format for the REE FS is not compatible due to commit 361fb3e ("core: REE FS: use a single file per object").
-
New supported platform: Xilinx Zynq 7000 ZC702 (
PLATFORM=zynq7k-zc702
) -
Add debug assertions to spinlocks and mutexes
-
Add more CP15 register access macros for Cortex-A9
-
ARMv7-A: redesign secure monitor to make it easier to register services
-
ARMv7-A: cleanup boot arguments
-
libutee: extend
TEE_CheckMemoryAccessRights()
withTEE_MEMORY_ACCESS_SECURE
andTEE_MEMORY_ACCESS_NONSECURE
-
plat-hikey: enable SPI by default and add sample test code
-
Consider
CFLAGS_ta_arm64
andCFLAGS_ta_arm32
when building TAs -
Secure storage refactoring
- Simplify interface with tee-supplicant. Minimize round trips with normal world, especially by adding a cache for FS RPC payload data.
- REE FS: use a single file per object, remove block cache.
-
Print call stack in panic()
-
Fix UUID encoding when communicating with normal world (use big endian mode instead of native endianness). Related to this, the string format for UUIDs has changed in tee-supplicant, so that TA file names now follow the format defined in RFC4122 (a missing hyphen was added). The old format is still supported, but deprecated, and will likely be removed with the next major release.
-
Drop write permission to non-writable ELF segments after TA loading is complete.
-
mm: fix confusing memory mapping debug traces
-
plat-ti: fix issues with MMU mapping
-
crypto: fix clearing of big numbers
-
build: allow spaces and double quotes in CFG_ variables
-
mm: use paddr_t to support both 32- and 64-bit architectures properly. Resolves 32-bit truncation error when pool is at top of 32 bit address space on 64-bit architecture.
-
plat-stm: support pager. Fix pager on ARMv7-A SMP boards.
-
Fix debug output of Trusted Applications (remove "ERROR: TEE-CORE:" prefix)
-
Do not consider TA memref parameters as TA private memory
-
crypto: fix
cipher_final()
which would not callcbc_done()
for CBC_MAC algorithms -
fix for 16-way PL310
-
arm32: fix call stack unwinding (
print_stack()
) -
arm32: fix spinlock assembly code
-
plat-stm, plat-imx: fix SCR initalization
-
Fix user L1 MMU entries calculation (non-LPAE), allowing TTBCR.N values other than 7.
-
mtk-mt8173: fix panic caused by incorrect size of SHMEM
-
plat-stm: fix RNG driver (non-flat mapping)
- New issues open on GitHub
In the list below, standard means that the xtest
program passed with
its default configuration, while extended means it was run successfully
with the additional GlobalPlatform™ TEE Initial Configuration Test Suite
v1.1.0.4.
If a platform is not listed, it means the release was not tested on this platform.
- d02: extended
- hikey: extended
- imx-mx6ulevk: standard
- ls-ls1021atwr: standard
- mediatek-mt8173: standard
- rcar-h3: standard
- rpi3: standard
- stm-b2260: extended
- stm-cannes: extended
- ti-dra7xx: standard
- vexpress-fvp: standard
- vexpress-juno: standard
- vexpress-qemu_armv8a: standard
- vexpress-qemu_virt: extended
- zynqmp-zcu102: standard
Link to a list of all commits between this release and the previous one (2.1.0).
Please note: this release is API-compatible with the previous one, but the Secure Storage internal format is not compatible due to commit fde4a75 ("storage: encrypt the FEK with a TA-specific key").
-
New supported platforms:
- Freescale i.MX6 Quad SABRE Lite & SD
- HiSilicon D02
- Raspberry Pi3
- Renesas RCAR H3
- STMicroelectronics b2260 - h410
-
Pager: Support paging of read/write pages by encrypting them with AES-GCM. Support paging of user TAs. Add global setting for TZSRAM size (CFG_CORE_TZSRAM_EMUL_SIZE), defaults to 300K.
-
Support for more than 8 CPU cores
-
Added SPI framework and PL022 driver
-
GPIO: framework supports multiple instances, PL061 driver now has get/set interrupt and mode control functions
-
Secure storage: Encrypt the File Encryption Key with a TA-specific key for better TA isolation. Add build-time and run-time support for multiple storage backends. Add SQLite backend.
-
Trusted User Interface: some code is introduced to support the implementation of TUI. This includes: a generic framebuffer driver, display and serial abstractions, and drivers for PL111 (LCD) / PL050 (KMI) / TZC400 and PS2 mouse.
-
AES acceleration using ARMv8-A Cryptographic Extensions instructions is now supported in AArch32 mode
-
Add support for GCC flags: -fsanitize=undefined and -fsanitize=kernel-address
-
Use a global setting for core heap size (CFG_CORE_HEAP_SIZE), 64K by default.
-
Add macros to unwind and print the call stack of TEE core
-
Libtomcrypt: sync with the latest
develop
branch. -
The Trusted Application SDK (ta_dev_kit.mk) can produce libraries (.a)
-
Rework assertions and TEE core panics and properly honor NDEBUG
-
Fix incorrect algorithm passed to cipher.final()
-
scripts: support Python 2.x and 3.x
-
Secure storage: Add proper locking to support concurrent access. Fix sign extension bug with offset parameter of syscall storage_obj_seek which could cause errors in Aarch32 mode. Fix reading beyond end of file.
-
Aarch64: mask all maskable exceptions before doing a normal return from call.
-
Device Tree: add no-map property to OP-TEE node in reserved-memory.
-
LibTomcrypt: fix CVE-2016-6129
- New issues open on GitHub
In the list below, standard means that the xtest
program passed with
its default configuration, while extended means it was run successfully
with the additional GlobalPlatform™ TEE Initial Configuration Test Suite
v1.1.0.4.
If a platform is not listed, it means the release was not tested on this platform.
- d02: extended
- hikey: extended
- imx-mx6qsabrelite: standard
- imx-mx6qsabresd: standard
- rcar-h3: standard, pass except issues #1092 and #1093
- rpi3: standard
- stm-b2260: standard
- stm-cannes: standard
- ti-dra7xx: standard
- vexpress-fvp: standard
- vexpress-juno: standard
- vexpress-qemu_armv8a: standard
- vexpress-qemu_virt: extended
- zynqmp-zcu102: standard
-
New supported platforms:
- Xilinx Zynq UltraScale+ MPSOC
- Spreadtrum SC9860
-
GCC5 support
-
Non Linear Mapping support: In OP-TEE kernel mode, the physical to virtual addresses was linear until this release, meaning the virtual addresses were equal to the physical addresses. This is no more the case in this release.
-
Font rendering routines have been introduced in order to ease an implementation of Trusted UI.
-
File Storage: Possibility to use the normal world filesystem and the RPMB implementations simultaneously.
-
AOSP: There is a local manifest to build OP-TEE into an AOSP build, running on HiKey. Please refer to the README in that repo for instructions.
-
OpenEmbedded: In addition to the makefile-based build described in the optee_os README, there is an OpenEmbedded-based build that supports Qemu (32-bit), FVP (64-bit), and HiKey (64-bit). Please refer to the README in that repo for instructions.
-
Link to a list of all commits between this and previous release.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
- ARM Juno Board (vexpress-juno), standard.
- Foundation Models (vexpress-fvp), standard tests + extended tests, using FVP ARM V8 Foundation Platformr0p0 (platform build 10.0.37)
- FSL i.MX6 UltraLite EVK (imx), standard.
- FSL ls1021a (ls-ls1021atwr), standard tests.
- HiKey (hikey), standard + extended tests.
- QEMU (vexpress-qemu), standard + extended tests.
- Xilinx Zynq UltraScale+ MPSOC, standard tests
Note that the following platform has not been tested:
- MTK8173-EVB (mediatek-mt8173)
- Issue(s) open on GitHub
- #868: python-wand font generation sometimes times out
- #863: "double free or corruption" error when building optee_os
- #858: UUIDs in binary format have wrong endinanness
- #857: Formatting of UUIDs is incorrect
- #847: optee_os panic(TEE-CORE: Assertion)
- #838: TUI font rendering is very slow
- #814: Persistent objects : save informations after close
- #665: xtest 1013 stalled on HiKey when log levels are 4 and optee_os is on its own UART
- #506: tee-supplicant panic & ta panic
-
Generic driver: A new generic TEE driver is in the process of being upstreamed. In this release, OP-TEE/optee_linuxdriver is no more used. Instead, linux v4.5 is being patched using the proposed Generic TEE Driver, as it can be found in https://github.com/linaro-swg/linux/tree/optee
-
RPMB support: Secure Storage can now use Replay Protected Memory Block (RPMB) partition of an eMMC device. Check the full documentation
-
Hard-float ABI is now available.
-
Link to a list of all commits between this and previous release.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
- ARM Juno Board (vexpress-juno), standard.
- Foundation Models (vexpress-fvp), standard tests + extended tests, using FVP ARM V8 Foundation Platformr0p0 (platform build 9.5.40)
- FSL ls1021a (ls-ls1021atwr), standard.
- HiKey (hikey), standard.
- MTK8173-EVB (mediatek-mt8173), standard.
- QEMU (vexpress-qemu), standard + extended tests.
- STM Cannes (stm-cannes), standard + extended tests.
- Issue(s) open on GitHub
-
Softfloat library: floating point support is now available in 32bits TA.
-
Support running 64-bits TA: on ARMv8-A platform, TA can be compiled in AArch32 and/or in AArch64 in case the core is compiled in AArch64. An example can be found in HiKey configuration file. Using the following excerpt code, the user TA libraries are compiled in both AArch32 and AArch64, and can be found in
out/arm-plat-hikey/export-ta_arm32
andout/arm-plat-hikey/export-ta_arm64
ta-targets = ta_arm32
ta-targets += ta_arm64
-
Concurrent TA support: multiple TA can run in parallel on several cores.
-
New tests added in xtest test suite: concurrent TA (xtest 1013), floating point tests (xtest 1006 and os_test TA) and corruption file storage (xtest 20000)
-
Link to a list of all commits between this and previous release.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
Hello world test | Plain hello world Trusted Application such as this. |
- Foundation Models (vexpress-fvp), standard tests + extended tests, using FVP ARM V8 Foundation Platformr0p0 (platform build 9.5.40)
- HiKey (hikey), standard + extended tests.
- MT8173 (mediatek), standard tests.
- QEMU (vexpress-qemu), standard + extended tests.
- STM Cannes (stm-cannes), standard + extended tests.
-
Secure Storage is implemented, but note that anti-rollback protection is not implemented yet.
-
Issue(s) open on GitHub
OP-TEE is now maintained by Linaro. Contributors do not need to sign a CLA anymore, but must follow the rules of the DCO (Developer Certificate of Origin) instead.
-
Add hardware support for Texas Instruments DRA7xx, ARMv7 (plat-ti)
-
GlobalPlatform™ TEE Internal Core API Specification v1.1, including ECC algorithms.
-
Secure Storage: Files stored by the REE are now encrypted. Operations are made atomic in order to prevent inconsistencies in case of errors during the storage operations. Slides describing the Secure Storage have been presented at the Linaro Connect SFO15.
-
Change of format of the Trusted Applications: they follow a signed ELF format
-
Rework thread synchronization in optee_os.
-
Use of ARMv8 native cryptographic support.
-
OP-TEE/optee_test test suite is released.
-
Introduce OP-TEE/manifest and OP-TEE/build to setup and build QEMU, FVP, HiKey and Mediatek platforms. Setup scripts that used to be in optee_os have been removed, except for Juno board.
-
Link to a list of all commits between this and previous release.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
Hello world test | Plain hello world Trusted Application such as this. |
- ARM Juno Board (vexpress-juno), standard + extended tests.
- Foundation Models (vexpress-fvp), standard tests.
- HiKey (hikey), standard + extended tests.
- MT8173 (mediatek), standard tests.
- QEMU (vexpress-qemu), standard + extended tests.
- STM Cannes (stm-cannes), standard + extended tests.
-
Secure Storage is implemented, but note that anti-rollback protection is not implemented yet.
-
Issue(s) open on GitHub
- Add hardware support for
- Mediatek MT8173 Board, ARMv8-A (plat-mediatek)
- Hisilicon HiKey Board, ARMv8-A (plat-hikey)
- AArch64 build of optee_os is now possible through the configuration
CFG_ARM64_core=y
- Secure Storage: Data can be encrypted prior to their storage in the non-secure.
Build is configured using
CFG_ENC_FS=y
- A generic boot scheme can be used. Boot configuration is commonalized. This helps new board support. It is applied on plat-hikey, plat-vexpress, plat-mediatek, plat-stm and plat-vexpress.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
Hello world test | Plain hello world Trusted Application such as this. |
- ARM Juno Board (vexpress-juno), standard tests.
- Foundation Models (vexpress-fvp), standard tests.
- HiKey (hikey), standard tests.
- MT8173 (mediatek), standard tests.
- QEMU (vexpress-qemu), standard + extended tests.
- STM Cannes (stm-cannes), standard + extended tests.
Linux Driver has been refactored. It is now split in two parts:
- optee.ko, the generic Linux driver. It contains all functionality common to all backends.
- optee_armtz.ko, a specific backend dedicated to the TrustZone optee. It depends on optee.ko.
Loading the TrustZone optee linux driver module is now performed using
modprobe optee_armtz
Thanks to the dependency between the generic and the backend modules, optee.ko is then automatically loaded.
- support PL310 lock down at TEE boot
- add 64bits support (division / print)
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.1.0.4. |
Hello world test | Plain hello world Trusted Application such as this. |
-
ARM Juno Board (vexpress-juno), standard tests + extended tests.
-
Foundation Models (vexpress-fvp), standard + extended tests.
-
QEMU (vexpress-qemu), standard + extended tests.
-
STM Cannes (stm-cannes), standard + extended tests.
- Fix user TA trace issue, in order each TA is able to select its own trace level
#OP-TEE - version 0.1.0
Below is a summary of the most important features added, but at the end you will find a link that present you all commits between the current and previous release tag.
-
GlobalPlatform Client API v1.0 support.
-
GlobalPlatform Internal API v1.0 support.
-
GlobalPlatform Secure Elements v1.0 support.
-
Add hardware support for
-
Allwinner A80, ARMv7-A.
-
ARM Juno Board, ARMv8-A.
-
Foundation Models, ARMv8-A.
-
Fast Models, ARMv8-A.
-
QEMU, ARMv7-A.
-
STM Cannes, ARMv7-A.
-
STM Orly2, ARMv7-A.
-
-
Add LibTomCrypt as the default software cryptographic library.
-
Add cryptographic abstraction layer in on secure side to ease the use of other cryptographic software libraries or adding support for hardware acceleration.
-
Extended cryptographic API with support for HKDF, Concat KDF and PBKDF2.
-
SHA-1 and SHA-256 ARMv8-A crypto extension implementation.
-
Enabled paging support in OP-TEE OS.
-
Add support for xtest (both standard and extended) in QEMU and FVP setup scripts.
-
Add documentation for the OS design, cryptographic abstraction layer, secure elements design, the build system, GitHub usage, key derivation extensions, ARM-Trusted Firmware usage within OP-TEE and GlobalPlatform usage within OP-TEE.
-
Integrate support for Travis CI.
-
Link to a list of all commits between this and previous release.
Definitions:
Type | Meaning |
---|---|
Standard tests | The optee_test project. |
Extended tests | optee_test with tests from the GlobalPlatform™ TEE Initial Configuration Test Suite v1.0.0. |
Hello world test | Plain hello world Trusted Application such as this. |
-
Allwinner A80 (plat-sunxi), hello world test.
-
ARM Juno Board (vexpress-juno), standard tests.
-
Foundation Models (plat-vexpress-fvp), standard + extended tests
-
QEMU (plat-vexpress-qemu), standard + extended tests (and Secure Elements tested separately).
-
STM Cannes (plat-stm-cannes), standard + extended tests.
N/A since this is the first release tag on OP-TEE.
-
Storage is implemented, but not "Secure storage", meaning that a client needs to do encrypt files on their own before storing the files.
-
Issue(s) open on GitHub
- Global Platform Device Internal Core API v1.1
- [#230][pr230]: Persistent object corruption support (TEE_ERROR_CORRUPT_OBJECT/_2)
- [#230][pr230]: Persistent object access support (TEE_ERROR_STORAGE_NOT_AVAILABLE/_2)