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

From: Szabolcs Nagy <nsz_AT_port70.net>
Date: Fri, 19 Jul 2013 15:45:49 +0200

* sin <sin_AT_2f30.org> [2013-07-19 16:34:07 +0300]:
> +/*
> + * 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

(it turns out the sha2 based password hashing, widely
used on linux systems (default on most distributions),
has atrociously bad design so we had to make some
changes in musl hence the comment)
Received on Fri Jul 19 2013 - 15:45:49 CEST

This archive was generated by hypermail 2.3.0 : Fri Jul 19 2013 - 15:48:13 CEST