Merge "USAGE_COUNT_LIMIT checked by Keystore and KeyMint"
tree: 5d749f56150c39b8abefa851e471414477829c42
  1. common/
  2. derive/
  3. scripts/
  4. .gitignore
  5. Android.bp
  6. Cargo.toml
  7. NOTICE
  8. OWNERS
  9. README.md
  10. 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