commit | 9f27bc94a9446313d3b5fe8ac92a57c3c9d876ca | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Fri Jun 10 15:53:32 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Thu Aug 11 12:14:07 2022 +0100 |
tree | 03e568a425c08035fc69f3dca0736e25a02a8b3e | |
parent | 2f9e6795d71b01fdcd8d8aae3a8e03c766e32dab [diff] |
Initial versions of crypto abstractions More work still needed, especially for asymmetric crypto operations. Bug: 195310053 Test: build Change-Id: I0016b8517ed89fbacf2eab597233643651568062
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 |