summaryrefslogtreecommitdiff
path: root/lib/libc/crypt
AgeCommit message (Expand)Author
2015-05-13If crypt(3) is called with an unknown setting, return NULL insteadAlexander Bluhm
2015-04-06bludgeon DES support out of crypt. long live the bcrypt.Ted Unangst
2015-02-24we don't let strtonum errors bleed through now.Ted Unangst
2015-02-24Set errno to EINVAL, instead of letting ERANGE escape out.Ted Unangst
2015-02-11use a width specifier for lists, and Sq rather than Dq for single lettersJason McIntyre
2015-02-11the possible algos for pref should be documented hereTed Unangst
2015-01-28dial the time back to about 0.1s, closer to the original targets andTed Unangst
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2015-01-15remove unused variableCharles Longeau
2015-01-15back in september I did the large abstraction refactoring to allow theseTheo de Raadt
2015-01-12rename blocks to words. bcrypt "blocks" are unrelated to blowfish blocks,Ted Unangst
2015-01-07stupid me. need errno.hTed Unangst
2015-01-07set errno = EINVAL for invalid salts and hashes in most functions.Ted Unangst
2015-01-05convert clock() to clock_gettime() for improved precision (and accuracy?)Ted Unangst
2014-12-30copy bcrypt autotune from encrypt(1) and expose via crypt_newhashTed Unangst
2014-12-24simplify crypt_checkpass. The API promise is that this function doesn'tTed Unangst
2014-12-08delete documentation for deleted DES interfacesTed Unangst
2014-12-08remove setkey and encrypt interfaces. they are useless and dangerous.Ted Unangst
2014-12-02macro cleanup; kaspars at bankovskis dot netIngo Schwarze
2014-11-25rand48(3) not drand48(3) to align with the actual man page and XrTodd C. Miller
2014-11-25no need for md5 xrTed Unangst
2014-11-25revert the bludgeoning of DES. if we need a thread safe crypt, maybe it'sTed Unangst
2014-11-25push some global data down into functions to make this threadlier.Ted Unangst
2014-11-24introduce a hashspace define and check that there's enough space toTed Unangst
2014-11-24check crypt() for null. noticed by Jonas TermansenTed Unangst
2014-11-21space needed between macro args and punctuation;Jason McIntyre
2014-11-21add ERRORS, HISTORY, AUTHORS, Copyright year, and some missing macros;Ingo Schwarze
2014-11-21Let crypt_checkpass() set EACCES after bcrypt_checkpass() failure;Ingo Schwarze
2014-11-21change prototype for crypt_newhash. the login_cap_t is a holdover from itsTed Unangst
2014-11-20split crypt_checkpass off into a new fileTed Unangst
2014-11-18add crypt_newhash to NAME and add an MLINK;Jason McIntyre
2014-11-17add new function crypt_newhash to simplify creating new hashes.Ted Unangst
2014-07-21missing newlineTheo de Raadt
2014-07-20Move more OS-specific functionality to arc4random.h headers.bcook
2014-07-20From ISO/IEC 9899:1999 and 9899:201x,Philip Guenther
2014-07-19arc4random re-seeds with getentropy() now; ok deraadt@ jmc@Christian Weisgerber
2014-07-19Change _rs_allocate so it can combine the two regions (rs and rsx)Theo de Raadt
2014-07-18Seperate arc4random's os-dependent parts into static inline functions,Theo de Raadt
2014-07-17"Race-free because we're running single-threaded in a newTheo de Raadt
2014-07-16#ifdef wrap the _rs_forkhandlerTheo de Raadt
2014-07-16added handler for an atfork hook from kettenis@bcook
2014-07-13While we thought this would make portable life easier it actuallyBob Beck
2014-07-12Wrap "thread_private.h" with #ifdef __OpenBSD__ so that other systemsTheo de Raadt
2014-07-12Split arc4random_uniform into it's own file, to assist other projectsTheo de Raadt
2014-07-09Clean up after arc4random u_int32_t uint32_t changeBob Beck
2014-07-09changes to improve portabilitybcook
2014-06-27re-init and init code paths are now more shared, so the getpid()-basedTheo de Raadt
2014-06-26Add back an #ifndef MAP_INHERIT_ZERO chunk to support the old getpid()Theo de Raadt
2014-06-25document why we explicit_bzeroTheo de Raadt
2014-06-20arc4random: hard fail with raise(SIGKILL) if getentropy() returns -1Matthew Dempsky