Add a basic TA

Add a base config for the TA, define commands, add simple error
translation between optee-utee and KeyMint, add a basic main.rs
to handle KeyMint IPC, and the first crypto trait implementation
for Sha256.

Test: make ta
Change-Id: I7baa1826d6f5ec6191cdc5dbb3603c7338f44316
8 files changed
tree: d200d0525429ef5f7aa81f5d45bb65d862863849
  1. .cargo/
  2. src/
  3. Cargo.toml
  4. LICENSE
  5. Makefile
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
  9. rustfmt.toml
README.md

KeyMint reference implementation for OP-TEE

This repository holds a reference Rust KeyMint implementation for OP-TEE using the Apache Teaclave TrustZone SDK.