From: Wolfgang Denk Date: Thu, 21 Feb 2013 13:06:15 +0100 Subject: [U-Boot] [PATCH v2 17/21] Roll crc32 into hash infrastructure In-Reply-To: <1361379515-23802-18-git-send-email-sjg@chromium.org> References: <1361379515-23802-17-git-send-email-sjg@chromium.org> <1361379515-23802-18-git-send-email-sjg@chromium.org> Message-ID: <20130221120615.91963200609@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 Simon Glass, In message <1361379515-23802-18-git-send-email-sjg@chromium.org> you wrote: > Add the CRC32 algorithm to the list of available hashes, and make > the crc32 command use hash_command(). Add a new crc32_wd_buf() to > make this possible, which puts its result in a buffer rather than > returning it as a 32-bit value. > > Note: For some boards the hash command is not enabled, neither > are sha1, sha256 or the verify option. In this case the full > hash implementation adds about 500 bytes of overhead. So as a > special case, we use #ifdef to select very simple bahviour in s/bahviour/behaviour/ 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 If there was anything that depressed him more than his own cynicism, it was that quite often it still wasn't as cynical as real life. - Terry Pratchett, _Guards! Guards!_