crypto: Implement Hmac and AesCmac

Implement Hmac and AesCmac using the GP API. Note that to pass
KeyMint VTS, OP-TEE must be built with CFG_HMAC_64_1024_RANGE=y.

Test: make ta + unit tests
Change-Id: Ibc891848005b83ad9f157b8861fa814c8ffff390
4 files changed
tree: 77e06e6e1133c83f650228425dd0ef09cedeb740
  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.