[PATCH v1] cmd: md5sum: use hash_command

Igor Opaniuk igor.opaniuk at gmail.com
Sat Mar 2 16:06:34 CET 2024


Hi Tom,

On Sat, Mar 2, 2024 at 12:31 AM Tom Rini <trini at konsulko.com> wrote:

> 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.
>
Thanks, fixed and sent v2.


> --
> Tom
>



-- 
Best regards - Atentamente - Meilleures salutations

Igor Opaniuk

mailto: igor.opaniuk at gmail.com
skype: igor.opanyuk
http://ua.linkedin.com/in/iopaniuk


More information about the U-Boot mailing list