You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/06/17 16:59:16 UTC

[incubator-teaclave-website] 02/02: Add blog: Announcing Teaclave TrustZone SDK 0.1.0

This is an automated email from the ASF dual-hosted git repository.

mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git

commit 8573b4c0316416038aa27c865de4a0daa04fae84
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Thu Jun 17 09:58:59 2021 -0700

    Add blog: Announcing Teaclave TrustZone SDK 0.1.0
---
 ...6-16-announcing-teaclave-trustzone-sdk-0.1.0.md | 100 +++++++++++++++++++++
 site/blog/img/teaclave-trustzone-sdk-examples.png  | Bin 0 -> 234852 bytes
 2 files changed, 100 insertions(+)

diff --git a/site/blog/2021-06-16-announcing-teaclave-trustzone-sdk-0.1.0.md b/site/blog/2021-06-16-announcing-teaclave-trustzone-sdk-0.1.0.md
new file mode 100644
index 0000000..263311a
--- /dev/null
+++ b/site/blog/2021-06-16-announcing-teaclave-trustzone-sdk-0.1.0.md
@@ -0,0 +1,100 @@
+---
+title: Announcing Apache Teaclave TrustZone SDK (incubating) 0.1.0
+date: 2021-06-16
+author: Mingshen Sun
+---
+
+On behalf of the Teaclave community, I am happy to announce the release of
+Teaclave TrustZone SDK 0.1.0. This is the first Apache Incubator release since
+the recent donation to the Teaclave community.
+
+Teaclave TrustZone SDK provides abilities to build safe TrustZone applications
+in Rust. The SDK is based on the OP-TEE project which follows GlobalPlatform TEE
+specifications and provides ergonomic APIs. In addition, it enables capability
+to write TrustZone applications with Rust's standard library and many
+third-party libraries (i.e., crates). Teaclave TrustZone SDK is a sub-project of
+Apache Teaclave (incubating). To learn more about the design and history of
+TrustZone SDK,
+please read the blog [Welcome Rust OP-TEE TrustZone SDK To Teaclave](https://teaclave.apache.org/blog/2021-03-14-welcome-rust-optee-trustzone-sdk/).
+
+## Highlights
+
+This version implements the following Rust APIs in GlobalPlatform TEE
+specifications:
+
+**TEE Client API** (`optee-teec`)
+- Context
+- Error
+- Operation
+- Parameter
+- Session
+- UUID
+
+**TEE Internal Core API** (`optee-utee`)
+- Arithmetical
+- Crypto Operation
+- Error
+- Object
+- Parameter
+- Time
+- Trace
+
+Here is a demonstration of using these Rust APIs to open a session and invoke a
+function to TA.
+
+![Teaclave TrustZone SDK APIs](./img/teaclave-trustzone-sdk-apis.png)
+
+We also provides procedure macros to automatically generate bindings interfaces of TA:
+- `#[ta_create]`, `#[ta_destroy]`, `#[ta_open_session]`, `#[ta_close_session]`, `#[ta_invoke_command]`
+
+These annotations will automatically generate helper functions to bridge the normal/secure worlds.
+
+![Teaclave TrustZone SDK Macros](./img/teaclave-trustzone-sdk-macros.png)
+
+This version includes rewrites of all examples (e.g., AES, authentication, big
+integer, HOTP) from OP-TEE repository. In addition, we include more examples
+using `serde` for serialization and deserialization.
+
+![Examples in Teaclave TrustZone SDK](./img/teaclave-trustzone-sdk-examples.png)
+
+This version is compatible with OP-TEE 3.13.0.
+
+## Getting Started
+
+Here is a simple instruction to download, build and test the TrustZone SDK:
+
+```
+$ wget https://dist.apache.org/repos/dist/dev/incubator/teaclave/trustzone-sdk-0.1.0-rc.1/apache-teaclave-trustzone-sdk-0.1.0-rc.1-incubating.tar.gz
+$ tar zxvf apache-teaclave-trustzone-sdk-0.1.0-rc.1-incubating.tar.gz && cd
+apache-teaclave-trustzone-sdk-0.1.0-incubating
+
+$ # Instructions to verify the source tar:
+https://teaclave.apache.org/download/#verify-the-integrity-of-the-files
+
+$ # Building
+$ docker run --rm -it -v$(pwd):/teaclave-trustzone-sdk -w
+/teaclave-trustzone-sdk teaclave/teaclave-trustzone-sdk-build:0.1.1
+bash -c "source environment && make"
+
+$ # Testing
+$ docker run --rm -it -v$(pwd):/teaclave-trustzone-sdk -w
+/teaclave-trustzone-sdk teaclave/teaclave-trustzone-sdk-build:0.1.1
+bash -c "source environment && cd ci && ./ci.sh"
+```
+
+We also provide a document [Getting Started with OP-TEE for QEMU
+ARMv8](https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/)
+to get started step by step.
+
+## Download
+
+You can download the release from the
+[download](https://teaclave.apache.org/download/) page. Also, please checkout
+our [repository](https://github.com/apache/incubator-teaclave-trustzone-sdk)
+hosted on GitHub.
+
+## Contributing
+
+Teaclave TrustZone SDK is under the Apache License v2 and open source in The
+Apache Way. We aim to create a project that is maintained and owned by the
+community. All kinds of contributions are welcome. Thanks to our contributors.
diff --git a/site/blog/img/teaclave-trustzone-sdk-examples.png b/site/blog/img/teaclave-trustzone-sdk-examples.png
new file mode 100644
index 0000000..8565f85
Binary files /dev/null and b/site/blog/img/teaclave-trustzone-sdk-examples.png differ

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org