]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: md5sum: use hash_command
authorIgor Opaniuk <igor.opaniuk@gmail.com>
Sat, 2 Mar 2024 15:05:48 +0000 (16:05 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 7 Mar 2024 14:23:10 +0000 (09:23 -0500)
commit6ec3f9208948b4f3aa4b6d8362c0daaffaea0a0f
tree502696b12f908d1436d3248ee7bc07fd313c73fc
parent606867c849b48bf10c16877507480269497e8afd
cmd: md5sum: use hash_command

Drop old implementation and use hash_command() instead, as
how it's currently done for crc32 and sha1sum cmds.

Test:
=> md5sum 0x60000000 0x200
md5 for 60000000 ... 600001ff ==> e6bbbe95f5b41996f4a9b9af7bbd4050

Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
cmd/Kconfig
cmd/md5sum.c
common/hash.c