From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 06 Feb 2014 13:17:36 +0100 Subject: [U-Boot] [PATCH 1/3] fit: Add support for SHA256 hash In-Reply-To: <1391658426-24799-1-git-send-email-marex@denx.de> References: <1391658426-24799-1-git-send-email-marex@denx.de> Message-ID: <20140206121736.15B05380761@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek, In message <1391658426-24799-1-git-send-email-marex@denx.de> you wrote: > This patch adds support for SHA-256 hash into the FIT image. The usage is > as with the other hashing algorithms: ... > -#define FIT_MAX_HASH_LEN 20 /* max(crc32_len(4), sha1_len(20)) */ > +#define FIT_MAX_HASH_LEN 32 /* max(crc32_len(4), sha1_len(20), sha256_len(32)) */ Line too long. Please make sure to run your patches through checkpatch ! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 have made mistakes, but have never made the mistake of claiming I never made one. - James G. Bennet