Skip to content

Latest commit

 

History

History
1735 lines (1291 loc) · 88.4 KB

CHANGELOG.md

File metadata and controls

1735 lines (1291 loc) · 88.4 KB

OP-TEE - version 4.0.0 (2023-10-20)

OP-TEE - version 3.22 (2023-07-07)

OP-TEE - version 3.21.0 (2023-04-14)

OP-TEE - version 3.20.0 (2023-01-20)

OP-TEE - version 3.19.0 (2022-10-14)

OP-TEE - version 3.18.0 (2022-07-15)

OP-TEE - version 3.17.0 (2022-04-15)

OP-TEE - version 3.16.0 (2022-01-28)

OP-TEE - version 3.15.0 (2021-10-18)

OP-TEE - version 3.14.0 (target date: 2021-07-16)

OP-TEE - version 3.13.0 (2021-04-30)

OP-TEE - version 3.12.0 (2021-01-20)

OP-TEE - version 3.11.0 (2020-10-16)

OP-TEE - version 3.10.0 (2020-08-21)

OP-TEE - version 3.9.0 (2020-04-22)

OP-TEE - version 3.8.0 (2020-01-24)

OP-TEE - version 3.7.0 (2019-10-18)

OP-TEE - version 3.6.0 (2019-07-05)

OP-TEE - version 3.5.0 (2019-04-26)

OP-TEE - version 3.4.0 (2019-01-25)

OP-TEE - version 3.3.0 (2018-10-12)

OP-TEE - version 3.2.0 (2018-07-04)

