aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/tss
Commit message (Collapse)AuthorAgeFilesLines
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-013-346/+0
|
* Give everything setting a feature test macro in build.h a version codelloyd2013-11-281-1/+1
| | | | | | so application code can check for the specific API it expects without having to keep track of what versions APIs x,y,z changed. Arbitrarily set all current API versions to 20131128.
* Plain hex_decode now returns a std::vector, use hex_decode_locked tolloyd2012-05-261-1/+1
| | | | get a secure_vector.
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-182-7/+7
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-111-1/+1
|\ | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-282-2/+2
| |\ | | | | | | | | | | | | | | | 2841fb518e20d2fe0a374e4f6b08bdbb14d5d158) to branch 'net.randombit.botan.c++0x' (head 0b9275139d6346bd3aa28d63bf8b8a03851d853d)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-09-031-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | a29c41b4a949207b1544096c3afab668f8b5179e) to branch 'net.randombit.botan.c++0x' (head a9d0c2f805b3c20a4c648575d7256959db8329fe)
| | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-8/+29
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | * | | Various updates: unique_ptr, using chrono, merge fixups, etclloyd2010-03-091-1/+1
| | | | | |
* | | | | | Rename to avoid conflicts in the amalgamationlloyd2010-12-281-4/+6
| |_|_|_|/ |/| | | |
* | | | | s/u32bit/size_t/lloyd2010-10-181-1/+1
| | | | |
* | | | | More size_tlloyd2010-10-151-1/+1
|/ / / /
* | | | Use output_length() instead of OUTPUT_LENGTH pseudo-propertylloyd2010-10-131-3/+3
| | | |
* | | | Update all uses of MemoryRegion::append to use either push_back or operator+=lloyd2010-09-151-9/+9
| | | |
* | | | More changes to avoid vector to pointer implicit conversionslloyd2010-09-141-2/+2
| | | |
* | | | Remove more uses of vector to pointer implicit conversionslloyd2010-09-131-1/+2
| | | |
* | | | Anywhere where we use MemoryRegion::begin to get access to the raw pointerlloyd2010-09-131-3/+3
|/ / / | | | | | | | | | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector
* | / Update some callers that were using Hex_Encoder or Hex_Decoder butlloyd2010-09-031-6/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | really didn't need to. The ones in symkey and big_code were actually calling accessor functions to do the encoding themselves without a Pipe (should have definitely recognized that as a code smell). These versions have changed semantically with this checkin - previously they would completely ignore bad inputs, but now invalid inputs are rejected. For instance, you cannot say SymmetricKey key("Only some of this is hex, most of it isn't"); And expect to get a valid key formed by filtering out the non-hex characters and then decoding it. This is almost certainly a good thing. Also fix include in Botan.xs
* | More Doxygen commentslloyd2010-06-161-8/+26
| |
* | More Doxygen updates/fixeslloyd2010-06-151-0/+3
|/
* Avoid MSVC warning 4800 about implicit conversion from T to bool. Mostlylloyd2009-12-231-1/+1
| | | | because it makes the code slightly more explicit.
* Un-internal loadstor.h (and its header deps, rotate.h andlloyd2009-12-211-1/+1
| | | | | | | | | | | | | | bswap.h); too many external apps rely on loadstor.h existing. Define 64-bit generic bswap in terms of 32-bit bswap, since it's not much slower if 32-bit is also generic, and much faster if it's not. This may be quite helpful on 32-bit x86 in particular. Change formulation of generic 32-bit bswap. It may be faster or slower depending on the CPU, especially the latency and throuput of rotate instructions, but should be faster on an ideally superscalar processor with rotate instructions (ie, what I expect future CPUs to look more like).
* Add missing BOTAN_DLL exports.lloyd2009-12-161-1/+1
| | | | Move most of the engine headers to internal
* Make many more headers internal-only.lloyd2009-12-161-1/+1
| | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions.
* Move most code that relies heavily on Filters into src/filters.lloyd2009-11-173-0/+326
Remove support for (unused) modset settings. Move tss, fpe, cryptobox, and aont to new dir constructs