commit | 62a8ce08cad83fd7e40a965a308c98313f83e2f1 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Wed Jun 08 11:14:16 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Tue Jun 14 14:41:16 2022 +0100 |
tree | 36033ce1da89a7a09c89ad337b048f823978a956 | |
parent | ba21e263ea963e1aab68939cdae3bc51c2ec4098 [diff] |
Initial setup and derive macro Bug: 195310053 Test: m libkmr_derive Change-Id: Ic640cac45abe2e1337d3041876859fc02ed461a0
This repo holds work in progress for a Rust implementation of Android's KeyMint HAL.
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.
Subdir | Crate Name | std ? | Description |
---|---|---|---|
derive | kmr-derive | Yes (build-only) | Proc macros for deriving the AsCborValue trait |
common | kmr-common | No | Common code used throughout KeyMint/Rust |
hal | kmr-hal | Yes | HAL service implementation |
boringssl | kmr-boringssl | Yes | Boring/OpenSSL-based implementations of crypto traits |
tests | kmr-tests | Tests and test infrastructure | |
ta | kmr-ta | No | TA implementation |
ta-main | kmr-ta | Yes | TA implementation using TCP |