| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok tedu@
|
|
|
|
|
|
| |
pwd_gensalt origins, but a string argument works equally work and is more
friendly to consumers beyond local user accounts.
ok deraadt
|
| |
|
| |
|
|
|
|
|
| |
does most of the work pwd_gensalt did, but also creates the hash.
(unused yet)
|
| |
|
|
|
|
|
|
|
|
| |
Move <sys/mman.h> and raise(SIGKILL) calls to OS-specific headers.
On OpenBSD, move thread_private.h as well to arc4random.h.
On Windows, use TerminateProcess on getentropy failure.
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
6.11.5 - Storage-class specifiers:
The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is
an obsolescent feature.
Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
into one if a system has an awesome getentropy(). In that case it
is valid to totally throw away the rsx state in the child. If the
getentropy() is not very good and has a lazy reseed operation, this
combining is a bad idea, and the reseed should probably continue to
use the "something old, something new" mix. _rs_allocate() can
accomodate either method, but not on the fly.
ok matthew
|
|
|
|
|
| |
making it much easier for libressl -portable to fill in the gaps.
ok bcook beck
|
|
|
|
|
| |
address space, and once allocated rs is never deallocated."
document the forkhandler to save reviewers time, with matthew
|
| |
|
|
|
|
| |
ok deraadt@ beck@ kettenis@
|
|
|
|
|
| |
makes it much harder.
ok bcook@ kettenis@
|
|
|
|
|
|
| |
can copy this file (plus chacha_private.h) directly and reuse it
trivially. Well, as long as they have a getentropy() as well..
ok beck
|
|
|
|
|
|
| |
now using this as upstream code. The particular problem is systems
that contain older arc4random derivations lacking arc4random_uniform().
ok tedu miod
|
|
|
|
| |
ok jsing@
|
|
|
|
| |
ok beck@ deraadt@ jsing@ guenther@
|
|
|
|
| |
portable code path must handle that; with brent cook
|
|
|
|
|
| |
mechanism, to aid in portability to other systems as requested.
ok matthew
|
| |
|
|
|
|
|
|
|
| |
Allow other non-zero return values in case we change our mind to
return an ssize_t byte count instead of simple success/fail.
ok deraadt, djm
|
|
|
|
|
|
|
|
|
| |
MAP_INHERIT_ZERO anymore. This restores arc4random's previous
behavior where fork children would mix in some randomness from the
parent process.
New behavior noticed by deraadt
ok deraadt, tedu
|
|
|
|
|
|
|
|
| |
Now instead of calling getpid() each time a user invokes arc4random(),
we're able to rely on the kernel zero'ing out the RNG state if the
process forks.
ok deraadt, djm
|
|
|
|
| |
of sysctl(). Mark it with XXX while we consider.
|
|
|
|
|
| |
call abort().
this direction discussed at length with miod beck tedu matthew etc
|
|
|
|
| |
From Fritjof Bornebusch.
|
|
|
|
|
|
| |
While there, sort headers.
ok tedu@
|
|
|
|
| |
ok miod
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
while changing things, add a crypt_checkpass wrapper that handles most of
the edge cases. (not quite ready for production, though.)
ok deraadt
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
wherever it decides it would like them. first step. ok deraadt dlg djm
|
| |
|
|
|
|
| |
switch to generating them by default. prodded by deraadt and sthen
|
|
|
|
|
|
|
|
|
|
| |
2. Pull up the actual minor processing code into the switch that
parses it.
3. atoi is actually simpler than strtonum in this case, but check the
input beforehand so we don't get unexpected results.
4. Slightly more consistent style between various parse and check and
increment operations on salt.
ok deraadt
|
| |
|
| |
|
| |
|
|
|
|
| |
this license change. We will remember that we all still like beer.
|
| |
|
| |
|
|
|
|
|
|
| |
use better constant for salt size.
always copy ":" to gerror, in case somebody is dumb enough to overwrite it
timingsafe_bcmp before somebody whines about strcmp
|
| |
|