diff options
author | Randall Spangler <rspangler@chromium.org> | 2010-06-10 17:55:02 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2010-06-10 17:55:02 -0700 |
commit | 6a97b3e2a1bee35bf3c00f2fb0faafde4aaab9e2 (patch) | |
tree | 905d6442153a9c9bcaee12a7f37ed2a476e94b83 /host/include | |
parent | d55c64537245abca67a66fde5874b7f4a6cdc556 (diff) | |
download | vboot-6a97b3e2a1bee35bf3c00f2fb0faafde4aaab9e2.tar.gz |
Add vbutil_keyblock
Review URL: http://codereview.chromium.org/2748008
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/host_misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/host/include/host_misc.h b/host/include/host_misc.h index 7e66c73c..49afa299 100644 --- a/host/include/host_misc.h +++ b/host/include/host_misc.h @@ -22,4 +22,10 @@ uint8_t* ReadFile(const char* filename, uint64_t* size); +/* Writes [size] bytes of [data] to [filename]. + * + * Returns 0 if success, 1 if error. */ +int WriteFile(const char* filename, const void *data, uint64_t size); + + #endif /* VBOOT_REFERENCE_HOST_MISC_H_ */ |