* sin <s...@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)