mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] evaluate integrity of a barebox image
@ 2016-05-23 11:48 Ulrich Ölmann
  2016-05-23 11:48 ` [PATCH 1/2] images: write checksum into barebox header Ulrich Ölmann
  2016-05-23 11:48 ` [PATCH 2/2] images: add function to verify checksum in " Ulrich Ölmann
  0 siblings, 2 replies; 4+ messages in thread
From: Ulrich Ölmann @ 2016-05-23 11:48 UTC (permalink / raw)
  To: Barebox List

These two patches provide functionality to assess if a barebox image is
corrupted or not by embedding and checking a hash value. This can be of interest
if for example the image has been loaded from unreliable storage.

Jan Luebbe (2):
  images: write checksum into barebox header
  images: add function to verify checksum in barebox header

 common/Kconfig         |   9 ++
 common/Makefile        |   1 +
 common/barebox-image.c |  85 +++++++++++++++++++
 images/Makefile        |   3 +-
 include/common.h       |   9 ++
 include/filetype.h     |   2 +
 scripts/.gitignore     |   1 +
 scripts/Makefile       |   1 +
 scripts/bareboxcrc.c   | 219 +++++++++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 329 insertions(+), 1 deletion(-)
 create mode 100644 common/barebox-image.c
 create mode 100644 scripts/bareboxcrc.c

-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-30  6:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 11:48 [PATCH 0/2] evaluate integrity of a barebox image Ulrich Ölmann
2016-05-23 11:48 ` [PATCH 1/2] images: write checksum into barebox header Ulrich Ölmann
2016-05-23 11:48 ` [PATCH 2/2] images: add function to verify checksum in " Ulrich Ölmann
2016-05-30  6:06   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox