Platform Tools Release 33.0.3 (8952118)
Snap for 8952093 from e1dd1544abd5ab4aadb91bbeb2ef5e0c9843b6e3 to sdk-release

Change-Id: Ie3af7f1d91d2e5b9628927e8c12118a370b2cb75
tree: 573f007ce9d46bb5a9be196686b93370c91ec708
  1. common/
  2. derive/
  3. .gitignore
  4. Android.bp
  5. Cargo.toml
  6. NOTICE
  7. OWNERS
  8. README.md
  9. 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