From: Wolfgang Denk Date: Thu, 06 Feb 2014 13:18:31 +0100 Subject: [U-Boot] [PATCH 2/3] fit: rsa: Add groundwork to support other hashes In-Reply-To: <1391658426-24799-2-git-send-email-marex@denx.de> References: <1391658426-24799-1-git-send-email-marex@denx.de> <1391658426-24799-2-git-send-email-marex@denx.de> Message-ID: <20140206121831.8ED80380761@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-2-git-send-email-marex@denx.de> you wrote: > Separate out the SHA1 code from the rsa-sign.c and rsa-verify.c . > Each file now has a function which does the correct hashing operation > instead of having the SHA-1 hashing operation hard-coded in the rest > of the code. This makes adding a new hashing operating much easier and > cleaner. ... > - noffset); > + noffset, padding, pad_len); Line too long. 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 It is easier to write an incorrect program than understand a correct one.