Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hash: Add a flag to support saving hashes in the environment | Simon Glass | 2013-02-28 | 1 | -17/+52 |
| | | | | | | | | | 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> | ||||
* | Add generic hash API | Simon Glass | 2012-12-11 | 1 | -0/+221 |
We have a SHA1 command and want to add a SHA256 command also. Instead of duplicating the code, create a generic hash API which can process commands for different algorithms. Signed-off-by: Simon Glass <sjg@chromium.org> |