diff options
author | Randall Spangler <rspangler@chromium.org> | 2016-06-03 14:00:27 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-08-03 17:47:13 -0700 |
commit | 158b29672a17c1d11e182f0285e0009dd39e5204 (patch) | |
tree | d15e4c2e873de2dede00a9cc5cc662b1a7a4c8a0 /host/lib21 | |
parent | 46b77fb2f04941c869c3a98cd17e9209c36b2917 (diff) | |
download | vboot-158b29672a17c1d11e182f0285e0009dd39e5204.tar.gz |
futility: cmd_show uses only vboot 2.0 APIs
This removes the remaining vboot 1.0 API calls from cmd_show.
BUG=chromium:611535
BRANCH=none
TEST=make runtests
Change-Id: I03c4260aa034100efbbea1005367cd85dfff273d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/350173
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'host/lib21')
-rw-r--r-- | host/lib21/include/host_key2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/host/lib21/include/host_key2.h b/host/lib21/include/host_key2.h index 7c95ac16..e58b37d7 100644 --- a/host/lib21/include/host_key2.h +++ b/host/lib21/include/host_key2.h @@ -22,6 +22,14 @@ struct vb2_private_key { struct vb2_id id; /* Key ID */ }; +struct vb2_packed_private_key { + /* Signature algorithm used by the key (enum vb2_crypto_algorithm) */ + uint32_t algorithm; + uint32_t reserved2; + /* Key data formatted for d2i_RSAPrivateKey() */ + uint8_t key_data[0]; +}; + /* Convert between enums and human-readable form. Terminated with {0, 0}. */ struct vb2_text_vs_enum { const char *name; |