From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 6 Feb 2014 20:40:20 +0100 Subject: [U-Boot] [PATCH 2/3] fit: rsa: Add groundwork to support other hashes In-Reply-To: <20140206121831.8ED80380761@gemini.denx.de> References: <1391658426-24799-1-git-send-email-marex@denx.de> <1391658426-24799-2-git-send-email-marex@denx.de> <20140206121831.8ED80380761@gemini.denx.de> Message-ID: <201402062040.20769.marex@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 On Thursday, February 06, 2014 at 01:18:31 PM, Wolfgang Denk wrote: > 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. I will need to cross-correlate this with Heiko's efforts, so there'll be V2 of either mine or his stuff. Thanks for the review though. Best regards, Marek Vasut