Known issues

  • HiKey960: assertion in bget create_free_block() [memalign() self-test] (#2414)
  • D02: assertion '!have_spinlock()' (#2437)

OP-TEE - version 3.1.0 (2018-04-13)

OP-TEE - version 3.0.0 (2018-01-26)

Link to a list of all commits between this release and the previous one (2.6.0).

About backwards compatibility: Trusted Applications built with OP-TEE 2.5.0 or earlier will not run properly with a debug build of this release due to commit 0e1c6e8e ("Dump call stack on TA panic"). Non-debug builds are not affected.

New features

  • New supported platforms: Armada 3700 (#1946), Poplar (#1999), 64-bit support for FSL ls1012ardb (#1941), i.MX6SX Sabreauto (#1974).
  • arm32: sm: init CNTVOFF (#2052)
  • Debug/info/error traces: make output more compact (#2011)
  • tzc380: implement new functions (#1994)
  • Secure Data Path: add pseudo-TA to convert VA to PA (#1993])
  • Pager: use NEON AES GCM implementation (#1959)
  • Crypto: add optimized AES GCM implementation using NEON (#1949)
  • Add support for using secure storage for TA anti-rollback (#1928)
  • Crypto: replace struct crypto_ops with function interface (#1923, #1931)
  • aosp_optee.mk: define OPTEE_BIN (#1922)
  • Add build option to allow concurrent execution of single-instance TAs (#1915)
  • Pager: support for address sanitizer (#1856)
  • Pager: make memory between CFG_TEE_RAM_START and TEE load address usable by pager (#1826)

Bug fixes

  • Fix crash in tee_mmu_final() on TA loading error (#2092)
  • LibTomCrypt: fix issue causing invalid output when using AES CTR with hardware acceleration (CFG_CRYPTO_WITH_CE) (#2086)
  • pl310: fix cache sync (#2035)
  • tzc380: do not write reserved bits (#1994)
  • Fix potential double free in ta_open() (#1970)
  • libfdt: fix undefined behaviour in fdt_offset_ptr() (#1969)
  • imx_wdog: fix register access (#1966)
  • Secure storage: fix potential memory leak after early return (#1961)
  • LibTomCrypt: fix double free in dsa_import() (#1963)
  • RPMB: fix TA independance issue in secure storage (#1921)
  • RPMB: return TEE_ERROR_ACCESS_CONFLICT instead of panicking when a TA attempts to create an existing persistent object without the overwrite flag (#1919)
  • PSCI: pass non-secure context to psci_system_suspend() (#1916)
  • Fix "Argument list too long" during "make clean" (#1897)

Security fixes

  • Mitigations and hardening against the Spectre and Meltdown vulnerabilities (CVE-2017-5753, CVE-2017-5715, CVE-2017-5754).

Known issues

  • Secure storage (REE FS): storage size not updated after TEE_TruncateObjectData() (#2094)
  • Possible deadlock with CFG_WITH_PAGER=y when loading a TA and not enough page tables are available in pgt_cache (#2080)

Tested on

The release was tested successfully on the platforms listed below.

  • d02
  • hikey
  • hikey-hikey960
  • imx-mx6ulevk
  • imx-mx7dsabresd
  • marvell-armada7k8k
  • marvell-armada3700
  • mediatek-mt8173
  • rcar-salvator_m3
  • rockchip-rk322x
  • rpi3
  • sam
  • ti
  • vexpress-juno
  • vexpress-qemu_armv8a
  • vexpress-qemu_virt

OP-TEE - version 2.6.0

Link to a list of all commits between this release and the previous one (2.5.0).

New features

  • New supported platforms: Atmel SAMA5 (#1714), HiSilicon HiKey960 (#1684), Rockchip RK322X (#1666), NXP LS1043A-RDB/LS1046A-RDB (#1787), Marvell Armada 70x0/80x0 (#1807).
  • Dynamic shared memory (non-contiguous, non-secure memory can be mapped into Trusted Applications VA space) (#1631)
  • Dump TA call stack on panic (#1858)
  • i.MX: PSCI reset (#1849)
  • plat-ti: AM43xx: suspend/resume support (#1822)
  • QEMU SMP support (#1820)
  • plat-ti: AM43xx: disable TRNG (#1816)
  • plat-ti: enable Secure Data Path by default (#1815)
  • Improve symbolize.py (#1778, #1767, #1766)
  • Early TAs (TAs linked in tee.bin) (#1733)
  • Suspend/resume framework for arm32 and imx7d support (#1729)
  • RK322X PSCI version, features and suspend support (#1720)
  • arm32: handle aborts in system mode (#1703)
  • i.MX: add SNVS SRTC support (#1700)
  • GCC7 support (#1693)
  • Improve detection of programming errors in locking code (#1671, #1670)
  • Support TEE RAM size larger than page directory size (#1669)

Removed features

  • Remove TUI code (#1842)

Bug fixes

  • Add missing synchronization barrier in core_mmu_map_pages() (#1827)
  • Secure storage: REE FS: fix bug in error path (#1801)
  • ASAN bug fixes (#1799)
  • Fix race in core_mmu_user_mapping_is_active() (#1785)
  • libutee: printf() and puts() fixes, add putchar() (#1759, #1754)
  • arm32: GICv3: fix FIQ masking in IRQ/ABT/SVC/UND handlers (#1748)
  • arm32: preserve r12 in native_intr_handler() (#1682)
  • arm64: fix print_kernel_stack() (#1664)
  • benchmark: fix core data-abort (#1658)

Security fixes or enhancements

Tested on

The release was tested successfully on the platforms listed below. If a platform is not listed, it means the release was not tested on this platform.

  • d02
  • hikey
  • hikey-hikey960
  • imx-mx6ulevk
  • imx-mx7dsabresd
  • ls-ls1021a??? (single core)
  • ls-ls1043ardb
  • ls-ls1046ardb
  • mediatek-mt8173
  • rcar
  • rockchip-rk322x
  • rpi3
  • sam
  • stm-b2260
  • stm-cannes
  • ti-???
  • vexpress-fvp
  • vexpress-juno
  • vexpress-qemu_armv8a
  • vexpress-qemu_virt

OP-TEE - version 2.5.0

Link to a list of all commits between this release and the previous one (2.4.0).

New features

  • 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)

Removed features

  • 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.

Bug fixes

  • Reduce size of non-pageable code (#1621)
  • Ignore TA_FLAG_MULTI_SESSION and TA_FLAG_INSTANCE_KEEP_ALIVE when TA_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 and CFG_TEE_CORE_LOG_LEVEL=0 (#1502)
  • crypto: do not restrict hash size when algorithm is ECDSA (#1497)

Security fixes or enhancements

  • 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)

New issues

  • 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-time CFG_ 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.

Tested on

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

OP-TEE - version 2.4.0

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").

New features

  • 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

Bug fixes

  • 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.

Known issues

  • 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.

Tested on

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

OP-TEE - version 2.3.0

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 features

  • 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() with TEE_MEMORY_ACCESS_SECURE and TEE_MEMORY_ACCESS_NONSECURE

  • plat-hikey: enable SPI by default and add sample test code

  • Consider CFLAGS_ta_arm64 and CFLAGS_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()

Bug fixes

  • 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 call cbc_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)

Known issues

  • New issues open on GitHub
    • #1203 AES-CTS mode will fail when inlen=0x100, in_incr=0x80
    • #1199 Both tee and teepriv reported GlobalPlatform compliant
    • #1188 Secure storage (SQL FS and REE FS): blocks not tied to current meta header
    • #1172 paddr_t should be larger than 32 bits when CFG_WITH_LPAE is enabled

Tested on

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

OP-TEE - version 2.2.0

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 features

  • 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

Bug fixes

  • 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

Known issues

  • New issues open on GitHub
    • #1093 rcar-h3: xtest 6010 hangs
    • #1092 rcar-h3: xtest 4010 fails
    • #1081 Bad mapping of TA secure memref parameters
    • #1071 __data_end may not correctly represent text start position when using CFG_WITH_PAGER
    • #1069 armv7/Aarch32: crash in stack unwind (DPRINT_STACK())

Tested on

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

OP-TEE - version 2.1.0

New features

  • 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.

Tested on

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)

Known issues

  • 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

OP-TEE - version 2.0.0

New features

  • 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.

Tested on

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.

Known issues

  • Issue(s) open on GitHub
    • #40 BUG_ON() when re-using RPC buffer to tee-supplicant
    • #506: tee-supplicant panic & ta panic

OP-TEE - version 1.1.0

New features

  • 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 and out/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.

Tested on

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.

Known issues

  • Secure Storage is implemented, but note that anti-rollback protection is not implemented yet.

  • Issue(s) open on GitHub

    • #40 BUG_ON() when re-using RPC buffer to tee-supplicant
    • #296: Connecting RPMB to the storage APIs.
    • #493: setup_juno_optee: unable to find pre-built binaries
    • #506: tee-supplicant panic & ta panic

OP-TEE - version 1.0.0

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.

New features

  • 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.

Tested on

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.

Known issues

  • Secure Storage is implemented, but note that anti-rollback protection is not implemented yet.

  • Issue(s) open on GitHub

    • #210: libteec.so 32-bit does not communicate well with 64-bit kernel module
    • #296: Connecting RPMB to the storage APIs.
    • #493: setup_juno_optee: unable to find pre-built binaries
    • #494: HiKey: xtest 7671 fails (1.0.0-rc2)

OP-TEE - version 0.3.0

New features

  • 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.

Tested on

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.

OP-TEE - version 0.2.0

New features

Linux Driver Refactoring

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.

Misc new features

  • support PL310 lock down at TEE boot
  • add 64bits support (division / print)

Tested on

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.

Issues resolved since last release

  • Fix user TA trace issue, in order each TA is able to select its own trace level

OP-TEE - version 0.1.0

New features

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.

Tested on

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.

Issues resolved since last release

N/A since this is the first release tag on OP-TEE.

Known issues

  • 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

    • #95: An error about building the test code of libtomcrypt.

    • #149: when testing optee os with arm trusted firmware (I utilized optee os tee.bin as bl32 image) on juno platform, I got an error.

    • #161: tee_svc_cryp.c lacks accessibility checks on user-supplied TEE_Attributes.

  • 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)