diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-27 19:57:53 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-05-27 19:57:53 +0000 |
commit | 9e734c29cf03497e3efd38d3ad9e3218c80be6aa (patch) | |
tree | 6de09a07468291ca578908602f266fc6b6f775db /payloads/libpayload/include | |
parent | 02a4e7f6f8f0060c731301b2e211040555f5fcb8 (diff) | |
download | coreboot-9e734c29cf03497e3efd38d3ad9e3218c80be6aa.tar.xz |
libpayload: Add a function to verify the checksum on a LAR file
This function verifies the checksum on a LAR file.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3352 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index f9a67ed862..c05aafb37c 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -251,6 +251,7 @@ struct larent *readlar(struct LAR *lar); void rewindlar(struct LAR *lar); int larstat(struct LAR *lar, const char *path, struct larstat *buf); void *larfptr(struct LAR *lar, const char *filename); +int lfverify(struct LAR *lar, const char *filename); struct LFILE * lfopen(struct LAR *lar, const char *filename); int lfread(void *ptr, size_t size, size_t nmemb, struct LFILE *stream); |