public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] mkimage: Default to adding a crc32 hash with '-f auto'
Date: Thu, 28 May 2020 07:33:46 +0200	[thread overview]
Message-ID: <20200528053346.B4D35243BF2@gemini.denx.de> (raw)
In-Reply-To: <20200527072419.1.I6b204b428d46addbce0f668960df1756a0bd5a0a@changeid>

Dear Simon,

In message <20200527072419.1.I6b204b428d46addbce0f668960df1756a0bd5a0a@changeid> you wrote:
> This option currently does not add any sort of hash to the images in the
> FIT.
>
> Add a hash node requesting a crc32 checksum, which at least provides some
> protection.
>
> The crc32 value is easily ignored (e.g. in SPL) if not needed. and takes
> up only about 48 bytes per image, including overhead.
>
> Suggested-by: Wolfgang Denk <wd@denx.de>
> Signed-off-by: Simon Glass <sjg@chromium.org>

Thanks a lot!

Reviewed-by: Wolfgang Denk <wd@denx.de>


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I knew then (in 1970) that a 4-kbyte minicomputer would cost as much
as a house. So I reasoned  that  after  college,  I'd  have  to  live
cheaply in an apartment and put all my money into owning a computer."
      - Apple co-founder Steve Wozniak, EE Times, June 6, 1988, pg 45

  reply	other threads:[~2020-05-28  5:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 13:24 [PATCH] mkimage: Default to adding a crc32 hash with '-f auto' Simon Glass
2020-05-28  5:33 ` Wolfgang Denk [this message]
2020-06-03 16:26 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200528053346.B4D35243BF2@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox