summaryrefslogtreecommitdiff
path: root/src/misc/crypt_sha512.c
AgeCommit message (Collapse)AuthorLines
2012-08-29limit sha512 rounds to similar runtime to sha256 limitRich Felker-1/+1
these limits could definitely use review, but for now, i feel consistency and erring on the side of preventing servers from getting bogged down by excessively-slow user-provided settings (think .htpasswd) are the best policy. blowfish should be updated to match.
2012-08-29add sha256/sha512 cryptRich Felker-0/+371
based on versions sent to the list by nsz, with some simplification and debloating. i'd still like to get them a bit smaller, or ideally merge them into a single file with most of the code being shared, but that can be done later.