
16 Feb
2013
16 Feb
'13
12:57 a.m.
On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass sjg@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@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(-)