summaryrefslogtreecommitdiff
path: root/futility/vb1_helper.h
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2015-03-26 16:58:49 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-03-31 06:28:25 +0000
commit091c7b17f09f287da115ca247d39e7128158a581 (patch)
tree32d0dc4ee097290c72946a25762a068825f25487 /futility/vb1_helper.h
parent08d52b9bf52fb140b7c77c54bee500c3a59ff69b (diff)
downloadvboot-091c7b17f09f287da115ca247d39e7128158a581.tar.gz
futility: put all the BIOS stuff into a separate file
This moves the functions that handle BIOS file types into a separate set of source files. BIOSes are constructed from other components arranged in particular ways, so they shouldn't be mixed in with the code specifically for those components. BUG=chromium:231574 BRANCH=none TEST=make runtests Signed-off-by: Bill Richardson <wfrichar@chromium.org> Change-Id: I15c3fec61498925f9b8c672092fd97e7ea2d90e9 Reviewed-on: https://chromium-review.googlesource.com/262898 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'futility/vb1_helper.h')
-rw-r--r--futility/vb1_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/futility/vb1_helper.h b/futility/vb1_helper.h
index 2cf71f4e..59732e7a 100644
--- a/futility/vb1_helper.h
+++ b/futility/vb1_helper.h
@@ -6,6 +6,11 @@
#ifndef VBOOT_REFERENCE_FUTILITY_VB1_HELPER_H_
#define VBOOT_REFERENCE_FUTILITY_VB1_HELPER_H_
+/* Display a public key with variable indentation */
+void show_pubkey(VbPublicKey *pubkey, const char *sp);
+
+/* Other random functions needed for backward compatibility */
+
uint8_t *ReadConfigFile(const char *config_file, uint64_t *config_size);
uint8_t *CreateKernelBlob(uint8_t *vmlinuz_buf, uint64_t vmlinuz_size,