commit | 8d7e92406cdccb94f853d9ffcdc95dcdde37b47a | [log] [tgz] |
---|---|---|
author | Sami Tolvanen <samitolvanen@google.com> | Thu Nov 06 20:22:49 2014 -0800 |
committer | Iliyan Malchev <malchev@google.com> | Thu Nov 13 15:35:31 2014 -0800 |
tree | 02485aed827ebe9f38e0771ce98c4ae6434fc84c | |
parent | 578a347c1939b62805442ff3a769092b19c42db2 [diff] |
DO NOT MERGE: Support converting X.509 cert into a verity public key fs_mgr requires an RSA public key in mincrypt format for verifying dm-verity hash tables. Add support for extracting public keys from existing X.509 certificates and converting it into mincrypt format for use with fs_mgr. Bug: 15984840 Bug: 18120110 Change-Id: Ibcdca116cdc32dfa33d8f5636ec728244cbf6fd5 (cherry picked from commit 82d824a6b5028930abd87ecd870924c72d3b3931)