crypto: Implement Rng

Implement Rng using the GP API and use the OP_TEE system
PTA's ADD_RNG_ENTROPY to feed entropy to the system random
number generator.

Test: make ta + unit test
Change-Id: I788785c920f5e7c9b998f3f793651d81d7d2e22f
4 files changed
tree: 2e9d5586b5e3c879cf515d6763b55e5ab4dc0f4c
  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.