aboutsummaryrefslogtreecommitdiffstats
path: root/src/ssl/rec_wri.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make Record_Writer call a callback instead of writing directly to the socketlloyd2010-10-191-5/+5
|
* Run MAC as standalone object instead of running it through a Pipe atlloyd2010-10-191-26/+22
| | | | record layer.
* Last u32bit->size_t for ssllloyd2010-10-151-5/+5
|
* More size_tlloyd2010-10-151-12/+12
|
* Hide a number of the internal SSL headers from the user, you can stilllloyd2010-09-151-1/+1
| | | | see too much but better than before.
* More changes to avoid vector to pointer implicit conversionslloyd2010-09-141-2/+2
|
* Anywhere where we use MemoryRegion::begin to get access to the raw pointerlloyd2010-09-131-1/+1
| | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector
* Big, invasive but mostly automated change, with a further attempt atlloyd2010-09-071-1/+1
| | | | | | | | | | | | | | harmonising MemoryRegion with std::vector: The MemoryRegion::clear() function would zeroise the buffer, but keep the memory allocated and the size unchanged. This is very different from STL's clear(), which is basically the equivalent to what is called destroy() in MemoryRegion. So to be able to replace MemoryRegion with a std::vector, we have to rename destroy() to clear() and we have to expose the current functionality of clear() in some other way, since vector doesn't support this operation. Do so by adding a global function named zeroise() which takes a MemoryRegion which is zeroed. Remove clear() to ensure all callers are updated.
* Fix comparison to use IVs with a hypothetical negotiated TLS that useslloyd2010-06-091-1/+1
| | | | a larger major version #.
* Use "/*" instead of "/**" in starting comments at the begining of a file.lloyd2010-06-071-1/+1
| | | | | This caused Doxygen to think this was markup meant for it, which really caused some clutter in the namespace page.
* Add support for TLS v1.1's per-record random IV. Tested against GnuTLS server.lloyd2010-03-301-1/+21
|
* Rename pad_amount to block_size, more accurate/descriptivelloyd2010-03-301-5/+11
|
* Also remove compression bits from record writerlloyd2010-03-251-14/+4
|
* Rename Policy to TLS_Policy.lloyd2010-02-161-1/+1
| | | | Put TLS_ in all the header guards to reduce the odds of conflicts.
* Various minor SSL fixeslloyd2010-02-141-1/+0
|
* Import latest version of Ajisai into src/ssl; once this hits mainlinelloyd2010-01-111-0/+259
I'll officially kill off Ajisai (instead of it just lingering as a zombine as it is currently). Apparently I broke something (or multiple things) during the import process; servers crash and clients gets MAC errors on connect.