Re: [PATCH 04/10] command: add generic digest command

2015-03-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:49 Mon 16 Mar , Jan Lübbe wrote: > On Mo, 2015-03-16 at 11:15 +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > +BAREBOX_CMD_HELP_START(digest) > > +BAREBOX_CMD_HELP_TEXT("Calculate a digest over a FILE or a memory > > area.") > > +BAREBOX_CMD_HELP_TEXT("Options:") > > +BAREBOX_CMD_HEL

Re: [PATCH 04/10] command: add generic digest command

2015-03-16 Thread Jan Lübbe
On Mo, 2015-03-16 at 11:15 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > +BAREBOX_CMD_HELP_START(digest) > +BAREBOX_CMD_HELP_TEXT("Calculate a digest over a FILE or a memory > area.") > +BAREBOX_CMD_HELP_TEXT("Options:") > +BAREBOX_CMD_HELP_OPT ("-a \t", "digest to use") > +BAREBOX_CMD_HELP_OPT

[PATCH 04/10] command: add generic digest command

2015-03-16 Thread Jean-Christophe PLAGNIOL-VILLARD
That can be used for digest calculation and verify Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig| 12 +++- commands/Makefile | 1 + commands/digest.c | 193 commands/hashsum.c | 68 -- comman