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
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user