Searched hist:"218 da0f35f4b5e5bf13d3dba6d975d4d5d65516f" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/include/ |
| H A D | hash.h | 218da0f35f4b5e5bf13d3dba6d975d4d5d65516f Sun Feb 24 17:33:32 UTC 2013 Simon Glass <sjg@chromium.org> hash: Use lower case for hash algorithm names
Rather than use strcasecmp() in the hash algorithm search, require the caller to do this first. Most of U-Boot can use lower case anyway, and the hash command can convert to lower case before calling hash_command(). This saves needing strcasecmp() for boards that use hashing but not the hash command.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| /rk3399_rockchip-uboot/common/ |
| H A D | hash.c | 218da0f35f4b5e5bf13d3dba6d975d4d5d65516f Sun Feb 24 17:33:32 UTC 2013 Simon Glass <sjg@chromium.org> hash: Use lower case for hash algorithm names
Rather than use strcasecmp() in the hash algorithm search, require the caller to do this first. Most of U-Boot can use lower case anyway, and the hash command can convert to lower case before calling hash_command(). This saves needing strcasecmp() for boards that use hashing but not the hash command.
Signed-off-by: Simon Glass <sjg@chromium.org>
|