Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | with the first bug it uncovered fixed, clear all bignums again. | tedu | 2014-05-07 | 2 | -34/+18 |
| | | | | i've never worked on codebase so resistant to efforts to improve it. | ||||
* | in BN_clear_free, don't cleanse the data if the static data flag is set. | tedu | 2014-05-07 | 2 | -6/+4 |
| | | | | | | | | much debugging work done by otto. ok miod otto. side note: BN_FLG_STATIC_DATA doesn't actually mean the data is static. it's also used to indicate the data may be secretly shared behind your back as a sort of poor man's refcounting, but without the refcounting. | ||||
* | comment style fix | halex | 2014-05-07 | 1 | -2/+3 |
| | | | | ok crickets@ | ||||
* | KNF. | jsing | 2014-05-07 | 28 | -1888/+1968 |
| | |||||
* | revert, thanks sthen | tedu | 2014-05-07 | 2 | -18/+34 |
| | |||||
* | add additional includes from eng_cryptodev.c | jsg | 2014-05-07 | 2 | -0/+10 |
| | | | | | makes this compile with OPENSSL_NO_DEPRECATED defined. ok deraadt@ | ||||
* | miod forgot about fcrypt_b.c being needed, before he went off to get his | deraadt | 2014-05-07 | 2 | -2/+4 |
| | | | | | beauty sleep. He's probably having a nightmare about this right now.... ok tedu | ||||
* | small fix from mancha1. currently unused file, but no harm fixing it. | tedu | 2014-05-06 | 1 | -1/+2 |
| | |||||
* | Make sure the stdout output is check, to confirm proper sorting. | miod | 2014-05-06 | 3 | -1/+10 |
| | |||||
* | Assorted cleanups: | miod | 2014-05-06 | 2 | -28/+8 |
| | | | | | | | | | | | - replace hardcoded sizes with sizeof() - pqueue_find() apparently used to need to keep track of the previous node when iterating, which causes its logic to be complicated. However, nowadays it only needs to iterate, so replace with a straightforward, much readable logic. - remove #if 0'ed code From ``sin'' from 2f30 dot org on tech@, thanks! | ||||
* | Add a fixed (read: non-SIGSEGV'ing) pq_test. | miod | 2014-05-06 | 3 | -1/+111 |
| | |||||
* | Remove broken-by-design test | miod | 2014-05-06 | 2 | -190/+0 |
| | |||||
* | Make sure PKCS7_get_octet_string() return values are checked for NULL. | miod | 2014-05-06 | 2 | -4/+20 |
| | | | | | | Reported by David Ramos (and simultaneously to OpenSSL as PR#3339). ok beck@ logan@ | ||||
* | Sort CFLAGS, SRC and SSLASM stanzas by the directories they apply to, to make | miod | 2014-05-06 | 4 | -136/+166 |
| | | | | | these files similar in layout to the other md Makefile.inc; no functional change. | ||||
* | missing NULL checks to see if init is needed. found hard way by deraadt. | tedu | 2014-05-06 | 1 | -3/+3 |
| | |||||
* | fix stupid commit | tedu | 2014-05-06 | 1 | -5/+5 |
| | |||||
* | use explicit_bzero | tedu | 2014-05-06 | 1 | -5/+5 |
| | |||||
* | clear a stack buffer with explicit_bzero | tedu | 2014-05-06 | 1 | -2/+2 |
| | |||||
* | knf approximation | tedu | 2014-05-06 | 48 | -17238/+18272 |
| | |||||
* | move chacha context and buffer out of bss and allow mmap to place them | tedu | 2014-05-06 | 1 | -6/+16 |
| | | | | wherever it decides it would like them. first step. ok deraadt dlg djm | ||||
* | "stay backwards-compatible with 0.9.5; this should go away soon" | tedu | 2014-05-06 | 1 | -8/+0 |
| | | | | it's your lucky day! | ||||
* | remove Kerberos | tedu | 2014-05-06 | 2 | -41/+0 |
| | |||||
* | move a comment to make unifdef happier | tedu | 2014-05-06 | 1 | -2/+3 |
| | |||||
* | bye bye SRP | tedu | 2014-05-06 | 4 | -975/+0 |
| | |||||
* | inspired by a cloudflare diff, cleanse old memory when expanding a bignum. | tedu | 2014-05-05 | 2 | -34/+18 |
| | | | | | | however, instead of trying to audit all the places where a secret bignum is used, apply the big hammer and clear all bignums when freed. ok deraadt miod | ||||
* | Sort and group includes. | jsing | 2014-05-05 | 4 | -20/+22 |
| | |||||
* | Repair BIO_socket_nbio operation. | jsing | 2014-05-05 | 2 | -4/+6 |
| | | | | ok miod@ | ||||
* | During the great e_os.h nukathon we stopped pulling in <sys/filio.h> via | jsing | 2014-05-05 | 3 | -35/+6 |
| | | | | | | | | | the ifdef maze, meaning that FIONBIO was no longer defined. This removes non-blocking I/O support from s_{client,server,time}. Remove all FIONBIO ifdefs and import <sys/ioctl.h>, renabling -nbio. ok miod@ | ||||
* | Kill memory debug calls that are now noops. While here, nuke an #if 0 and | jsing | 2014-05-05 | 1 | -22/+3 |
| | | | | | | a unnecessary NULL check before free. ok miod@ | ||||
* | OpenBSD has_SC_CLK_TCK. | jsing | 2014-05-05 | 1 | -27/+0 |
| | | | | ok miod@ | ||||
* | Remove SRP and Kerberos support from libssl. These are complex protocols | tedu | 2014-05-05 | 30 | -5120/+2 |
| | | | | | all on their own and we can't effectively maintain them without using them, which we don't. If the need arises, the code can be resurrected. | ||||
* | Enable assembler code for DES. Assembler code for BN is commented out as it | miod | 2014-05-05 | 2 | -0/+54 |
| | | | | | uses the `umul' and `udiv' instructions directly, which are not supported on v7 processors. | ||||
* | Improve line wrapping for lines exceeding 80 chars. | jim | 2014-05-04 | 128 | -497/+714 |
| | | | | ok jmc@ | ||||
* | Add missing SEE ALSO section header. | jim | 2014-05-04 | 1 | -0/+2 |
| | | | | yup jmc@ | ||||
* | Remove trailing whitespace. | jim | 2014-05-04 | 140 | -345/+345 |
| | | | | fine jmc@ | ||||
* | Remove a leading whitespace. | jim | 2014-05-04 | 1 | -1/+1 |
| | | | | ok jmc@ | ||||
* | Add missing SEE ALSO section header. | jim | 2014-05-04 | 2 | -0/+4 |
| | | | | ok jmc@ | ||||
* | Improve line wrapping for lines exceeding 80 chars. | jim | 2014-05-04 | 43 | -58/+115 |
| | | | | ok jmc@ | ||||
* | Remove trailing whitespace. | jim | 2014-05-04 | 22 | -36/+36 |
| | | | | ok jmc@ | ||||
* | delete useless test code | deraadt | 2014-05-04 | 1 | -23/+1 |
| | |||||
* | Remove trailing whitespace. | jim | 2014-05-04 | 37 | -176/+176 |
| | | | | no objection jmc@ | ||||
* | i give up. reuse problem is unfixable. dlg says puppet crashes. | tedu | 2014-05-04 | 2 | -16/+8 |
| | |||||
* | Enable the assembler code for BN, which was lost quite some time ago. | miod | 2014-05-04 | 2 | -0/+38 |
| | |||||
* | Remove the !SSLASM conditional. Either there is an arch-specific Makefile.inc, | miod | 2014-05-04 | 1 | -4/+2 |
| | | | | | or the !SSLASM list of files applies. This allows for an arch-specific Makefile.inc to not specify SSLASM. | ||||
* | Enable assembler code for AES, DES, GCM, SHA1, SHA256 and SHA512. | miod | 2014-05-03 | 2 | -0/+92 |
| | | | | | The sparcv9 BN code is not enabled, as it expects to run on a 32-bit userland and will need to be fixed for 64-bit userland first. | ||||
* | Enable assembler code for AES, BN (Montgomery), GCM128, SHA1, SHA256 and SHA512. | miod | 2014-05-03 | 2 | -0/+90 |
| | | | | | Note that GCM128 Neon code is currently not built (and thus not tested), as the current toolchain does not support Neon instructions. | ||||
* | Do not compile the neon probe code until __ARM_ARCH__ >= 7. Neon-specific code | miod | 2014-05-03 | 4 | -4/+28 |
| | | | | will not get referenced if this condition is not met. | ||||
* | typos | miod | 2014-05-03 | 2 | -4/+4 |
| | |||||
* | Correctly enable Montgomery code. | miod | 2014-05-03 | 2 | -2/+4 |
| | |||||
* | now that 5.5 has been released with compatibility for 2b hashes, | tedu | 2014-05-03 | 1 | -2/+2 |
| | | | | switch to generating them by default. prodded by deraadt and sthen |