commit | d5a63832fbc891f705530452916cddbdcf474523 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Thu Sep 01 12:31:40 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Thu Sep 01 12:31:40 2022 +0100 |
tree | 5d749f56150c39b8abefa851e471414477829c42 | |
parent | ed33ed1af48e3c3131a4bf96db6d8897d76644e0 [diff] |
USAGE_COUNT_LIMIT checked by Keystore and KeyMint Fixes broken unit test. Test: atest libkmr_common_test Bug: 244548311 Change-Id: I02c4afd4b0b3c1c9e37c5efa70a299ff35cafec8
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 |