Add software implementation for RetrieveKeyMaterial

Implement RetrieveKeyMaterial and DeviceHmac using hardware-backed keys.
Note that in a real implementation with multiple TEEs (e.g. Strongbox),
the KAK should be provisioned to the device.

Test: make ta + VTS
Change-Id: If577498a5cd923733314de7a103fc668b04789e2
3 files changed
tree: 856f0a542a4f34ec439101a0b5511e0facdebc65
  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.