Re: sha512 program

2013-12-26 Thread Todd C. Miller
On Mon, 23 Dec 2013 10:12:23 +0100, =?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges- Anglas?= wrote: > This should now be: > > static const char *optstr[2] = { > > "bcpqrs:tx", > > - "bcpqrs:tx", > > - "bcpqrs:tx", > > - "a:bco:pqrs:tx", > >

Re: sha512 program

2013-12-26 Thread Todd C. Miller
On Sun, 22 Dec 2013 19:08:53 -0500, Ted Unangst wrote: > 1. bigger is better. make a link to sha512. > > 2. simplify md5.c. there's really only two modes. OK. program_mode was originally used for more things but now it just for the getopt string and usage. > 3. add a note to sha256.1 about sha

Re: sha512 program

2013-12-23 Thread Jérémie Courrèges-Anglas
Ted Unangst writes: > 1. bigger is better. make a link to sha512. > > 2. simplify md5.c. there's really only two modes. > > 3. add a note to sha256.1 about sha512. I didn't go through and copy > all the text -- I would hope people can figure it out. Looks fine. Please see below. > Index: Makef

Re: sha512 program

2013-12-22 Thread Gilles Chehade
Hi, On Sun, Dec 22, 2013 at 07:08:53PM -0500, Ted Unangst wrote: > 1. bigger is better. make a link to sha512. > yay > 2. simplify md5.c. there's really only two modes. > wow md5.c is confusing, I had to go through md5.c twice to understand why your diff was correct ... ok gilles@ > 3. add

Re: sha512 program

2013-12-22 Thread Ted Unangst
On Sun, Dec 22, 2013 at 19:08, Ted Unangst wrote: > +MLINKS= sha256.1 sha512.1 += of course.

sha512 program

2013-12-22 Thread Ted Unangst
1. bigger is better. make a link to sha512. 2. simplify md5.c. there's really only two modes. 3. add a note to sha256.1 about sha512. I didn't go through and copy all the text -- I would hope people can figure it out. Index: Makefile ==