aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
Commit message (Collapse)AuthorAgeFilesLines
* Rename asn1_int to asn1_obj as it actually declares ASN1_Objectlloyd2012-11-061-1/+1
|
* Update cms, cvc, zlib, bzip2, openssl, and gnump modules for the newlloyd2012-06-073-2/+5
| | | | | | | | allocator interface. The compression filters now just use malloc/free with a memset. Add a new info.txt field <warning>, like comment but warns. Use for CMS which is pretty broken (doesn't even compile anymore), and for TLS.
* propagate from branch 'net.randombit.botan.x509-path-validation' (head ↵lloyd2012-05-257-35/+36
|\ | | | | | | | | | | 63b5a20eab129ca13287fda33d2d02eec329708f) to branch 'net.randombit.botan' (head 8b8150f09c55184f028f2929c4e7f7cd0d46d96e)
| * Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-187-30/+30
| | | | | | | | | | | | 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-06-132-5/+6
| |\ | | | | | | | | | | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-112-5/+6
| | |\ | | | | | | | | | | | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-11-042-5/+6
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | 303b2518a80553214b1e5ab4d9b96ef54629cbc7) to branch 'net.randombit.botan.c++0x' (head d734eefabe4816be4dd3e3e6e7bb13b7ab5be148)
| | | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-132-5/+6
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-092-5/+6
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8761f1c3082e4ce33af57e557f9be9ef838d92a7) to branch 'net.randombit.botan.c++0x' (head e9cc5dade8fca66cdf08e4609154ad9d2a583839)
| | | | | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-092-5/+6
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 161b5c0300b72baa746f101fda1e2b4a7c71818c) to branch 'net.randombit.botan.c++0x' (head 1fc3875bb8daf4ad0e90ba66db72642203cb9984)
| | | | | | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-172-2/+2
| | | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | | | | | * | Various updates: unique_ptr, using chrono, merge fixups, etclloyd2010-03-092-3/+3
| | | | | | | | |
| | | | | | | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-2/+3
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| | | | | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-02-244-10/+10
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2b67727dd9d1e7fe34f3cb7b7f6715ba42a04918) to branch 'net.randombit.botan.c++0x' (head 1e2e1596f2b4928c2b7bfba624ea5e4ac69dfdad)
| | | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-01-211-2/+3
| | | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12382647ef0a28fcb11c824c77b670cc88a4f721) to branch 'net.randombit.botan.c++0x' (head b586a3286d2c4d547ad3add5af9df1455bf4b87b)
| | | | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-161-13/+0
| | | | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 744dccf92270cf16b80b50ee2759424c9866b256) to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
| | | | | | | | | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-171-1/+1
| | | | | | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfb19182987fc95b2a8885584a38edb10b4709b3) to branch 'net.randombit.botan.c++0x' (head 1570877c463fed4b632bc49a5b5ee27c57de2cb5)
| | | | | | | | | * | | | | Replace X509_Store::Search_Func with std::function and lambdaslloyd2009-11-161-2/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Disable CMS by default, since it's pretty untested and likely unusablelloyd2011-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently. Include the source directory name in object file names. Add some more DES test vectors.
* | | | | | | | | | | | | | All of the X509 modules were actually mutually dependent. Ideally thislloyd2012-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | would be fixed but it's quite hard to do, makes more sense for now to merge then back into one big x509 blog.
* | | | | | | | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-04-221-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8efb138f9a7c0b02429372a9c4e4f6614c5a6b87) to branch 'net.randombit.botan.x509-path-validation' (head af3daa43e17054ae367c02de09f77ab9e5f8136f)
| * | | | | | | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-144-14/+14
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4ea4629f9caa98bd72b87de6050d9e52190d09a) to branch 'net.randombit.botan.x509-path-validation' (head 6217561bf05ef77a49ab2ebe39f16bf7133a005a)
| * | | | | | | | | | | | | New branch for splitting up path validation vs certificate storagelloyd2010-11-011-0/+2
| | |/ / / / / / / / / / / | |/| | | | | | | | | | |
* | | | | | | | | | | | | Maintainer mode warning cleanups, mostly for C style casts which Illoyd2011-04-183-3/+5
| |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added to the flags here.
* | | | | | | | | | | | Convert the BER/DER coders to use size_t instead of u32bit for smalllloyd2011-02-094-14/+14
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integer values. Update callers.
* | | | | | | | | | | Add new top-level algorithm which provides basic functionality: namelloyd2010-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | query, clearing, and cloning. Applies to ciphers, hashes, MACs, and PBKDFs. May extend to KDFs later as well. A single combined hierarchy in particular will make the algo_factory much simpler.
* | | | | | | | | | | Make MemoryRegion::set protected, change all callerslloyd2010-10-291-1/+2
| | | | | | | | | | |
* | | | | | | | | | | s/u32bit/size_t/lloyd2010-10-294-6/+6
|/ / / / / / / / / /
* | | | | | | | | | s/BLOCK_SIZE/block_size()/lloyd2010-10-132-2/+2
| | | | | | | | | |
* | | | | | | | | | Use size_t rather than u32bit in SymmetricAlgorithmlloyd2010-10-131-1/+1
| | | | | | | | | |
* | | | | | | | | | Use size_t in filterslloyd2010-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This breaks API for anyone creating their own Filter types, but it had to happen eventually.
* | | | | | | | | | Silence warning, cms is really getting pretty broken...lloyd2010-09-261-1/+1
| | | | | | | | | |
* | | | | | | | | | Deal with loss of store searchlloyd2010-09-212-2/+3
| | | | | | | | | |
* | | | | | | | | | Split up src/cert/x509 into a set of modules, though mostly mutuallylloyd2010-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dependent right now.
* | | | | | | | | | Update all uses of MemoryRegion::append to use either push_back or operator+=lloyd2010-09-151-5/+6
| | | | | | | | | |
* | | | | | | | | | 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
* | | | | | | | | | Rename MemoryRegion::destroy to MemoryRegion::clear to match STLlloyd2010-09-082-2/+2
| | | | | | | | | |
* | | | | | | | | | 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.
* / / / / / / / / Remove unused UI param to CMS_Decoderlloyd2010-07-092-6/+3
|/ / / / / / / /
* | | | | | | / Give all Filter objects a method for querying their namelloyd2010-06-281-0/+2
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | More Doxygen updates/fixeslloyd2010-06-152-2/+2
|/ / / / / /
* | | | | | Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME tolloyd2010-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PK_Encryptor_EME and PK_Decryptor_EME; the message recovery is somewhat implicit in the recovery of the plaintext.
* | | | | | Modify pubkey classes to take names instead of object pointers.lloyd2010-03-082-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* | | | | | Remove the now no-op classes PK_Encrypting_Key,lloyd2010-03-082-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PK_Decrypting_Key, PK_Signing_Key, PK_Verifying_with_MR_Key, and PK_Verifying_wo_MR_Key.
* | | | | | Remove some unnecessary usages of PK_Signing_Keylloyd2010-03-041-1/+0
| | | | | |
* | | | | | The code in pk_codecs was actually entirely tied to the code inlloyd2010-03-041-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | pubkey; you literally could not compile any pubkey code without it. Move it up to the pubkey dir, it wasn't at all useful to have it in its own dir.
* | | | | Remove use of old typedefslloyd2010-02-164-10/+10
|/ / / /
* | | / Clean up exceptions. Remove some unused ones like Config_Error. Makelloyd2010-01-052-9/+9
| |_|/ |/| | | | | | | | | | | | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail.
* | | Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-13/+0
| |/ |/|
* | Rename/remove some secmem member variables for better matching with STLlloyd2009-11-171-1/+1
|/ | | | | | | | containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize