add sha256/sha512 crypt
authorRich Felker <dalias@aerifal.cx>
Wed, 29 Aug 2012 16:41:29 +0000 (12:41 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 29 Aug 2012 16:41:29 +0000 (12:41 -0400)
commit88bf5a8a8d7d796f63cca8589f4de67aa8345f1a
tree93ef111566aae52afa23a5c5201d9d46615f92ba
parentb439c051c7eee4eb4b93fc382f993aa6305ce530
add sha256/sha512 crypt

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.
src/misc/crypt.c
src/misc/crypt_r.c
src/misc/crypt_sha256.c [new file with mode: 0644]
src/misc/crypt_sha512.c [new file with mode: 0644]