summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove AES_bi_ige_encrypt() from libcrypto. This routine is supposed to usemiod2014-05-125-366/+0
| | | | | | | | | | | | | two keys and four IVs to do much magic, is specified as such with test vectors, but the implementation actually always uses the first key, and the test vectors were computed with it, so they are wrong. Fixing the code to match the intended specification would break interoperability with existing code (assuming such code would exist), so it is better to remove this interface, which is obviously too complex for mere mortals if even its author can not implement it correctly. Riding on the libcrypto major bump.
* Bring back ASN1_seq_pack(), ASN1_seq_unpack(), ASN1_pack_string() andmiod2014-05-126-0/+430
| | | | | | | | ASN1_unpack_string() from the NO_ASN1_OLD purge; turns out that some Ruby extensions still use them, unfortunately, so we need to give them some more time to catch up on ``recent'' interfaces. Riding on the libcrypto major bump.
* Move the `pqueue' part of libcrypto, which is a glorified sorted linked listmiod2014-05-1212-62/+40
| | | | | | | | | | | | | of 64-bit data, and only used by DTLS, to libssl where it belongs. Remove pqueue_print() which is a debugging interface and serves no useful purpose, except for the regress test, which grows its own pqueue_print() routine. Bump libcrypto major and libssl minor. WARNING: do not update your tree right now, more changes are coming, which will ride the libcrypto major bump.
* remove md5crypt.tedu2014-05-125-195/+65
| | | | | | while changing things, add a crypt_checkpass wrapper that handles most of the edge cases. (not quite ready for production, though.) ok deraadt
* change to having four freelists per size, to reduce another source oftedu2014-05-121-16/+20
| | | | | deterministic behavior. four selected because it's more than three, less than five. i.e., no particular reason.
* More KNF.jsing2014-05-1110-32/+54
|
* KNF.jsing2014-05-114-644/+574
|
* fix MALLOC_STATS code that was broken in rev 1.159, not compiled in by defaultotto2014-05-101-2/+2
|
* __bounded => __attribute__((__bounded__djm2014-05-102-10/+10
|
* Typo in C99 field initializer introduced in r1.3;miod2014-05-092-2/+2
| | | | reported by Steven Chamberlain
* Replace Apache v2 license with ISC license.matthew2014-05-098-100/+100
| | | | | Thanks to Google for agreeing to offer the code under more agreeable licensing terms!
* Add a bit more detail about dot notation from the old inet(3) manpage.guenther2014-05-091-3/+11
| | | | ok jmc@
* move reallocarray() to a seperate file so that -portable applicationsderaadt2014-05-083-18/+46
| | | | | can avoid reinventing the wheel ok guenther schwarze
* Replace hand-crafted STRICT_ALIGNMENT with system provided __STRICT_ALIGNMENT.miod2014-05-082-34/+14
| | | | Forgotten during yesterday's STRICT_ALIGNMENT cleanup commit.
* More KNF.jsing2014-05-0822-90/+188
|
* KNF.jsing2014-05-0824-616/+766
|
* Remove KSSL debug code.jsing2014-05-082-42/+0
| | | | "fire bomb" tedu@
* KNF.jsing2014-05-0814-1824/+1834
|
* Nuke OPENSSL_FIPS - having #ifdefs inside a #ifndef for the same thingjsing2014-05-084-36/+0
| | | | | | is amusing. ok deraadt@
* KNF.jsing2014-05-0832-2998/+3088
|
* knfectomie.jsing2014-05-082-1306/+1636
|
* Emergency knfectomie requested by tedu@.jsing2014-05-0860-12266/+13236
|
* kill some more VMS ifdefsgiovanni2014-05-088-32/+0
| | | | ok miod@
* Get __STRICT_ALIGNMENT from <machine/endian.h> and decide upon it, rathermiod2014-05-0718-70/+52
| | | | | | | | | | | | | | than defining it for not (i386 and amd64 (and sometimes s390)) only. Compile-time tests remain compile-time tests, and runtime-test remain runtime-test instead of being converted to compile-time tests, per matthew@'s explicit demand (rationale: this makes sure the compiler checks your code even if you won't run it). No functional change except on s390 (which we don't run on) and vax (which we run on, but noone cares about) ok matthew@
* less than jpaketedu2014-05-074-317/+4
|
* don't free memory unless we allocated it.tedu2014-05-072-4/+8
| | | | | reported to openssl by David Ramos (rt 3338) stealing commit from logan, who's run away. ok miod.
* with the first bug it uncovered fixed, clear all bignums again.tedu2014-05-072-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.tedu2014-05-072-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 fixhalex2014-05-071-2/+3
| | | | ok crickets@
* KNF.jsing2014-05-0728-1888/+1968
|
* revert, thanks sthentedu2014-05-072-18/+34
|
* add additional includes from eng_cryptodev.cjsg2014-05-072-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 hisderaadt2014-05-072-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.tedu2014-05-061-1/+2
|
* Make sure the stdout output is check, to confirm proper sorting.miod2014-05-063-1/+10
|
* Assorted cleanups:miod2014-05-062-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.miod2014-05-063-1/+111
|
* Remove broken-by-design testmiod2014-05-062-190/+0
|
* Make sure PKCS7_get_octet_string() return values are checked for NULL.miod2014-05-062-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 makemiod2014-05-064-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.tedu2014-05-061-3/+3
|
* fix stupid committedu2014-05-061-5/+5
|
* use explicit_bzerotedu2014-05-061-5/+5
|
* clear a stack buffer with explicit_bzerotedu2014-05-061-2/+2
|
* knf approximationtedu2014-05-0648-17238/+18272
|
* move chacha context and buffer out of bss and allow mmap to place themtedu2014-05-061-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"tedu2014-05-061-8/+0
| | | | it's your lucky day!
* remove Kerberostedu2014-05-062-41/+0
|
* move a comment to make unifdef happiertedu2014-05-061-2/+3
|
* bye bye SRPtedu2014-05-064-975/+0
|