On 6/3/19 4:13 PM, Norman Gray wrote:
If I'm correctly reading crypt/sha256-crypt.c in https://ftp.gnu.org/gnu/glibc/, then the default number of rounds is 5000 and, as you say, the number of rounds can be indicated in a param=value clause in the passwd string (as gestured towards in https://github.com/P-H-C/phc-string-format/blob/master/phc-sf-spec.md).
On my system the default of 5000 rounds for sha512crypt ($6$) is documented in crypt(5).
Ciao, Michael.