[PATCH v1] cmd: md5sum: use hash_command

Tom Rini trini at konsulko.com
Sat Mar 2 00:31:17 CET 2024


On Sun, Feb 11, 2024 at 07:56:16PM +0100, Igor Opaniuk wrote:

> From: Igor Opaniuk <igor.opaniuk at gmail.com>
> 
> 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 at gmail.com>
> ---
> 
>  cmd/md5sum.c | 149 ++++-----------------------------------------------
>  1 file changed, 9 insertions(+), 140 deletions(-)

This breaks building of imx8mm_phg.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240301/e930a505/attachment.sig>


More information about the U-Boot mailing list