Re: [dev] [sbase] [patch] Add sha256sum(1)

From: Szabolcs Nagy <nsz_AT_port70.net>
Date: Sat, 20 Jul 2013 17:57:11 +0200

* Galos, David <galosd83_AT_students.rowan.edu> [2013-07-20 00:50:25 -0400]:
> >> +/*
> >> + * public domain sha256 crypt implementation
> >> + *
> >> + * original sha crypt design: http://people.redhat.com/drepper/SHA-crypt.txt
> >> + * in this implementation at least 32bit int is assumed,
> >> + * key length is limited, the $5$ prefix is mandatory, '\n' and ':' is rejected
> >> + * in the salt and rounds= setting must contain a valid iteration count,
> >> + * on error "*" is returned.
> >> + */
> >
> > this comment for the sha2 based crypt implementation
> > not for the hash function
>
> Is there some replacement text that you suggest? I figure we might as well
> note where this sha2 implementation originates from. Is anything further
> than the fact that it's public domain known?

/* public domain sha256 implementation based on fips180-3 */

you may add that it's from the crypt code of musl libc
in case somebody wants to check upstream changes
Received on Sat Jul 20 2013 - 17:57:11 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 20 2013 - 18:00:08 CEST