commit | a1ec5f9eb5c40c2eb14364dd698f0c5f9f086329 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Tue Aug 30 18:53:32 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Fri Sep 09 06:47:43 2022 +0100 |
tree | 400b72085ef8f5abe9b3af07947795d4cd7b4855 | |
parent | d8002e9d16b17fa622792318f09f93844d913576 [diff] |
HAL service implementation Bug: 239476214 Bug: 197891150 Test: VtsAidlKeyMintTargetTest (with rest of code) Change-Id: I87265ddd9e5d4a6d063a4593d5b04aee13156846
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 |