You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by yu...@apache.org on 2022/03/22 11:15:08 UTC

[incubator-teaclave-trustzone-sdk] branch release-v0.2.0 updated (3984789 -> 4f2330b)

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

yuanz pushed a change to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git.


    omit 3984789  Version bump to 0.2.0
     new 3f20682  Update to OP-TEE 3.16.0 (#59)
     new a65b0ff  Remove git submodules (#63)
     new f896ba7  Polish documentation and fix typo (#64)
     new 54ca0f6  Update KEYS (#65)
     new 4f2330b  Version bump to 0.2.0

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (3984789)
            \
             N -- N -- N   refs/heads/release-v0.2.0 (4f2330b)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/ci.yml                          |   2 +
 .gitmodules                                       |  21 ---
 KEYS                                              |  59 ++++++
 README.md                                         | 220 ++++++++++++++++++----
 docs/README.md                                    |   1 -
 docs/getting-started-with-optee-for-qemu-armv8.md | 104 ----------
 optee-teec/src/error.rs                           |   6 +-
 optee/build                                       |   1 -
 optee/optee_client                                |   1 -
 optee/optee_os                                    |   1 -
 rust/compiler-builtins                            |   1 -
 rust/libc                                         |   1 -
 rust/rust                                         |   1 -
 setup.sh                                          |  88 ++++++++-
 tests/optee-qemuv8.sh                             |   4 +-
 tests/test_acipher.sh                             |   6 +-
 tests/test_aes.sh                                 |   6 +-
 tests/test_authentication.sh                      |   6 +-
 tests/test_big_int.sh                             |   6 +-
 tests/test_diffie_hellman.sh                      |   6 +-
 tests/test_digest.sh                              |   6 +-
 tests/test_hello_world.sh                         |   6 +-
 tests/test_hotp.sh                                |   6 +-
 tests/test_message_passing_interface.sh           |   6 +-
 tests/test_random.sh                              |   6 +-
 tests/test_secure_storage.sh                      |   6 +-
 tests/test_serde.sh                               |   6 +-
 tests/test_supp_plugin.sh                         |   6 +-
 tests/test_tcp_client.sh                          |   6 +-
 tests/test_time.sh                                |   6 +-
 tests/test_udp_socket.sh                          |   6 +-
 31 files changed, 382 insertions(+), 225 deletions(-)
 delete mode 100644 .gitmodules
 delete mode 100644 docs/getting-started-with-optee-for-qemu-armv8.md
 delete mode 160000 optee/build
 delete mode 160000 optee/optee_client
 delete mode 160000 optee/optee_os
 delete mode 160000 rust/compiler-builtins
 delete mode 160000 rust/libc
 delete mode 160000 rust/rust

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


[incubator-teaclave-trustzone-sdk] 01/05: Update to OP-TEE 3.16.0 (#59)

Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit 3f20682bee95e8777e7cbb5c1bb5e7acb016ea33
Author: Yuan Zhuang <zh...@baidu.com>
AuthorDate: Sat Feb 12 05:10:31 2022 +0800

    Update to OP-TEE 3.16.0 (#59)
---
 optee/build                             | 2 +-
 optee/optee_client                      | 2 +-
 optee/optee_os                          | 2 +-
 tests/optee-qemuv8.sh                   | 4 ++--
 tests/test_acipher.sh                   | 6 +++---
 tests/test_aes.sh                       | 6 +++---
 tests/test_authentication.sh            | 6 +++---
 tests/test_big_int.sh                   | 6 +++---
 tests/test_diffie_hellman.sh            | 6 +++---
 tests/test_digest.sh                    | 6 +++---
 tests/test_hello_world.sh               | 6 +++---
 tests/test_hotp.sh                      | 6 +++---
 tests/test_message_passing_interface.sh | 6 +++---
 tests/test_random.sh                    | 6 +++---
 tests/test_secure_storage.sh            | 6 +++---
 tests/test_serde.sh                     | 6 +++---
 tests/test_supp_plugin.sh               | 6 +++---
 tests/test_tcp_client.sh                | 6 +++---
 tests/test_time.sh                      | 6 +++---
 tests/test_udp_socket.sh                | 6 +++---
 20 files changed, 53 insertions(+), 53 deletions(-)

diff --git a/optee/build b/optee/build
index 4a5b617..6a868e3 160000
--- a/optee/build
+++ b/optee/build
@@ -1 +1 @@
-Subproject commit 4a5b6176a6150ffce8951b31ea60f3c8195fe970
+Subproject commit 6a868e301304a7b3cdf8c10b684331bf81b6af1d
diff --git a/optee/optee_client b/optee/optee_client
index 06e1b32..06db73b 160000
--- a/optee/optee_client
+++ b/optee/optee_client
@@ -1 +1 @@
-Subproject commit 06e1b32f6a7028e039c625b07cfc25fda0c17d53
+Subproject commit 06db73b3f3fdb8d23eceaedbc46c49c0b45fd1e2
diff --git a/optee/optee_os b/optee/optee_os
index d21befa..d0b742d 160000
--- a/optee/optee_os
+++ b/optee/optee_os
@@ -1 +1 @@
-Subproject commit d21befa5e53eae9db469eba1685f5aa5c6f92c2f
+Subproject commit d0b742d1564834dac903f906168d7357063d5459
diff --git a/tests/optee-qemuv8.sh b/tests/optee-qemuv8.sh
index 1212769..193d068 100755
--- a/tests/optee-qemuv8.sh
+++ b/tests/optee-qemuv8.sh
@@ -17,12 +17,12 @@
 # specific language governing permissions and limitations
 # under the License.
 
-cd optee-qemuv8-3.14.0-ubuntu-20.04 && ./qemu-system-aarch64 \
+cd optee-qemuv8-3.16.0-ubuntu-20.04 && ./qemu-system-aarch64 \
     -nodefaults \
     -nographic \
     -serial stdio -serial file:/tmp/serial.log \
     -smp 2 \
-    -s -machine virt,secure=on -cpu cortex-a57 \
+    -s -machine virt,secure=on,gic-version=3 -cpu cortex-a57 \
     -d unimp -semihosting-config enable=on,target=native \
     -m 1057 \
     -bios bl1.bin \
diff --git a/tests/test_acipher.sh b/tests/test_acipher.sh
index d7922b6..202c6c5 100755
--- a/tests/test_acipher.sh
+++ b/tests/test_acipher.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/acipher-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/acipher-rs/host/target/aarch64-unknown-linux-gnu/release/acipher-rs shared
@@ -51,5 +51,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_aes.sh b/tests/test_aes.sh
index 6aeae34..4a45637 100755
--- a/tests/test_aes.sh
+++ b/tests/test_aes.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/aes-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/aes-rs/host/target/aarch64-unknown-linux-gnu/release/aes-rs shared
@@ -55,5 +55,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_authentication.sh b/tests/test_authentication.sh
index 5737fc2..9f394ef 100755
--- a/tests/test_authentication.sh
+++ b/tests/test_authentication.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/authentication-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/authentication-rs/host/target/aarch64-unknown-linux-gnu/release/authentication-rs shared
@@ -51,5 +51,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_big_int.sh b/tests/test_big_int.sh
index 9c2d00e..c406c9a 100755
--- a/tests/test_big_int.sh
+++ b/tests/test_big_int.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/big_int-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/big_int-rs/host/target/aarch64-unknown-linux-gnu/release/big_int-rs shared
@@ -58,5 +58,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_diffie_hellman.sh b/tests/test_diffie_hellman.sh
index c671983..d4fda78 100755
--- a/tests/test_diffie_hellman.sh
+++ b/tests/test_diffie_hellman.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/diffie_hellman-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/diffie_hellman-rs/host/target/aarch64-unknown-linux-gnu/release/diffie_hellman-rs shared
@@ -52,5 +52,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_digest.sh b/tests/test_digest.sh
index e83c104..12601da 100755
--- a/tests/test_digest.sh
+++ b/tests/test_digest.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/digest-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/digest-rs/host/target/aarch64-unknown-linux-gnu/release/digest-rs shared
@@ -51,5 +51,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_hello_world.sh b/tests/test_hello_world.sh
index a55e76b..6004587 100755
--- a/tests/test_hello_world.sh
+++ b/tests/test_hello_world.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/hello_world-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/hello_world-rs/host/target/aarch64-unknown-linux-gnu/release/hello_world-rs shared
@@ -53,5 +53,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_hotp.sh b/tests/test_hotp.sh
index c43ca8d..be58628 100755
--- a/tests/test_hotp.sh
+++ b/tests/test_hotp.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/hotp-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/hotp-rs/host/target/aarch64-unknown-linux-gnu/release/hotp-rs shared
@@ -51,5 +51,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_message_passing_interface.sh b/tests/test_message_passing_interface.sh
index e761547..82b208d 100755
--- a/tests/test_message_passing_interface.sh
+++ b/tests/test_message_passing_interface.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/message_passing_interface-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/message_passing_interface-rs/host/target/aarch64-unknown-linux-gnu/release/message_passing_interface-rs shared
@@ -50,5 +50,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_random.sh b/tests/test_random.sh
index 91edb66..db3aca5 100755
--- a/tests/test_random.sh
+++ b/tests/test_random.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/random-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/random-rs/host/target/aarch64-unknown-linux-gnu/release/random-rs shared
@@ -52,5 +52,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_secure_storage.sh b/tests/test_secure_storage.sh
index 9556c6c..58a3eb1 100755
--- a/tests/test_secure_storage.sh
+++ b/tests/test_secure_storage.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/secure_storage-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/secure_storage-rs/host/target/aarch64-unknown-linux-gnu/release/secure_storage-rs shared
@@ -60,5 +60,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_serde.sh b/tests/test_serde.sh
index 6fea03a..4349b72 100755
--- a/tests/test_serde.sh
+++ b/tests/test_serde.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/serde-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/serde-rs/host/target/aarch64-unknown-linux-gnu/release/serde-rs shared
@@ -53,5 +53,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_supp_plugin.sh b/tests/test_supp_plugin.sh
index b04695d..fc64f4a 100755
--- a/tests/test_supp_plugin.sh
+++ b/tests/test_supp_plugin.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/supp_plugin-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/supp_plugin-rs/host/target/aarch64-unknown-linux-gnu/release/supp_plugin-rs shared
@@ -61,5 +61,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_tcp_client.sh b/tests/test_tcp_client.sh
index 043fca5..140150e 100755
--- a/tests/test_tcp_client.sh
+++ b/tests/test_tcp_client.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/tcp_client-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/tcp_client-rs/host/target/aarch64-unknown-linux-gnu/release/tcp_client-rs shared
@@ -50,5 +50,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_time.sh b/tests/test_time.sh
index d7d5698..349455e 100755
--- a/tests/test_time.sh
+++ b/tests/test_time.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/time-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/time-rs/host/target/aarch64-unknown-linux-gnu/release/time-rs shared
@@ -54,5 +54,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
diff --git a/tests/test_udp_socket.sh b/tests/test_udp_socket.sh
index 0fdcf56..280a1ee 100755
--- a/tests/test_udp_socket.sh
+++ b/tests/test_udp_socket.sh
@@ -20,10 +20,10 @@
 set -xe
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared
 
-curl http://mesalock-linux.org/assets/optee-qemuv8-3.14.0-ubuntu-20.04.tar.gz | tar zxv
+curl http://mesalock-linux.org/assets/optee-qemuv8-3.16.0-ubuntu-20.04.tar.gz | tar zxv
 mkdir shared
 cp ../examples/udp_socket-rs/ta/target/aarch64-unknown-optee-trustzone/release/*.ta shared
 cp ../examples/udp_socket-rs/host/target/aarch64-unknown-linux-gnu/release/udp_socket-rs shared
@@ -50,5 +50,5 @@ sleep 5
 }
 
 rm -rf screenlog.0
-rm -rf optee-qemuv8-3.14.0-ubuntu-20.04
+rm -rf optee-qemuv8-3.16.0-ubuntu-20.04
 rm -rf shared

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


[incubator-teaclave-trustzone-sdk] 05/05: Version bump to 0.2.0

Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit 4f2330b3030039347148f2e118e761605d15d402
Author: Yuan Zhuang <zh...@baidu.com>
AuthorDate: Tue Mar 22 11:07:07 2022 +0000

    Version bump to 0.2.0
---
 examples/acipher-rs/host/Cargo.lock                |  64 +++++------
 examples/acipher-rs/host/Cargo.toml                |   2 +-
 examples/acipher-rs/proto/Cargo.toml               |   2 +-
 examples/acipher-rs/ta/Cargo.lock                  |  10 +-
 examples/acipher-rs/ta/Cargo.toml                  |   2 +-
 examples/aes-rs/host/Cargo.lock                    |  64 +++++------
 examples/aes-rs/host/Cargo.toml                    |   2 +-
 examples/aes-rs/proto/Cargo.toml                   |   2 +-
 examples/aes-rs/ta/Cargo.lock                      |  10 +-
 examples/aes-rs/ta/Cargo.toml                      |   2 +-
 examples/authentication-rs/host/Cargo.lock         |  64 +++++------
 examples/authentication-rs/host/Cargo.toml         |   2 +-
 examples/authentication-rs/proto/Cargo.toml        |   2 +-
 examples/authentication-rs/ta/Cargo.lock           |  10 +-
 examples/authentication-rs/ta/Cargo.toml           |   2 +-
 examples/big_int-rs/host/Cargo.lock                |  64 +++++------
 examples/big_int-rs/host/Cargo.toml                |   2 +-
 examples/big_int-rs/proto/Cargo.toml               |   2 +-
 examples/big_int-rs/ta/Cargo.lock                  |  10 +-
 examples/big_int-rs/ta/Cargo.toml                  |   2 +-
 examples/diffie_hellman-rs/host/Cargo.lock         |  64 +++++------
 examples/diffie_hellman-rs/host/Cargo.toml         |   2 +-
 examples/diffie_hellman-rs/proto/Cargo.toml        |   2 +-
 examples/diffie_hellman-rs/ta/Cargo.lock           |  10 +-
 examples/diffie_hellman-rs/ta/Cargo.toml           |   2 +-
 examples/digest-rs/host/Cargo.lock                 |  64 +++++------
 examples/digest-rs/host/Cargo.toml                 |   2 +-
 examples/digest-rs/proto/Cargo.toml                |   2 +-
 examples/digest-rs/ta/Cargo.lock                   |  10 +-
 examples/digest-rs/ta/Cargo.toml                   |   2 +-
 examples/hello_world-rs/host/Cargo.lock            |  64 +++++------
 examples/hello_world-rs/host/Cargo.toml            |   2 +-
 examples/hello_world-rs/proto/Cargo.toml           |   2 +-
 examples/hello_world-rs/ta/Cargo.lock              |  10 +-
 examples/hello_world-rs/ta/Cargo.toml              |   2 +-
 examples/hotp-rs/host/Cargo.lock                   |  64 +++++------
 examples/hotp-rs/host/Cargo.toml                   |   2 +-
 examples/hotp-rs/proto/Cargo.toml                  |   2 +-
 examples/hotp-rs/ta/Cargo.lock                     |  10 +-
 examples/hotp-rs/ta/Cargo.toml                     |   2 +-
 .../message_passing_interface-rs/host/Cargo.lock   | 124 ++++++++++-----------
 .../message_passing_interface-rs/host/Cargo.toml   |   2 +-
 .../message_passing_interface-rs/proto/Cargo.toml  |   2 +-
 .../message_passing_interface-rs/ta/Cargo.lock     |  10 +-
 .../message_passing_interface-rs/ta/Cargo.toml     |   2 +-
 examples/random-rs/host/Cargo.lock                 |  64 +++++------
 examples/random-rs/host/Cargo.toml                 |   2 +-
 examples/random-rs/proto/Cargo.toml                |   2 +-
 examples/random-rs/ta/Cargo.lock                   |  10 +-
 examples/random-rs/ta/Cargo.toml                   |   2 +-
 examples/secure_storage-rs/host/Cargo.lock         |  64 +++++------
 examples/secure_storage-rs/host/Cargo.toml         |   2 +-
 examples/secure_storage-rs/proto/Cargo.toml        |   2 +-
 examples/secure_storage-rs/ta/Cargo.lock           |  10 +-
 examples/secure_storage-rs/ta/Cargo.toml           |   2 +-
 examples/serde-rs/host/Cargo.lock                  |  92 +++++++--------
 examples/serde-rs/host/Cargo.toml                  |   2 +-
 examples/serde-rs/proto/Cargo.toml                 |   2 +-
 examples/serde-rs/ta/Cargo.lock                    |  10 +-
 examples/serde-rs/ta/Cargo.toml                    |   2 +-
 examples/supp_plugin-rs/host/Cargo.lock            |  62 +++++------
 examples/supp_plugin-rs/host/Cargo.toml            |   2 +-
 examples/supp_plugin-rs/plugin/Cargo.lock          |  68 +++++------
 examples/supp_plugin-rs/plugin/Cargo.toml          |   2 +-
 examples/supp_plugin-rs/proto/Cargo.toml           |   2 +-
 examples/supp_plugin-rs/ta/Cargo.lock              |  10 +-
 examples/supp_plugin-rs/ta/Cargo.toml              |   2 +-
 examples/tcp_client-rs/host/Cargo.lock             |  64 +++++------
 examples/tcp_client-rs/host/Cargo.toml             |   2 +-
 examples/tcp_client-rs/proto/Cargo.toml            |   2 +-
 examples/tcp_client-rs/ta/Cargo.lock               |  10 +-
 examples/tcp_client-rs/ta/Cargo.toml               |   2 +-
 examples/time-rs/host/Cargo.lock                   |  64 +++++------
 examples/time-rs/host/Cargo.toml                   |   2 +-
 examples/time-rs/proto/Cargo.toml                  |   2 +-
 examples/time-rs/ta/Cargo.lock                     |  10 +-
 examples/time-rs/ta/Cargo.toml                     |   2 +-
 examples/udp_socket-rs/host/Cargo.lock             |  64 +++++------
 examples/udp_socket-rs/host/Cargo.toml             |   2 +-
 examples/udp_socket-rs/proto/Cargo.toml            |   2 +-
 examples/udp_socket-rs/ta/Cargo.lock               |  10 +-
 examples/udp_socket-rs/ta/Cargo.toml               |   2 +-
 optee-teec/Cargo.toml                              |   2 +-
 optee-teec/macros/Cargo.toml                       |   2 +-
 optee-teec/optee-teec-sys/Cargo.toml               |   2 +-
 optee-teec/systest/Cargo.toml                      |   2 +-
 optee-utee/Cargo.toml                              |   2 +-
 optee-utee/macros/Cargo.toml                       |   2 +-
 optee-utee/optee-utee-sys/Cargo.toml               |   2 +-
 optee-utee/systest/Cargo.toml                      |   2 +-
 90 files changed, 726 insertions(+), 726 deletions(-)

diff --git a/examples/acipher-rs/host/Cargo.lock b/examples/acipher-rs/host/Cargo.lock
index 564e6f7..6ede04d 100644
--- a/examples/acipher-rs/host/Cargo.lock
+++ b/examples/acipher-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "acipher-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/acipher-rs/host/Cargo.toml b/examples/acipher-rs/host/Cargo.toml
index 7792b79..e8e3523 100644
--- a/examples/acipher-rs/host/Cargo.toml
+++ b/examples/acipher-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "acipher-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/acipher-rs/proto/Cargo.toml b/examples/acipher-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/acipher-rs/proto/Cargo.toml
+++ b/examples/acipher-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/acipher-rs/ta/Cargo.lock b/examples/acipher-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/acipher-rs/ta/Cargo.lock
+++ b/examples/acipher-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/acipher-rs/ta/Cargo.toml b/examples/acipher-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/acipher-rs/ta/Cargo.toml
+++ b/examples/acipher-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/aes-rs/host/Cargo.lock b/examples/aes-rs/host/Cargo.lock
index 20fe177..93b08e0 100644
--- a/examples/aes-rs/host/Cargo.lock
+++ b/examples/aes-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "aes-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/aes-rs/host/Cargo.toml b/examples/aes-rs/host/Cargo.toml
index 962bfe6..bacb6f2 100644
--- a/examples/aes-rs/host/Cargo.toml
+++ b/examples/aes-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "aes-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/aes-rs/proto/Cargo.toml b/examples/aes-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/aes-rs/proto/Cargo.toml
+++ b/examples/aes-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/aes-rs/ta/Cargo.lock b/examples/aes-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/aes-rs/ta/Cargo.lock
+++ b/examples/aes-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/aes-rs/ta/Cargo.toml b/examples/aes-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/aes-rs/ta/Cargo.toml
+++ b/examples/aes-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/authentication-rs/host/Cargo.lock b/examples/authentication-rs/host/Cargo.lock
index 45b6320..ff6f3f5 100644
--- a/examples/authentication-rs/host/Cargo.lock
+++ b/examples/authentication-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "authentication-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/authentication-rs/host/Cargo.toml b/examples/authentication-rs/host/Cargo.toml
index 3e2e44c..ad965ca 100644
--- a/examples/authentication-rs/host/Cargo.toml
+++ b/examples/authentication-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "authentication-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/authentication-rs/proto/Cargo.toml b/examples/authentication-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/authentication-rs/proto/Cargo.toml
+++ b/examples/authentication-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/authentication-rs/ta/Cargo.lock b/examples/authentication-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/authentication-rs/ta/Cargo.lock
+++ b/examples/authentication-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/authentication-rs/ta/Cargo.toml b/examples/authentication-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/authentication-rs/ta/Cargo.toml
+++ b/examples/authentication-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/big_int-rs/host/Cargo.lock b/examples/big_int-rs/host/Cargo.lock
index 59bff3e..17dfd58 100644
--- a/examples/big_int-rs/host/Cargo.lock
+++ b/examples/big_int-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "big_int-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/big_int-rs/host/Cargo.toml b/examples/big_int-rs/host/Cargo.toml
index 59c4b2a..2398712 100644
--- a/examples/big_int-rs/host/Cargo.toml
+++ b/examples/big_int-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "big_int-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/big_int-rs/proto/Cargo.toml b/examples/big_int-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/big_int-rs/proto/Cargo.toml
+++ b/examples/big_int-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/big_int-rs/ta/Cargo.lock b/examples/big_int-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/big_int-rs/ta/Cargo.lock
+++ b/examples/big_int-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/big_int-rs/ta/Cargo.toml b/examples/big_int-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/big_int-rs/ta/Cargo.toml
+++ b/examples/big_int-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/diffie_hellman-rs/host/Cargo.lock b/examples/diffie_hellman-rs/host/Cargo.lock
index dd8162d..a370a05 100644
--- a/examples/diffie_hellman-rs/host/Cargo.lock
+++ b/examples/diffie_hellman-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "diffie_hellman-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.4",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/diffie_hellman-rs/host/Cargo.toml b/examples/diffie_hellman-rs/host/Cargo.toml
index 6880923..01f45d9 100644
--- a/examples/diffie_hellman-rs/host/Cargo.toml
+++ b/examples/diffie_hellman-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "diffie_hellman-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/diffie_hellman-rs/proto/Cargo.toml b/examples/diffie_hellman-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/diffie_hellman-rs/proto/Cargo.toml
+++ b/examples/diffie_hellman-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/diffie_hellman-rs/ta/Cargo.lock b/examples/diffie_hellman-rs/ta/Cargo.lock
index d31ac83..32545a3 100644
--- a/examples/diffie_hellman-rs/ta/Cargo.lock
+++ b/examples/diffie_hellman-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/diffie_hellman-rs/ta/Cargo.toml b/examples/diffie_hellman-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/diffie_hellman-rs/ta/Cargo.toml
+++ b/examples/diffie_hellman-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/digest-rs/host/Cargo.lock b/examples/digest-rs/host/Cargo.lock
index 4e3714b..aa2e459 100644
--- a/examples/digest-rs/host/Cargo.lock
+++ b/examples/digest-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "digest-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/digest-rs/host/Cargo.toml b/examples/digest-rs/host/Cargo.toml
index 0936bf4..8506342 100644
--- a/examples/digest-rs/host/Cargo.toml
+++ b/examples/digest-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "digest-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/digest-rs/proto/Cargo.toml b/examples/digest-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/digest-rs/proto/Cargo.toml
+++ b/examples/digest-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/digest-rs/ta/Cargo.lock b/examples/digest-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/digest-rs/ta/Cargo.lock
+++ b/examples/digest-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/digest-rs/ta/Cargo.toml b/examples/digest-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/digest-rs/ta/Cargo.toml
+++ b/examples/digest-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hello_world-rs/host/Cargo.lock b/examples/hello_world-rs/host/Cargo.lock
index a5e85fc..eac8e1e 100644
--- a/examples/hello_world-rs/host/Cargo.lock
+++ b/examples/hello_world-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hello_world-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/hello_world-rs/host/Cargo.toml b/examples/hello_world-rs/host/Cargo.toml
index 7b5bd0c..ba98014 100644
--- a/examples/hello_world-rs/host/Cargo.toml
+++ b/examples/hello_world-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "hello_world-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hello_world-rs/proto/Cargo.toml b/examples/hello_world-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/hello_world-rs/proto/Cargo.toml
+++ b/examples/hello_world-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hello_world-rs/ta/Cargo.lock b/examples/hello_world-rs/ta/Cargo.lock
index 682ddf0..2980714 100644
--- a/examples/hello_world-rs/ta/Cargo.lock
+++ b/examples/hello_world-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/hello_world-rs/ta/Cargo.toml b/examples/hello_world-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/hello_world-rs/ta/Cargo.toml
+++ b/examples/hello_world-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hotp-rs/host/Cargo.lock b/examples/hotp-rs/host/Cargo.lock
index 4205dd7..204d616 100644
--- a/examples/hotp-rs/host/Cargo.lock
+++ b/examples/hotp-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "hotp-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/hotp-rs/host/Cargo.toml b/examples/hotp-rs/host/Cargo.toml
index ae56675..1b8df43 100644
--- a/examples/hotp-rs/host/Cargo.toml
+++ b/examples/hotp-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "hotp-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hotp-rs/proto/Cargo.toml b/examples/hotp-rs/proto/Cargo.toml
index 7e8b618..c2d5f6b 100644
--- a/examples/hotp-rs/proto/Cargo.toml
+++ b/examples/hotp-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/hotp-rs/ta/Cargo.lock b/examples/hotp-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/hotp-rs/ta/Cargo.lock
+++ b/examples/hotp-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/hotp-rs/ta/Cargo.toml b/examples/hotp-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/hotp-rs/ta/Cargo.toml
+++ b/examples/hotp-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/message_passing_interface-rs/host/Cargo.lock b/examples/message_passing_interface-rs/host/Cargo.lock
index 89b5ac4..f3586b7 100644
--- a/examples/message_passing_interface-rs/host/Cargo.lock
+++ b/examples/message_passing_interface-rs/host/Cargo.lock
@@ -1,208 +1,208 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "idna"
 version = "0.1.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
 dependencies = [
- "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "matches",
+ "unicode-bidi",
+ "unicode-normalization",
 ]
 
 [[package]]
 name = "itoa"
 version = "0.4.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "matches"
 version = "0.1.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
 
 [[package]]
 name = "message_passing_interface-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
- "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
+ "optee-teec",
+ "proto",
+ "url",
 ]
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "percent-encoding"
 version = "1.0.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde",
+ "serde_json",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "ryu"
 version = "0.2.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b96a9549dc8d48f2c283938303c4b5a77aa29bfbc5b54b084fb1630408899a8f"
 
 [[package]]
 name = "serde"
 version = "1.0.91"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a72e9b96fa45ce22a4bc23da3858dfccfd60acd28a25bcd328a98fdd6bea43fd"
 dependencies = [
- "serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
 version = "1.0.91"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "101b495b109a3e3ca8c4cbe44cf62391527cdfb6ba15821c5ce80bcd5ea23f9f"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "serde_json"
 version = "1.0.39"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
 dependencies = [
- "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
- "ryu 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itoa",
+ "ryu",
+ "serde",
 ]
 
 [[package]]
 name = "smallvec"
 version = "0.6.9"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
 
 [[package]]
 name = "syn"
 version = "0.15.34"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-bidi"
 version = "0.3.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
 dependencies = [
- "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "matches",
 ]
 
 [[package]]
 name = "unicode-normalization"
 version = "0.1.8"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426"
 dependencies = [
- "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "smallvec",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "url"
 version = "1.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
 dependencies = [
- "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
- "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "idna",
+ "matches",
+ "percent-encoding",
 ]
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
-"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
-"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
-"checksum ryu 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "b96a9549dc8d48f2c283938303c4b5a77aa29bfbc5b54b084fb1630408899a8f"
-"checksum serde 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)" = "a72e9b96fa45ce22a4bc23da3858dfccfd60acd28a25bcd328a98fdd6bea43fd"
-"checksum serde_derive 1.0.91 (registry+https://github.com/rust-lang/crates.io-index)" = "101b495b109a3e3ca8c4cbe44cf62391527cdfb6ba15821c5ce80bcd5ea23f9f"
-"checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
-"checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
-"checksum syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)" = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe"
-"checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
-"checksum unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/message_passing_interface-rs/host/Cargo.toml b/examples/message_passing_interface-rs/host/Cargo.toml
index d5d9b64..7bbc6c3 100644
--- a/examples/message_passing_interface-rs/host/Cargo.toml
+++ b/examples/message_passing_interface-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "message_passing_interface-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/message_passing_interface-rs/proto/Cargo.toml b/examples/message_passing_interface-rs/proto/Cargo.toml
index adf52d1..7f7f77a 100644
--- a/examples/message_passing_interface-rs/proto/Cargo.toml
+++ b/examples/message_passing_interface-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/message_passing_interface-rs/ta/Cargo.lock b/examples/message_passing_interface-rs/ta/Cargo.lock
index d4e5c5a..016d9ea 100644
--- a/examples/message_passing_interface-rs/ta/Cargo.lock
+++ b/examples/message_passing_interface-rs/ta/Cargo.lock
@@ -26,7 +26,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -38,7 +38,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -46,7 +46,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -62,7 +62,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "serde",
  "serde_json",
@@ -128,7 +128,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/message_passing_interface-rs/ta/Cargo.toml b/examples/message_passing_interface-rs/ta/Cargo.toml
index 80ab73c..8938fb4 100644
--- a/examples/message_passing_interface-rs/ta/Cargo.toml
+++ b/examples/message_passing_interface-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/random-rs/host/Cargo.lock b/examples/random-rs/host/Cargo.lock
index b7c9297..540b36f 100644
--- a/examples/random-rs/host/Cargo.lock
+++ b/examples/random-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "random-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/random-rs/host/Cargo.toml b/examples/random-rs/host/Cargo.toml
index d5c21e4..772d9db 100644
--- a/examples/random-rs/host/Cargo.toml
+++ b/examples/random-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "random-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/random-rs/proto/Cargo.toml b/examples/random-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/random-rs/proto/Cargo.toml
+++ b/examples/random-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/random-rs/ta/Cargo.lock b/examples/random-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/random-rs/ta/Cargo.lock
+++ b/examples/random-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/random-rs/ta/Cargo.toml b/examples/random-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/random-rs/ta/Cargo.toml
+++ b/examples/random-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/secure_storage-rs/host/Cargo.lock b/examples/secure_storage-rs/host/Cargo.lock
index 362c3ca..cc5fd4e 100644
--- a/examples/secure_storage-rs/host/Cargo.lock
+++ b/examples/secure_storage-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "secure_storage-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/secure_storage-rs/host/Cargo.toml b/examples/secure_storage-rs/host/Cargo.toml
index bc48b88..c9bc827 100644
--- a/examples/secure_storage-rs/host/Cargo.toml
+++ b/examples/secure_storage-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "secure_storage-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/secure_storage-rs/proto/Cargo.toml b/examples/secure_storage-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/secure_storage-rs/proto/Cargo.toml
+++ b/examples/secure_storage-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/secure_storage-rs/ta/Cargo.lock b/examples/secure_storage-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/secure_storage-rs/ta/Cargo.lock
+++ b/examples/secure_storage-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/secure_storage-rs/ta/Cargo.toml b/examples/secure_storage-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/secure_storage-rs/ta/Cargo.toml
+++ b/examples/secure_storage-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/serde-rs/host/Cargo.lock b/examples/serde-rs/host/Cargo.lock
index 5c6d0f9..74a172f 100644
--- a/examples/serde-rs/host/Cargo.lock
+++ b/examples/serde-rs/host/Cargo.lock
@@ -1,149 +1,149 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "itoa"
 version = "0.4.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.4",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.27"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.12"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
 dependencies = [
- "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "ryu"
 version = "0.2.7"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
 
 [[package]]
 name = "serde"
 version = "1.0.90"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4"
 dependencies = [
- "serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde_derive",
 ]
 
 [[package]]
 name = "serde-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
- "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
+ "optee-teec",
+ "proto",
+ "serde",
+ "serde_json",
 ]
 
 [[package]]
 name = "serde_derive"
 version = "1.0.90"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "58fc82bec244f168b23d1963b45c8bf5726e9a15a9d146a067f9081aeed2de79"
 dependencies = [
- "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "serde_json"
 version = "1.0.39"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
 dependencies = [
- "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
- "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
- "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
+ "itoa",
+ "ryu",
+ "serde",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.32"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "846620ec526c1599c070eff393bfeeeb88a93afa2513fc3b49f1fea84cf7b0ed"
 dependencies = [
- "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
-"checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
-"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
-"checksum serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4"
-"checksum serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "58fc82bec244f168b23d1963b45c8bf5726e9a15a9d146a067f9081aeed2de79"
-"checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
-"checksum syn 0.15.32 (registry+https://github.com/rust-lang/crates.io-index)" = "846620ec526c1599c070eff393bfeeeb88a93afa2513fc3b49f1fea84cf7b0ed"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/serde-rs/host/Cargo.toml b/examples/serde-rs/host/Cargo.toml
index 9bd1c9f..79a04f7 100644
--- a/examples/serde-rs/host/Cargo.toml
+++ b/examples/serde-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "serde-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/serde-rs/proto/Cargo.toml b/examples/serde-rs/proto/Cargo.toml
index 7e8b618..c2d5f6b 100644
--- a/examples/serde-rs/proto/Cargo.toml
+++ b/examples/serde-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/serde-rs/ta/Cargo.lock b/examples/serde-rs/ta/Cargo.lock
index 4bdf265..10f98a4 100644
--- a/examples/serde-rs/ta/Cargo.lock
+++ b/examples/serde-rs/ta/Cargo.lock
@@ -26,7 +26,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -38,7 +38,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote 0.6.12",
  "syn 0.15.39",
@@ -46,7 +46,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -71,7 +71,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -155,7 +155,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/serde-rs/ta/Cargo.toml b/examples/serde-rs/ta/Cargo.toml
index e8be5eb..4b09efa 100644
--- a/examples/serde-rs/ta/Cargo.toml
+++ b/examples/serde-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/supp_plugin-rs/host/Cargo.lock b/examples/supp_plugin-rs/host/Cargo.lock
index a7e0821..893b9cf 100644
--- a/examples/supp_plugin-rs/host/Cargo.lock
+++ b/examples/supp_plugin-rs/host/Cargo.lock
@@ -1,98 +1,98 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.48"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e962c7641008ac010fa60a7dfdc1712449f29c44ef2d4702394aea943ee75047"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "supp_plugin-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)" = "e962c7641008ac010fa60a7dfdc1712449f29c44ef2d4702394aea943ee75047"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
diff --git a/examples/supp_plugin-rs/host/Cargo.toml b/examples/supp_plugin-rs/host/Cargo.toml
index 99824a6..221f273 100644
--- a/examples/supp_plugin-rs/host/Cargo.toml
+++ b/examples/supp_plugin-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "supp_plugin-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/supp_plugin-rs/plugin/Cargo.lock b/examples/supp_plugin-rs/plugin/Cargo.lock
index 25ba86d..efff313 100644
--- a/examples/supp_plugin-rs/plugin/Cargo.lock
+++ b/examples/supp_plugin-rs/plugin/Cargo.lock
@@ -1,106 +1,106 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.48"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e962c7641008ac010fa60a7dfdc1712449f29c44ef2d4702394aea943ee75047"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "syslog_plugin"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "optee-teec-sys 0.1.0",
- "proto 0.1.0",
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
+ "optee-teec",
+ "optee-teec-sys",
+ "proto",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)" = "e962c7641008ac010fa60a7dfdc1712449f29c44ef2d4702394aea943ee75047"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/supp_plugin-rs/plugin/Cargo.toml b/examples/supp_plugin-rs/plugin/Cargo.toml
index 76f1e37..f2aee2f 100644
--- a/examples/supp_plugin-rs/plugin/Cargo.toml
+++ b/examples/supp_plugin-rs/plugin/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "syslog_plugin"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/supp_plugin-rs/proto/Cargo.toml b/examples/supp_plugin-rs/proto/Cargo.toml
index f2f412d..c2277ee 100644
--- a/examples/supp_plugin-rs/proto/Cargo.toml
+++ b/examples/supp_plugin-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/supp_plugin-rs/ta/Cargo.lock b/examples/supp_plugin-rs/ta/Cargo.lock
index 679c546..0c100bd 100644
--- a/examples/supp_plugin-rs/ta/Cargo.lock
+++ b/examples/supp_plugin-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid 0.7.4",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/supp_plugin-rs/ta/Cargo.toml b/examples/supp_plugin-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/supp_plugin-rs/ta/Cargo.toml
+++ b/examples/supp_plugin-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/tcp_client-rs/host/Cargo.lock b/examples/tcp_client-rs/host/Cargo.lock
index f6b051e..f74c414 100644
--- a/examples/tcp_client-rs/host/Cargo.lock
+++ b/examples/tcp_client-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "tcp_client-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/tcp_client-rs/host/Cargo.toml b/examples/tcp_client-rs/host/Cargo.toml
index 4c1df7a..03a5128 100644
--- a/examples/tcp_client-rs/host/Cargo.toml
+++ b/examples/tcp_client-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "tcp_client-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/tcp_client-rs/proto/Cargo.toml b/examples/tcp_client-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/tcp_client-rs/proto/Cargo.toml
+++ b/examples/tcp_client-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/tcp_client-rs/ta/Cargo.lock b/examples/tcp_client-rs/ta/Cargo.lock
index 682ddf0..2980714 100644
--- a/examples/tcp_client-rs/ta/Cargo.lock
+++ b/examples/tcp_client-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/tcp_client-rs/ta/Cargo.toml b/examples/tcp_client-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/tcp_client-rs/ta/Cargo.toml
+++ b/examples/tcp_client-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/time-rs/host/Cargo.lock b/examples/time-rs/host/Cargo.lock
index 685e594..70bf765 100644
--- a/examples/time-rs/host/Cargo.lock
+++ b/examples/time-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "time-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/time-rs/host/Cargo.toml b/examples/time-rs/host/Cargo.toml
index cfdcea8..fc067a0 100644
--- a/examples/time-rs/host/Cargo.toml
+++ b/examples/time-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "time-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/time-rs/proto/Cargo.toml b/examples/time-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/time-rs/proto/Cargo.toml
+++ b/examples/time-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/time-rs/ta/Cargo.lock b/examples/time-rs/ta/Cargo.lock
index 9d011c6..7657d4a 100644
--- a/examples/time-rs/ta/Cargo.lock
+++ b/examples/time-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/time-rs/ta/Cargo.toml b/examples/time-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/time-rs/ta/Cargo.toml
+++ b/examples/time-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/udp_socket-rs/host/Cargo.lock b/examples/udp_socket-rs/host/Cargo.lock
index 5979f6d..214aa48 100644
--- a/examples/udp_socket-rs/host/Cargo.lock
+++ b/examples/udp_socket-rs/host/Cargo.lock
@@ -1,104 +1,104 @@
 # This file is automatically @generated by Cargo.
 # It is not intended for manual editing.
+version = 3
+
 [[package]]
 name = "hex"
 version = "0.3.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
 
 [[package]]
 name = "libc"
 version = "0.2.95"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
 
 [[package]]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec-macros 0.1.0",
- "optee-teec-sys 0.1.0",
- "uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "hex",
+ "libc",
+ "optee-teec-macros",
+ "optee-teec-sys",
+ "uuid 0.7.2",
 ]
 
 [[package]]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote",
+ "syn",
 ]
 
 [[package]]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc",
 ]
 
 [[package]]
 name = "proc-macro2"
 version = "0.4.30"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
 dependencies = [
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "uuid 0.8.2",
 ]
 
 [[package]]
 name = "quote"
 version = "0.6.13"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
 ]
 
 [[package]]
 name = "syn"
 version = "0.15.44"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
 dependencies = [
- "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
- "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
- "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "proc-macro2",
+ "quote",
+ "unicode-xid",
 ]
 
 [[package]]
 name = "udp_socket-rs"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
- "libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)",
- "optee-teec 0.1.0",
- "proto 0.1.0",
+ "libc",
+ "optee-teec",
+ "proto",
 ]
 
 [[package]]
 name = "unicode-xid"
 version = "0.1.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
 
 [[package]]
 name = "uuid"
 version = "0.7.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
 
 [[package]]
 name = "uuid"
 version = "0.8.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-
-[metadata]
-"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
-"checksum libc 0.2.95 (registry+https://github.com/rust-lang/crates.io-index)" = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
-"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
-"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
-"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
-"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
-"checksum uuid 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0238db0c5b605dd1cf51de0f21766f97fba2645897024461d6a00c036819a768"
-"checksum uuid 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
+checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
diff --git a/examples/udp_socket-rs/host/Cargo.toml b/examples/udp_socket-rs/host/Cargo.toml
index 3353eb4..99d8f8c 100644
--- a/examples/udp_socket-rs/host/Cargo.toml
+++ b/examples/udp_socket-rs/host/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "udp_socket-rs"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/udp_socket-rs/proto/Cargo.toml b/examples/udp_socket-rs/proto/Cargo.toml
index b829510..a12d1c0 100644
--- a/examples/udp_socket-rs/proto/Cargo.toml
+++ b/examples/udp_socket-rs/proto/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/examples/udp_socket-rs/ta/Cargo.lock b/examples/udp_socket-rs/ta/Cargo.lock
index 682ddf0..2980714 100644
--- a/examples/udp_socket-rs/ta/Cargo.lock
+++ b/examples/udp_socket-rs/ta/Cargo.lock
@@ -20,7 +20,7 @@ version = "0.2.99"
 
 [[package]]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "bitflags",
  "hex",
@@ -32,7 +32,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "quote",
  "syn",
@@ -40,7 +40,7 @@ dependencies = [
 
 [[package]]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
 ]
@@ -56,7 +56,7 @@ dependencies = [
 
 [[package]]
 name = "proto"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "uuid",
 ]
@@ -83,7 +83,7 @@ dependencies = [
 
 [[package]]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 dependencies = [
  "libc",
  "optee-utee",
diff --git a/examples/udp_socket-rs/ta/Cargo.toml b/examples/udp_socket-rs/ta/Cargo.toml
index 742f5fe..6a75dbb 100644
--- a/examples/udp_socket-rs/ta/Cargo.toml
+++ b/examples/udp_socket-rs/ta/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "ta"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-teec/Cargo.toml b/optee-teec/Cargo.toml
index a72b6a8..fe09b69 100644
--- a/optee-teec/Cargo.toml
+++ b/optee-teec/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-teec"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-teec/macros/Cargo.toml b/optee-teec/macros/Cargo.toml
index 7ba7149..76b4186 100644
--- a/optee-teec/macros/Cargo.toml
+++ b/optee-teec/macros/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-teec-macros"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-teec/optee-teec-sys/Cargo.toml b/optee-teec/optee-teec-sys/Cargo.toml
index 3f00ec9..c8b3573 100644
--- a/optee-teec/optee-teec-sys/Cargo.toml
+++ b/optee-teec/optee-teec-sys/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-teec-sys"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-teec/systest/Cargo.toml b/optee-teec/systest/Cargo.toml
index ad270bd..81ed113 100644
--- a/optee-teec/systest/Cargo.toml
+++ b/optee-teec/systest/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "systest"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-utee/Cargo.toml b/optee-utee/Cargo.toml
index 6704593..c0ea0f2 100644
--- a/optee-utee/Cargo.toml
+++ b/optee-utee/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-utee"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-utee/macros/Cargo.toml b/optee-utee/macros/Cargo.toml
index d2a4247..6b31cf0 100644
--- a/optee-utee/macros/Cargo.toml
+++ b/optee-utee/macros/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-utee-macros"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-utee/optee-utee-sys/Cargo.toml b/optee-utee/optee-utee-sys/Cargo.toml
index 4caeba7..5f0cc71 100644
--- a/optee-utee/optee-utee-sys/Cargo.toml
+++ b/optee-utee/optee-utee-sys/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "optee-utee-sys"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"
diff --git a/optee-utee/systest/Cargo.toml b/optee-utee/systest/Cargo.toml
index e471827..d714db5 100644
--- a/optee-utee/systest/Cargo.toml
+++ b/optee-utee/systest/Cargo.toml
@@ -17,7 +17,7 @@
 
 [package]
 name = "systest"
-version = "0.1.0"
+version = "0.2.0"
 authors = ["Teaclave Contributors <de...@teaclave.apache.org>"]
 license = "Apache-2.0"
 repository = "https://github.com/apache/incubator-teaclave-trustzone-sdk.git"

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


[incubator-teaclave-trustzone-sdk] 02/05: Remove git submodules (#63)

Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit a65b0ffe39276b865c04d93cd1526931fcb7724c
Author: Yuan Zhuang <zh...@baidu.com>
AuthorDate: Fri Mar 18 07:14:51 2022 +0800

    Remove git submodules (#63)
    
    * Remove git submodules
    
    - Remove git submodules optee/ and rust/
    - Initialize optee/ and rust/ submodules in setup.sh
    - Update ci.yml
    
    * Update the getting started documentation
    
    * Remove .gitmodules
---
 .github/workflows/ci.yml |  2 ++
 .gitmodules              | 21 ------------
 README.md                | 46 ++++++++++++++++++-------
 optee/build              |  1 -
 optee/optee_client       |  1 -
 optee/optee_os           |  1 -
 rust/compiler-builtins   |  1 -
 rust/libc                |  1 -
 rust/rust                |  1 -
 setup.sh                 | 88 +++++++++++++++++++++++++++++++++++++++++++++---
 10 files changed, 119 insertions(+), 44 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index df22076..e5aa727 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,6 +37,7 @@ jobs:
           ln -sf /root/.cargo ~/.cargo
       - name: Building
         run: |
+          ./setup.sh &&
           source environment &&
           make optee &&
           . ~/.cargo/env &&
@@ -62,6 +63,7 @@ jobs:
           ln -sf /root/.cargo ~/.cargo
       - name: Building
         run: |
+          ./setup.sh &&
           source environment &&
           make optee &&
           . ~/.cargo/env &&
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 48bfdb9..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,21 +0,0 @@
-[submodule "optee/build"]
-	path = optee/build
-	url = https://github.com/OP-TEE/build.git
-[submodule "optee/optee_os"]
-	path = optee/optee_os
-	url = https://github.com/OP-TEE/optee_os.git
-[submodule "optee/optee_client"]
-	path = optee/optee_client
-	url = https://github.com/OP-TEE/optee_client.git
-[submodule "rust/rust"]
-	path = rust/rust
-	url = https://github.com/mesalock-linux/rust.git
-	branch = teaclave-trustzone-sdk-1.56.1
-[submodule "rust/libc"]
-	path = rust/libc
-	url = https://github.com/mesalock-linux/libc.git
-	branch = teaclave-trustzone-sdk-0.2.99
-[submodule "rust/compiler-builtins"]
-	path = rust/compiler-builtins
-	url = https://github.com/mesalock-linux/compiler-builtins.git
-	branch = teaclave-trustzone-sdk-0.1.44
diff --git a/README.md b/README.md
index d5cd63d..0c025c5 100644
--- a/README.md
+++ b/README.md
@@ -14,8 +14,10 @@ crates). Teaclave TrustZone SDK is a sub-project of [Apache Teaclave (incubating
 
 ## Getting started
 
-To get started, you need to clone the project, initialize related submodules,
-and install building dependencies (The complete list of prerequisites can be found here: [OP-TEE Prerequisites](https://optee.readthedocs.io/en/latest/building/prerequisites.html)).
+#### 1. Clone the project and install building dependencies 
+
+The complete list of prerequisites can be found here: [OP-TEE Prerequisites](https://optee.readthedocs.io/en/latest/building/prerequisites.html).
+
 Alternatively, you can use a docker container built with our [Dockerfile](Dockerfile).
 
 ``` sh
@@ -32,16 +34,11 @@ $ sudo apt-get install android-tools-adb android-tools-fastboot autoconf \
 # clone the project
 $ git clone git@github.com:apache/incubator-teaclave-trustzone-sdk.git
 $ cd incubator-teaclave-trustzone-sdk
-# initialize related submodules and install Rust environment
-$ ./setup.sh
 ```
 
-By default, the `OPTEE_DIR` is `incubator-teaclave-trustzone-sdk/optee/`.
-``` sh
-# initialize OP-TEE submodule
-$ git submodule update --init -- optee
-```
-If you already have [OP-TEE repository](https://github.com/OP-TEE) 
+#### 2. Install Rust environment and initialize related submodules
+
+* By default, the `OPTEE_DIR` is `incubator-teaclave-trustzone-sdk/optee/`.If you already have [OP-TEE repository](https://github.com/OP-TEE) 
 cloned, you can set OP-TEE root directory:
 
 ``` sh
@@ -51,6 +48,16 @@ $ export OPTEE_DIR=path/to/your/optee/root/directory
 Note that your OPTEE root directory should have `build/`, `optee_os/` and 
 `optee_client/` as sub-directory.
 
+
+
+* Run the script as follows to install Rust environment and set up submodules in `optee/` and `rust/`.
+
+```
+$ ./setup.sh
+```
+
+#### 3. Set environment variables
+
 Before building examples, the environment should be properly setup.
 
 ``` sh
@@ -65,6 +72,8 @@ $ export ARCH=arm
 $ source environment
 ```
 
+#### 4. Build OP-TEE libraries
+
 Then, download ARM toolchains and build OP-TEE libraries. Note that the OP-TEE
 target is QEMUv8, and you can modify the Makefile to other targets accordingly.
 
@@ -72,12 +81,22 @@ target is QEMUv8, and you can modify the Makefile to other targets accordingly.
 $ make optee
 ```
 
-At last, you can get started with our examples.
+#### 5. Build Rust examples
+
+Run this command to build all Rust examples:
 
 ``` sh
 $ make examples
 ```
 
+Collect all example CAs and TAs to `/incubator-teaclave-trustzone-sdk/out`:
+
+``` sh
+$ make examples-install
+```
+
+#### 6. Run Rust examples
+
 Please read detailed
 [instructions](https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/)
 to run these examples on OP-TEE for QEMU. For other supported devices, please find
@@ -85,8 +104,9 @@ more documents [here](https://optee.readthedocs.io/en/latest/general/platforms.h
 
 ## Documentation
 
-- [Getting Started with OPTEE for QEMU ARMv8](docs/getting-started-with-optee-for-qemu-armv8.md)
-- [Overview of OP-TEE Rust Examples](docs/overview-of-optee-rust-examples.md)
+- [Getting Started with OPTEE for QEMU ARMv8](https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/)
+- [Overview of OP-TEE Rust Examples](https://teaclave.apache.org/trustzone-sdk-docs/overview-of-optee-rust-examples/)
+- [Debugging OP-TEE TA](https://teaclave.apache.org/trustzone-sdk-docs/debugging-optee-ta.md/)
 - [Host API Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-teec/)
 - [TA API Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-utee/)
 
diff --git a/optee/build b/optee/build
deleted file mode 160000
index 6a868e3..0000000
--- a/optee/build
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 6a868e301304a7b3cdf8c10b684331bf81b6af1d
diff --git a/optee/optee_client b/optee/optee_client
deleted file mode 160000
index 06db73b..0000000
--- a/optee/optee_client
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 06db73b3f3fdb8d23eceaedbc46c49c0b45fd1e2
diff --git a/optee/optee_os b/optee/optee_os
deleted file mode 160000
index d0b742d..0000000
--- a/optee/optee_os
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit d0b742d1564834dac903f906168d7357063d5459
diff --git a/rust/compiler-builtins b/rust/compiler-builtins
deleted file mode 160000
index 45a2e49..0000000
--- a/rust/compiler-builtins
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 45a2e4996fe732172004b292b07397f9a02265ab
diff --git a/rust/libc b/rust/libc
deleted file mode 160000
index 1ddfbbb..0000000
--- a/rust/libc
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 1ddfbbbc190bec0f5ec32b08e97585b34d0c6b09
diff --git a/rust/rust b/rust/rust
deleted file mode 160000
index 6abda66..0000000
--- a/rust/rust
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 6abda667852184641149d34da4730d96ba4f7d31
diff --git a/setup.sh b/setup.sh
index 4bfada5..04fb8d5 100755
--- a/setup.sh
+++ b/setup.sh
@@ -17,6 +17,9 @@
 # specific language governing permissions and limitations
 # under the License.
 
+set -xe
+
+##########################################
 # install Rust and select a proper version
 curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly-2021-09-20
 source $HOME/.cargo/env
@@ -27,7 +30,84 @@ rustup default 1.44.0 && cargo +1.44.0 install xargo
 # switch to nightly
 rustup default nightly-2021-09-20
 
-# initialize Teaclave TrustZone SDK submodule
-git submodule update --init -- rust
-cd rust/compiler-builtins && git submodule update --init libm
-cd ../rust && git submodule update --init library/stdarch && git submodule update --init library/backtrace
+########################################################
+# initialize submodules: optee_os / optee_client / build
+OPTEE_RELEASE_VERSION=3.16.0
+
+if [[ -z $OPTEE_DIR ]] || [[ $OPTEE_DIR==$PWD/optee ]]
+then
+	OPTEE_DIR=$PWD/optee
+	echo optee dir: $OPTEE_DIR
+	OPTEE_SUBMODULES=("optee_os" "optee_client" "build")
+
+	if [ ! -d $OPTEE_DIR ]
+	then
+		mkdir $OPTEE_DIR
+	else
+		rm -r $OPTEE_DIR/*
+	fi
+
+	# download optee release
+	echo "Downloading optee release..."
+	for submodule in ${OPTEE_SUBMODULES[*]}
+	do
+		echo "Downloading $submodule..."
+		curl --retry 5 -s -S \
+			-L https://github.com/OP-TEE/$submodule/archive/refs/tags/$OPTEE_RELEASE_VERSION.tar.gz \
+			-o $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz
+		if [ ! $? -eq 0 ]
+		then
+			rm $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz && \
+				echo "Download failed" && \
+				exit 1
+		fi
+		echo "Uncompressing $submodule..."
+		mkdir -p $OPTEE_DIR/$submodule && \
+			tar zxf $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz \
+			-C $OPTEE_DIR/$submodule --strip-components 1
+	        if [ ! $? -eq 0 ]
+		then
+			rm $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz && \
+				rm -r $OPTEE_DIR/$submodule && \
+				echo "Downloaded file is damaged" && \
+				exit 1
+	        fi
+		rm $OPTEE_DIR/$OPTEE_RELEASE_VERSION.tar.gz
+	done
+	echo "Download finished"
+else
+	echo "OPTEE_DIR has been set, omit to download optee submodules"
+fi
+
+
+########################################################
+# initialize submodules: rust / compiler-builtins / libc
+RUST_COMMIT_ID=6abda667852184641149d34da4730d96ba4f7d31
+COMPILER_BUILTINS_COMMIT_ID=45a2e4996fe732172004b292b07397f9a02265ab
+LIBC_COMMIT_ID=1ddfbbbc190bec0f5ec32b08e97585b34d0c6b09
+
+if [ ! -d rust/ ]
+then
+        mkdir rust/
+else
+        rm -r rust/*
+fi
+
+cd rust
+
+git clone https://github.com/mesalock-linux/rust.git && \
+	(cd rust && \
+	git checkout $RUST_COMMIT_ID && \
+	git submodule update --init library/stdarch && \
+	git submodule update --init library/backtrace)
+
+git clone https://github.com/mesalock-linux/compiler-builtins.git && \
+	(cd compiler-builtins && \
+	git checkout $COMPILER_BUILTINS_COMMIT_ID && \
+	git submodule update --init libm)
+
+git clone https://github.com/mesalock-linux/libc.git && \
+	(cd libc && \
+	git checkout $LIBC_COMMIT_ID)
+
+echo "Rust submodules initialized"

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


[incubator-teaclave-trustzone-sdk] 04/05: Update KEYS (#65)

Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit 54ca0f695294d440f3f6d1a67783482bf833ffb9
Author: Yuan Zhuang <zh...@baidu.com>
AuthorDate: Tue Mar 22 17:37:29 2022 +0800

    Update KEYS (#65)
---
 KEYS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/KEYS b/KEYS
index 2429a56..4424479 100644
--- a/KEYS
+++ b/KEYS
@@ -68,3 +68,62 @@ fHSVeh9NpleXZZcSDRGh5AQ0ZBEuPEv1s19zjtoeXJpT/rR3eCPu88T3jO59PloA
 LZbJfgPxBXQeIp5JrSY=
 =gyoz
 -----END PGP PUBLIC KEY BLOCK-----
+pub   rsa4096 2022-03-22 [SC]
+      0EB981FF1E89A67501A066917908D97001F196A2
+uid           [ultimate] Yuan Zhuang (CODE SIGNING KEY) <yu...@apache.org>
+sig 3        7908D97001F196A2 2022-03-22  Yuan Zhuang (CODE SIGNING KEY) <yu...@apache.org>
+sub   rsa4096 2022-03-22 [E]
+sig          7908D97001F196A2 2022-03-22  Yuan Zhuang (CODE SIGNING KEY) <yu...@apache.org>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBGI5eDwBEADGQFX+rGX5vY5+hhhrc3Hrxvg8HwHvLQixid2G8f8yNTqydCCh
+SgHHB8TvOwNNNQSEgAd4Fhssw5Mihaeex9Vq5UDJugwFyjnYzaCSLGcgRBsp+o5x
+X9Rqp+z3Zg9p/4QP+xcXj/ONcVtDAVtujeW1pUIXrG1kUoIvlxiCerNMxerOJbNZ
+PdpGA3D105p6Kxo3v5c31XCm7ea75pg/el3oy/VeFewkazKB+2zNihET1qYSyBuv
+I8YIGDEmnNsLn0GE3sZA9bWLeIdGFv02NTkyKIGt7ZcmCiFGVR4/Lxr1ve4hQWE1
+XGZZZIbsbcqUvVw2mowyG9F1DbCEy37o4YTwB9SD9V+TP59D9+Y7/x0P4NxDj19q
+8vAm5evOsr3Dn3EfJ3OzyKsBY2+dLWYV288dynNdeQu/qjYWCzgep6iy+uYmWPei
+urnmQf2C3f7lZ3NejKFSCGD8uBYwxtQO+tSWsq9ic2ALJQihj8rwlEX1QGVVT/Tr
+hUp4oqRSGl7nqEcxJe3H5zLuVmbUql2Xs+gf9e+O7G/aed0V+f/pZFpurSPHb7w2
+F45+npII6UDYXHIe3LfMjgdwuuZfTFUz43aAZJd5x2kdGrjGq/WO8+U7Y3lyFUHq
+qTsHti+HK7D4cSEs19h7cdLBqym9xuzVVQGm8WD5z4vq7oGh7X0GwQfd8wARAQAB
+tDFZdWFuIFpodWFuZyAoQ09ERSBTSUdOSU5HIEtFWSkgPHl1YW56QGFwYWNoZS5v
+cmc+iQJOBBMBCgA4FiEEDrmB/x6JpnUBoGaReQjZcAHxlqIFAmI5eDwCGwMFCwkI
+BwIGFQoJCAsCBBYCAwECHgECF4AACgkQeQjZcAHxlqKdkw/9FkKk8xkbQffnJgA9
+10fzDSbDHfDHoUYnew5OqCM8xpmS72WJCDr4pu23X9L+pgx4u8LDxsGq69BDcAwg
+/ENTIXTdv+GprS3seNkiUR62qh8g9Z63AuEUWrxRcsZsRY4GYSxPAPI78cLBgLQk
+u8tXkXpiDEeJbl2xkOLXbsK02zMOFobk9LXs0fVB+X2khvEh7K/Djt+4srQ524gq
+Fyg/iUbzOCwIrqhYicp8h/qzDfZmhuuKsa6DLyvyPi5FYYNWlPXH7St4qfIHci7Q
+OWB0bCicWq77zQoaxjryzwE54WJYJrlFmB/q8jTDCf/1Oe2FSebFGrSilL0Lgc5H
+SOM8Oh2nWqbKmDVOTSuyZXRT1HCPjcDKwHTWCvSmZ6cu+cq/4hS2xvETqwM5kwgP
+GP/cF+h4dnrN/w9gvytXCiVak3DDr7daB9EN2YR/FdlyhqhRF/tgMCrlAMbkq/me
+XcIbHXBt4yPATss+AZWXIvai4NvER1Q0G9pwnIGOp7YT98mD+MnHg0csHJQed2lF
+NPj04GuxYruu3JuJojAwKuGD/9x7CI9KA/+4fiXW0o1774trzgU8DJpdM2jLRc4F
+FCbWf2helCCHKaqtSDWDxdGkCsIkdKMGAThdt3WDIArA8bUTPg0H2uarclbnL/MW
+RdD3A97Zei/XZdnw/Gi4zvwd/Hy5Ag0EYjl4PAEQANGYjM1MSqgBwVxZqLZJQv6i
+oy1KyyR6PmMIm3oXNwR+If2KPrOYzcU51wJx6f9vjE8VHrRc0U13/is4DeRUZE7/
+Fb5dBTHOjw/bplEmCn9q9btqQ2GFRzNKasWAnTwE3jf+O5VUe4CMgXqsXbvXJqUW
+QyqpYBgzSQb1uQBkYej+l+6oKWHWp8lngIwZq7z7sDap4Ya/Dh56AWWion2sH5Ao
+ElkcNLHVFodWKIFDgTmn6NryI2z6/Qd0gtStFEfxLQX2Vi/f7jGh9AdCskLazMkb
+NrZ2xZRF/ypxIktA1R4S8Eelu4hGzmpBMdukSfEw8pGa5oRL2JQ7SMCVoj4z6dUs
+1IwOiq1soysLII7M1+GAGAYk4/I+RZVF4f1Uo51FfmifjLDgG2IhvVBhO9gjIZ3E
+a1Qrn0GtSMqBy0IzTJH4GHprVhabzfz7LWpgv8SzDJS/bml18sID9i47NKux2WfL
+DFM9mMHb9R3NwSC8z8v/B8ZRXFUJuRoBkb1xiO9tHtwQl1ndzQI8TgrC11QozpYW
+FHAKlPesriWC1Az8hl4/4OJtLGBG2WFPpAF0jL4MvjrnH6iBR9S1qE0+QokGyOLf
+EQSk0+Gftn05JXI8Qei4Cm0m2zlJ5svh5YmkGGPEtsePstaidNt0B+CWRxGcCJ2Z
+O8e04H0RveGe+q0kMDGZABEBAAGJAjYEGAEKACAWIQQOuYH/HommdQGgZpF5CNlw
+AfGWogUCYjl4PAIbDAAKCRB5CNlwAfGWolCoEACqVul9pmjyE6I/Da3laffrUdla
+F+RkwhYDUIFCIf+Fv5D6vuT9FiWEhuOutBB2mWaJbkazhKMPZI9rphsmGu1BIHH6
+fdGHYtvkfqtg2Iw6ABN6WoetSV5Mu3kn8JV/EIxpcmd8nTFNZHLrwbHIVxxJ5oDh
+GsNJcV/UKxO3VHEt/crZpSrXpEW/Ii7hIQmIWEIjuKC728mDhgxfI8nCAOVrsS4W
+W9xwmwOy8Y3yIGjM4xoKsw0G83EkbD7POPk+anj9bqMWQ69GTIoiOeJeFA6uqjXr
+vH3Mw5Qwpkkconsuz3D29zpk1MhLm4pwCcN5p8oinetBn1P7Lyqo7QQk3fmI3kME
+XHULK/mT9DdVe1j5cuL/mtZrPN84SZOYIs5G6HcZI1Z6zFIQctRXmJ601fQdpze7
+8j8T4WmB1tvy2xSTbYTkOakt6tcEVm5q4STeCtk613aZ/DKerSBM+IQFVLn1PwYI
+j/O2SPsJqAsHPoFFQr/n0WscIAx51BfmbnWgUotgcjfg2Woy0jpaaovOJGoDKSQz
+t3FKl47dMA5SAhWXmnwyCwiR+7LUk1lbESin2RjTdU6aU+UCjmyXbkHklxzZ7rpp
+Du8ERRgwUQOw0Efbv8f8PaCWgsr27BIWFbB7h5WI2Erl6duV3Jw61RRyMpnDrQY9
+997ox+6JHeUFs4Qn8Q==
+=7UUt
+-----END PGP PUBLIC KEY BLOCK-----

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


[incubator-teaclave-trustzone-sdk] 03/05: Polish documentation and fix typo (#64)

Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yuanz pushed a commit to branch release-v0.2.0
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git

commit f896ba7e851e256e42a085586aa0ac7ac07549c9
Author: Yuan Zhuang <zh...@baidu.com>
AuthorDate: Sat Mar 19 00:18:20 2022 +0800

    Polish documentation and fix typo (#64)
---
 README.md                                         | 194 ++++++++++++++++++----
 docs/README.md                                    |   1 -
 docs/getting-started-with-optee-for-qemu-armv8.md | 104 ------------
 optee-teec/src/error.rs                           |   6 +-
 4 files changed, 164 insertions(+), 141 deletions(-)

diff --git a/README.md b/README.md
index 0c025c5..08bd56f 100644
--- a/README.md
+++ b/README.md
@@ -10,47 +10,169 @@ safe TrustZone applications in Rust. The SDK is based on the
 [GlobalPlatform](https://globalplatform.org/) 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)](https://teaclave.apache.org/).
+crates). Teaclave TrustZone SDK is a sub-project of [Apache Teaclave
+(incubating)](https://teaclave.apache.org/).
 
 ## Getting started
 
-#### 1. Clone the project and install building dependencies 
+### Quick start with the OP-TEE Repo for QEMUv8
 
-The complete list of prerequisites can be found here: [OP-TEE Prerequisites](https://optee.readthedocs.io/en/latest/building/prerequisites.html).
+Teaclave TrustZone SDK has been integrated into the OP-TEE Repo since OP-TEE
+Release 3.15.0 (18/Oct/21). The aarch64 Rust examples are built and installed
+into OP-TEE's default filesystem for QEMUv8. Follow [this
+documentation](https://optee.readthedocs.io/en/latest/building/optee_with_rust.html)
+to set up the OP-TEE repo and try the Rust examples!
 
-Alternatively, you can use a docker container built with our [Dockerfile](Dockerfile).
+### Develop your trusted applications in Rust
+
+The OP-TEE libraries are needed when building Rust applications, so you should
+finish the `Quick start with the OP-TEE Repo for QEMUv8` part first. Then
+initialize the building environment in Teaclave TrustZone SDK, build Rust
+applications and copy them into the target's filesystem.
+
+#### 1. Update the project 
+
+Teaclave TrustZone SDK is located in `YOUR_OPTEE_DIR/optee_rust/`.Teaclave
+TrustZone SDK in OP-TEE repo is pinned to the release version. Alternatively,
+you can try the develop version using `git pull`:
+
+```
+$ cd [YOUR_OPTEE_DIR]/optee_rust/
+$ git pull github master
+```
+
+#### 2. Install Rust environment and initialize related submodules
+
+* Set the OP-TEE root directory:
+
+``` sh
+$ export OPTEE_DIR=[YOUR_OPTEE_DIR]
+```
+
+* Run the script as follows to install Rust environment and initialize
+  submodules:
+
+```
+$ ./setup.sh
+```
+
+#### 3. Set environment variables
+
+Before building examples, the environment should be properly setup.
+
+``` sh
+$ source environment
+```
+
+By default, the target platform is `aarch64`. If you want to build for the `arm`
+target, you can setup `ARCH` before `source environment`:
+
+```sh
+$ export ARCH=arm
+$ source environment
+```
+
+#### 4. Build Rust applications
+
+Run this command to build all Rust examples:
+
+``` sh
+$ make examples
+```
+
+Or build your own CA and TA:
+
+```
+$ make -C examples/[YOUR_APPLICATION]
+```
+
+#### 5. Run Rust applications
+
+The shared folder is needed to share CAs and TAs with the QEMU guest system.
+Recompile QEMU in OP-TEE to enable QEMU virtfs:
+
+```
+$ (cd $OPTEE_DIR/build && make QEMU_VIRTFS_ENABLE=y qemu)
+```
+
+Note: the path `/project/root/dir/` should be replaced as the root directory of
+your local project "Teaclave TrustZone SDK". Copy all the Rust examples or your
+own applications to the shared folder:
+
+```sh
+$ mkdir shared_folder
+$ (cd /project/root/dir/ && make examples-install)
+$ cp -r /project/root/dir/out/* shared_folder/
+```
+
+Run QEMU.
+
+```sh
+$ (cd $OPTEE_DIR/build && make run-only QEMU_VIRTFS_ENABLE=y
+QEMU_VIRTFS_HOST_DIR=$(pwd)/shared_folder)
+```
+
+After the QEMU has been booted, you need to mount the shared folder in QEMU
+guest system (username: root), in order to access the compiled CA/TA from QEMU.
+Run the command as follows in the QEMU guest terminal:
+
+```sh
+$ mkdir shared && mount -t 9p -o trans=virtio host shared
+```
+
+Then run CA and TA as 
+[this documentation](https://optee.readthedocs.io/en/latest/building/optee_with_rust.html)
+ describes.
+
+## Use OP-TEE libraries as submodules
+
+If you are building trusted applications for other platforms ([platforms OP-TEE
+supported](https://optee.readthedocs.io/en/latest/general/platforms.html)). QEMU
+and the filesystem in OP-TEE repo are not needed.  You can follow these steps to
+clone the project and build applications independently from the complete OP-TEE
+repo. In this case, the necessary OP-TEE libraries are initialized in the setup
+process.
+
+#### 1. Clone the project and install building dependencies
+
+The complete list of prerequisites can be found here: [OP-TEE
+Prerequisites](https://optee.readthedocs.io/en/latest/building/prerequisites.html).
+
+Alternatively, you can use a docker container built with our
+[Dockerfile](Dockerfile).
 
 ``` sh
 # install dependencies
 $ sudo apt-get install android-tools-adb android-tools-fastboot autoconf \
-        automake bc bison build-essential ccache cscope curl device-tree-compiler \
-        expect flex ftp-upload gdisk iasl libattr1-dev libc6:i386 libcap-dev \
-        libfdt-dev libftdi-dev libglib2.0-dev libhidapi-dev libncurses5-dev \
-        libpixman-1-dev libssl-dev libstdc++6:i386 libtool libz1:i386 make \
-        mtools netcat python-crypto python3-crypto python-pyelftools \
-        python3-pycryptodome python3-pyelftools python-serial python3-serial \
-        rsync unzip uuid-dev xdg-utils xterm xz-utils zlib1g-dev
+	automake bc bison build-essential ccache cscope curl device-tree-compiler \
+	expect flex ftp-upload gdisk iasl libattr1-dev libc6:i386 libcap-dev \
+	libfdt-dev libftdi-dev libglib2.0-dev libhidapi-dev libncurses5-dev \
+	libpixman-1-dev libssl-dev libstdc++6:i386 libtool libz1:i386 make \
+	mtools netcat python-crypto python3-crypto python-pyelftools \
+	python3-pycryptodome python3-pyelftools python-serial python3-serial \
+	rsync unzip uuid-dev xdg-utils xterm xz-utils zlib1g-dev
 
 # clone the project
 $ git clone git@github.com:apache/incubator-teaclave-trustzone-sdk.git
 $ cd incubator-teaclave-trustzone-sdk
 ```
 
-#### 2. Install Rust environment and initialize related submodules
+#### 2. Set your OP-TEE directory
 
-* By default, the `OPTEE_DIR` is `incubator-teaclave-trustzone-sdk/optee/`.If you already have [OP-TEE repository](https://github.com/OP-TEE) 
-cloned, you can set OP-TEE root directory:
+* By default, the `OPTEE_DIR` is
+  `incubator-teaclave-trustzone-sdk/optee/`.OP-TEE submodules (`optee_os`,
+`optee_client` and` build`) will be initialized automatically in `setup.sh`. If
+you already have [OP-TEE repository](https://github.com/OP-TEE)  cloned
+somewhere, you can set OP-TEE root directory:
 
 ``` sh
-$ export OPTEE_DIR=path/to/your/optee/root/directory
+$ export OPTEE_DIR=[YOUR_OPTEE_DIR]
 ```
 
 Note that your OPTEE root directory should have `build/`, `optee_os/` and 
 `optee_client/` as sub-directory.
 
-
-
-* Run the script as follows to install Rust environment and set up submodules in `optee/` and `rust/`.
+* Run the script as follows to install Rust environment and set up submodules.
 
 ```
 $ ./setup.sh
@@ -65,7 +187,7 @@ $ source environment
 ```
 
 By default, the target platform is `aarch64`. If you want to build for the `arm`
-target, you can setup `ARCH` before source the environment like this:
+target, you can setup `ARCH` before `source environment` like this:
 
 ```sh
 $ export ARCH=arm
@@ -97,31 +219,35 @@ $ make examples-install
 
 #### 6. Run Rust examples
 
-Please read detailed
-[instructions](https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/)
-to run these examples on OP-TEE for QEMU. For other supported devices, please find
-more documents [here](https://optee.readthedocs.io/en/latest/general/platforms.html).
+Copy the applications to your platform and run.
+
 
 ## Documentation
 
-- [Getting Started with OPTEE for QEMU ARMv8](https://teaclave.apache.org/trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8/)
-- [Overview of OP-TEE Rust Examples](https://teaclave.apache.org/trustzone-sdk-docs/overview-of-optee-rust-examples/)
-- [Debugging OP-TEE TA](https://teaclave.apache.org/trustzone-sdk-docs/debugging-optee-ta.md/)
-- [Host API Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-teec/)
-- [TA API Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-utee/)
+- [Overview of OP-TEE Rust
+  Examples](https://teaclave.apache.org/trustzone-sdk-docs/overview-of-optee-rust-examples/)
+- [Debugging OP-TEE
+  TA](https://teaclave.apache.org/trustzone-sdk-docs/debugging-optee-ta.md/)
+- [Host API
+  Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-teec/)
+- [TA API
+  Reference](https://teaclave.apache.org/api-docs/trustzone-sdk/optee-utee/)
 
 ## Publication
 
 More details about the design and implementation can be found in our paper
 published in ACSAC 2020:
-[RusTEE: Developing Memory-Safe ARM TrustZone Applications](https://csis.gmu.edu/ksun/publications/ACSAC20_RusTEE_2020.pdf).
+[RusTEE: Developing Memory-Safe ARM TrustZone
+Applications](https://csis.gmu.edu/ksun/publications/ACSAC20_RusTEE_2020.pdf).
 Here is the BiBTeX record for your reference.
 
 ```
 @inproceedings{wan20rustee,
-    author    = "Shengye Wan and Mingshen Sun and Kun Sun and Ning Zhang and Xu He",
+    author    = "Shengye Wan and Mingshen Sun and Kun Sun and Ning Zhang and Xu
+He",
     title     = "{RusTEE: Developing Memory-Safe ARM TrustZone Applications}",
-    booktitle = "Proceedings of the 36th Annual Computer Security Applications Conference",
+    booktitle = "Proceedings of the 36th Annual Computer Security Applications
+Conference",
     series    = "ACSAC '20",
     year      = "2020",
     month     = "12",
@@ -130,13 +256,15 @@ Here is the BiBTeX record for your reference.
 
 ## Contributing
 
-Teaclave is open source in [The Apache Way](https://www.apache.org/theapacheway/),
+Teaclave is open source in [The Apache
+Way](https://www.apache.org/theapacheway/),
 we aim to create a project that is maintained and owned by the community. All
 kinds of contributions are welcome.
 Thanks to our [contributors](https://teaclave.apache.org/contributors/).
 
 ## Community
 
-- Join us on our [mailing list](https://lists.apache.org/list.html?dev@teaclave.apache.org).
+- Join us on our [mailing
+  list](https://lists.apache.org/list.html?dev@teaclave.apache.org).
 - Follow us at [@ApacheTeaclave](https://twitter.com/ApacheTeaclave).
 - See [more](https://teaclave.apache.org/community/).
diff --git a/docs/README.md b/docs/README.md
index cf8bcfa..a0455cf 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,6 +4,5 @@ permalink: /trustzone-sdk-docs
 
 # Teaclave TrustZone SDK Documentation
 
-* [Getting Started with OPTEE for QEMU ARMv8](getting-started-with-optee-for-qemu-armv8.md)
 * [Overview of OP-TEE Rust Examples](overview-of-optee-rust-examples.md)
 * [Debugging OP-TEE TA](debugging-optee-ta.md)
diff --git a/docs/getting-started-with-optee-for-qemu-armv8.md b/docs/getting-started-with-optee-for-qemu-armv8.md
deleted file mode 100644
index c95781c..0000000
--- a/docs/getting-started-with-optee-for-qemu-armv8.md
+++ /dev/null
@@ -1,104 +0,0 @@
----
-permalink: /trustzone-sdk-docs/getting-started-with-optee-for-qemu-armv8
----
-
-# Getting Started with OP-TEE for QEMU ARMv8
-
-This tutorial summarizes the necessary steps of preparing an OP-TEE enabled
-QEMU environment and executing the compiled programs of our SDK. You may also
-check [OP-TEE documentation](https://optee.readthedocs.io/en/latest/building/devices/qemu.html#qemu-v8)
-to find more information about setting up the QEMU or introduction of OP-TEE
-project.
-
-To run examples on the QEMU ARMv8 emulator, we need first build OP-TEE for QEMU
-ARMv8. You can install dependencies with this
-[instruction](https://optee.readthedocs.io/en/latest/building/prerequisites.html)
-or use our [Dockerfile](https://github.com/apache/incubator-teaclave-trustzone-sdk/blob/master/Dockerfile).
-
-Download OP-TEE for QEMU ARMv8 source code.
-
-```sh
-$ mkdir -p ~/bin
-$ curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo && chmod a+x ~/bin/repo
-$ export PATH=~/bin:$PATH
-$ mkdir optee-qemuv8-3.14.0 && cd optee-qemuv8-3.14.0 && \
-  repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml -b 3.14.0 && \
-  repo sync -j4 --no-clone-bundle
-```
-
-Build OP-TEE for QEMU ARMv8 and images.
-
-```sh
-$ cd build
-$ make -j2 toolchains && \
-  make QEMU_VIRTFS_ENABLE=y CFG_TEE_RAM_VA_SIZE=0x00300000
-```
-
-Create a shared folder to share example host apps and TAs with QEMU guest system.
-
-Note: the path `/project/root/dir/` should be replaced as the root directory of your local project "rust-optee-trustzone-sdk".
-```sh
-$ mkdir shared_folder
-$ (cd /project/root/dir/ && make examples-install)
-$ cp -r /project/root/dir/out/* shared_folder/
-```
-
-Run QEMU.
-
-```sh
-$ make run-only QEMU_VIRTFS_ENABLE=y QEMU_VIRTFS_HOST_DIR=$(pwd)/shared_folder
-```
-
-After the QEMU has been booted, you need to mount the shared folder in QEMU guest system (username: root), in order to access the compiled CA/TA from QEMU.
-
-```sh
-$ mkdir shared && mount -t 9p -o trans=virtio host shared
-```
-
-Also, the passed-in TA should be copied to the corresponding directory for the secure-world to execute.
-
-```sh
-$ cd shared && cp ta/*.ta /lib/optee_armtz/
-```
-
-Execute host apps.
-
-```sh
-$ cd host
-$ ./hello_world
-original value is 29
-inc value is 129
-dec value is 29
-Success
-```
-
-Note that if you are under a environment without GUI, you please comment out the following code in `qemu_v8.mk` and use `nc` instead.
-
-```
-diff --git a/qemu_v8.mk b/qemu_v8.mk
-index 8271590..1c4a91b 100644
---- a/qemu_v8.mk
-+++ b/qemu_v8.mk
-@@ -163,9 +163,9 @@ run-only:
-        ln -sf $(ROOT)/out-br/images/rootfs.cpio.gz $(BINARIES_PATH)/
-        $(call check-terminal)
-        $(call run-help)
--       $(call launch-terminal,54320,"Normal World")
--       $(call launch-terminal,54321,"Secure World")
--       $(call wait-for-ports,54320,54321)
-+       # $(call launch-terminal,54320,"Normal World")
-+       # $(call launch-terminal,54321,"Secure World")
-+       # $(call wait-for-ports,54320,54321)
-        cd $(BINARIES_PATH) && $(QEMU_PATH)/aarch64-softmmu/qemu-system-aarch64 \
-                -nographic \
-                -serial tcp:localhost:54320 -serial tcp:localhost:54321 \
-```
-
-Before start QEMU, run two `nc` to listen port `54320` and `54321`.
-
-```
-$ nc -l 127.0.0.1 -p 54320
-$ nc -l 127.0.0.1 -p 54321
-```
-
-Then open QEMU by `make run-only`, and start by input `c`.
diff --git a/optee-teec/src/error.rs b/optee-teec/src/error.rs
index c8b26b9..f8a4380 100644
--- a/optee-teec/src/error.rs
+++ b/optee-teec/src/error.rs
@@ -68,7 +68,7 @@ pub enum ErrorKind {
     /// Expected data was missing.
     NoData = 0xFFFF000B,
     /// System ran out of resources.
-    OutOfMEmory = 0xFFFF000C,
+    OutOfMemory = 0xFFFF000C,
     /// The system is busy working on something else.
     Busy = 0xFFFF000D,
     /// Communication with a remote party failed.
@@ -104,7 +104,7 @@ impl ErrorKind {
                 "The requested operation is valid but is not supported in this implementation."
             }
             ErrorKind::NoData => "Expected data was missing.",
-            ErrorKind::OutOfMEmory => "System ran out of resources.",
+            ErrorKind::OutOfMemory => "System ran out of resources.",
             ErrorKind::Busy => "The system is busy working on something else.",
             ErrorKind::Communication => "Communication with a remote party failed.",
             ErrorKind::Security => "A security fault was detected.",
@@ -157,7 +157,7 @@ impl Error {
             raw::TEEC_ERROR_NOT_IMPLEMENTED => ErrorKind::NotImplemented,
             raw::TEEC_ERROR_NOT_SUPPORTED => ErrorKind::NotSupported,
             raw::TEEC_ERROR_NO_DATA => ErrorKind::NoData,
-            raw::TEEC_ERROR_OUT_OF_MEMORY => ErrorKind::OutOfMEmory,
+            raw::TEEC_ERROR_OUT_OF_MEMORY => ErrorKind::OutOfMemory,
             raw::TEEC_ERROR_BUSY => ErrorKind::Busy,
             raw::TEEC_ERROR_COMMUNICATION => ErrorKind::Communication,
             raw::TEEC_ERROR_SECURITY => ErrorKind::Security,

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