Home
last modified time | relevance | path

Searched hist:bf36c5d521c17460553e39d82232a51273b83aed (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/common/
H A DMakefilebf36c5d521c17460553e39d82232a51273b83aed Wed Dec 05 08:46:38 CST 2012 Simon Glass <sjg@chromium.org> Add hash command to perform hashing using various algorithms

This new command supports hashing SHA1 and SHA256. It could be extended
to others such as MD5 and the CRC algorithms. The syntax is modeled on
those:

hash <algorithm> <address> <length> [*<dest_addr> | <dest_envvar>]

to calculate a hash, and:

hash -v <algorithm> <address> <length> [*<verify_addr> | <verify_envvar>]

to verify a hash.

Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to enable SHA1 and
CONFIG_SHA256 to enable SHA256.

The existing sha1sum command remains.

Signed-off-by: Simon Glass <sjg@chromium.org>
/openbmc/u-boot/
H A DREADMEbf36c5d521c17460553e39d82232a51273b83aed Wed Dec 05 08:46:38 CST 2012 Simon Glass <sjg@chromium.org> Add hash command to perform hashing using various algorithms

This new command supports hashing SHA1 and SHA256. It could be extended
to others such as MD5 and the CRC algorithms. The syntax is modeled on
those:

hash <algorithm> <address> <length> [*<dest_addr> | <dest_envvar>]

to calculate a hash, and:

hash -v <algorithm> <address> <length> [*<verify_addr> | <verify_envvar>]

to verify a hash.

Use CONFIG_CMD_HASH to enable the command, CONFIG_SHA1 to enable SHA1 and
CONFIG_SHA256 to enable SHA256.

The existing sha1sum command remains.

Signed-off-by: Simon Glass <sjg@chromium.org>