HAL service implementation

Bug: 239476214
Bug: 197891150
Test: VtsAidlKeyMintTargetTest (with rest of code)
Change-Id: I87265ddd9e5d4a6d063a4593d5b04aee13156846
11 files changed
tree: 400b72085ef8f5abe9b3af07947795d4cd7b4855
  1. common/
  2. derive/
  3. hal/
  4. scripts/
  5. .gitignore
  6. Android.bp
  7. Cargo.toml
  8. NOTICE
  9. OWNERS
  10. README.md
  11. rustfmt.toml
README.md

KeyMint/Rust

This repo holds work in progress for a Rust implementation of Android's KeyMint HAL.

Repo Structure

The codebase is divided as follows. Only the crates in bold are expected to be used in Android; the remainder are conveniences to allow development outside of Android.

SubdirCrate Namestd?Description
derivekmr-deriveYes (build-only)Proc macros for deriving the AsCborValue trait
commonkmr-commonNoCommon code used throughout KeyMint/Rust
halkmr-halYesHAL service implementation
boringsslkmr-boringsslYesBoring/OpenSSL-based implementations of crypto traits
testskmr-testsTests and test infrastructure
takmr-taNoTA implementation
ta-mainkmr-taYesTA implementation using TCP