[U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

Simon Glass sjg at chromium.org
Sat Feb 16 00:57:07 CET 2013


On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass <sjg at chromium.org> 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.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to x86/master.

> ---
>  common/cmd_mem.c     |   73 ++++---------------------------------------------
>  common/hash.c        |    6 ++++
>  include/hash.h       |    2 +-
>  include/u-boot/crc.h |   11 +++++++
>  lib/crc32.c          |    9 ++++++
>  5 files changed, 33 insertions(+), 68 deletions(-)
>


More information about the U-Boot mailing list