Re: [U-Boot] Add md5sum and sha1 commands...

2009-08-13 Thread Wolfgang Denk
Dear Robin Getz, In message <200907251607.49314.rg...@blackfin.uclinux.org> you wrote: > From: Robin Getz > > Now that we have sha1 and md5 in lib_generic, allow people to use them on > the command line, for checking downloaded files > > Signed-off-by: Robin Getz > > README |4

Re: [U-Boot] Add md5sum and sha1 commands...

2009-07-26 Thread Wolfgang Denk
Dear Robin Getz, In message <200907252325.00174.rg...@blackfin.uclinux.org> you wrote: > > I'm just doing the same as all the other things in the same file (which > doesn't mean it is correct). What is the preferred style? > > > also, they should both have a "sum" suffix or neither. i'd lean to

Re: [U-Boot] Add md5sum and sha1 commands...

2009-07-26 Thread Mike Frysinger
On Saturday 25 July 2009 23:25:00 Robin Getz wrote: > On Sat 25 Jul 2009 22:49, Mike Frysinger pondered: > > On Saturday 25 July 2009 16:07:49 Robin Getz wrote: > > > +#ifdef CONFIG_CMD_MD5SUM > > > +U_BOOT_CMD( > > > + md5sum, 3, 1, do_md5sum, > > > + "compute MD5 message digest", > > >

Re: [U-Boot] Add md5sum and sha1 commands...

2009-07-25 Thread Robin Getz
On Sat 25 Jul 2009 22:49, Mike Frysinger pondered: > On Saturday 25 July 2009 16:07:49 Robin Getz wrote: > > --- a/common/cmd_mem.c > > +++ b/common/cmd_mem.c > > @@ -34,6 +34,14 @@ > > #endif > > #include > > > > +#ifdef CONFIG_CMD_MD5SUM > > +#include > > +#endif > > + > > +#ifdef CONFIG_CMD_

Re: [U-Boot] Add md5sum and sha1 commands...

2009-07-25 Thread Mike Frysinger
On Saturday 25 July 2009 16:07:49 Robin Getz wrote: > --- a/common/cmd_mem.c > +++ b/common/cmd_mem.c > @@ -34,6 +34,14 @@ > #endif > #include > > +#ifdef CONFIG_CMD_MD5SUM > +#include > +#endif > + > +#ifdef CONFIG_CMD_SHA1 > +#include > +#endif i dont think there would be a problem just inc

[U-Boot] Add md5sum and sha1 commands...

2009-07-25 Thread Robin Getz
From: Robin Getz Now that we have sha1 and md5 in lib_generic, allow people to use them on the command line, for checking downloaded files Signed-off-by: Robin Getz README |4 ++ common/cmd_mem.c | 73 + 2 files changed, 77 insertion