]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
hash: Add a flag to support saving hashes in the environment
authorSimon Glass <sjg@chromium.org>
Sun, 24 Feb 2013 17:33:26 +0000 (17:33 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:23 +0000 (19:09 -0800)
commitd5b76673a5dfe0b5250baea3c36cdfa7a9fd5230
tree70e8af37b0ecd53b92336afe52c9515647e0ea55
parent0ccff500cf787bb71e514eb2904d773ec84bf11d
hash: Add a flag to support saving hashes in the environment

Some hashing commands permit saving the hash in an environment variable,
and verifying a hash from there. But the crc32 command does not support
this. In order to permit crc32 to use the generic hashing infrastructure,
add a flag to select which behaviour to use.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_hash.c
common/cmd_sha1sum.c
common/hash.c
include/hash.h