commit | fc718253a38a97d2601b51d735b871c087ce7706 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Fri Jun 10 16:06:24 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Wed Aug 31 06:25:24 2022 +0100 |
tree | 5674366336a5d87b8ee3ae177fa43f69d5cb858c | |
parent | 0cf92d274b0dd876589cdeeae24200a7fbf90667 [diff] |
Key characteristics processing This code will mostly be used by the TA, but is in common to allow for the possibility that the HAL service might check for invalid parameters even before invoking the TA. Much remains to be done, generally indicated by TODO markers. Bug: 195310053 Test: m libkmr_common; atest libkmr_common_test Change-Id: I0e19b7176d0c5b8a2a8903f5b4115b41ef45ebca
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 |