summaryrefslogtreecommitdiff
path: root/dbrandom.c
Commit message (Collapse)AuthorAgeFilesLines
* workaround memory sanitizer FD_ZERO false positivesMatt Johnston2018-03-061-1/+1
|
* clean some fuzzing conditionalsMatt Johnston2018-02-281-3/+3
|
* - #if not #ifdef for DROPBEAR_FUZZMatt Johnston2018-02-281-4/+4
| | | | - fix some unused variables
* merge from mainMatt Johnston2018-02-171-1/+31
|\
| * merge from mainMatt Johnston2017-06-141-1/+31
| |\
| | * fuzzer-pubkeyMatt Johnston2017-05-231-1/+1
| | |
| | * glaring wrapfd problems fixedMatt Johnston2017-05-201-2/+3
| | |
| | * closer to workingMatt Johnston2017-05-201-2/+0
| | |
| | * merge main to fuzzMatt Johnston2017-05-181-0/+31
| | |\
| | | * fuzz harnessMatt Johnston2017-05-131-3/+4
| | | |
| | | * copy over some fuzzing code from AFL branchMatt Johnston2017-05-121-0/+30
| | | |
* | | | options: Complete the transition to numeric toggles (`#if')Michael Witten2017-07-201-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the sake of review, this commit alters only the code; the affiliated comments within the source files also need to be updated, but doing so now would obscure the operational changes that have been made here. * All on/off options have been switched to the numeric `#if' variant; that is the only way to make this `default_options.h.in' thing work in a reasonable manner. * There is now some very minor compile-time checking of the user's choice of options. * NO_FAST_EXPTMOD doesn't seem to be used, so it has been removed. * ENABLE_USER_ALGO_LIST was supposed to be renamed DROPBEAR_USER_ALGO_LIST, and this commit completes that work. * DROPBEAR_FUZZ seems to be a relatively new, as-yet undocumented option, which was added by the following commit: commit 6e0b539e9ca0b5628c6c5a3d118ad6a2e79e8039 Author: Matt Johnston <matt@ucc.asn.au> Date: Tue May 23 22:29:21 2017 +0800 split out checkpubkey_line() separately It has now been added to `sysoptions.h' and defined as `0' by default. * The configuration option `DROPBEAR_PASSWORD_ENV' is no longer listed in `default_options.h.in'; it is no longer meant to be set by the user, and is instead left to be defined in `sysoptions.h' (where it was already being defined) as merely the name of the environment variable in question: DROPBEAR_PASSWORD To enable or disable use of that environment variable, the user must now toggle `DROPBEAR_USE_DROPBEAR_PASSWORD'. * The sFTP support is now toggled by setting `DROPBEAR_SFTPSERVER', and the path of the sFTP server program is set independently through the usual SFTPSERVER_PATH.
* | | | Pointer parameter could be declared as pointing to constFrancois Perrad2017-08-191-1/+1
|/ / /
* | | use #ifdef DROPBEAR_PRNGD_SOCKET instead of #ifFrancois Perrad2016-11-191-3/+3
|/ /
* | Convert #ifdef to #if, other build changesMatt Johnston2016-05-041-3/+3
|/
* add parentheses to macroFrancois Perrad2016-01-011-1/+1
|
* Turn addrandom()'s buf argument into unsigned char *Ga?l PORTAY2015-05-021-1/+1
| | | | Data is usually represented as "unsigned char *" like genrandom().
* Tighten validation of DH values. Odds of x==0 being generated areMatt Johnston2015-02-101-1/+1
| | | | | improbable, roughly 2**-1023 Regression in 0.49
* rename random.h to dbrandom.h since some OSes have a system random.hMatt Johnston2013-11-141-0/+312