/* $NetBSD: float.h,v 1.1 2013/05/01 13:11:59 kiyohara Exp $ */ #include href='/favicon.ico'/>
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-20crypt(3): Adapt default Argon2 parameters to system performancenia
If the parameters are unspecified: - Set the default memory consumption based on the amount of memory available to userspace. The algorithm actually slows down incredibly quickly as the "memory" parameter is increased. We want to avoid running out of memory on low memory systems, but increase the difficulty of bruteforcing passwords from systems with a lot of memory. At the same time, we want to avoid problems when concurrent logins are happening. - Run a hashing loop for one second with steadily increasing "time" until we settle on a value for "time". We want to use as much CPU time as reasonable for computing the password hash without making logins inconvenient.
2021-10-16libcrypt: Hide more private symbols by default. Fix style.nia
2021-10-12crypt(3): match the Argon2 reference implementation's Base64 exactlynia
There are too many minor variations regarding padding and exact alphabet to safely use the implementation in libc or an existing implementation in libcrypt.
2021-10-12crypt(3): Make Argon2 implementation match the reference impl bynia
making sure input salts are decoded as base64.
2020-05-14Remove extra semicolon.msaitoh
2019-10-21adding argon2 support to libcrypt. argon2 user authentication nowjhigh
available via MKARGON2=yes (3 variants supported; argon2id recommended) before using, please read argon2 paper at https://github.com/P-H-C/phc-winner-argon2
2009-01-18fix -Wsign-compare issueslukem
2007-01-17Remove more duplicate #includes, and a few spurious whitespaces at EOLhubertf
From Slava Semushin <slava.semushin@gmail.com>
2005-01-12fix compile issue.christos
2005-01-12- change the gensalt functions to take an optional string instead ofchristos
the number of rounds. - make pw_gensalt() more generic, so that it does not depend in libutil.
2005-01-11sprinkle ARGSUSED and include "crypt.h"christos
2005-01-11only get the rounds if we have them.christos
2005-01-11Add pw_gensalt, which was taken from pwd_gensalt. This now is used in 3christos
places, so it might as well be part of libcrypt.