Implement verify option for sha1sum command
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 17 Aug 2012 11:00:45 +0000 (11:00 +0000)
committerTom Rini <trini@ti.com>
Wed, 3 Oct 2012 23:01:22 +0000 (16:01 -0700)
commite6e77d354f0ebb9ddb2261126ec228c785ef4f33
tree7710139794ec6c56d4c7d81a90ccd4f6c44cce7c
parentb0fe6abd716c2f6c13860ce131f229c44d0295e5
Implement verify option for sha1sum command

Loosely based on CONFIG_CRC32_VERIFY.

The sum to verify against can be in memory, in a variable, or the last
parameter to the function directly.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
common/cmd_sha1sum.c