aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | |
* | | | | | 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
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-2/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-8/+15
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Move the contents of pubkey/pubkey (which was kind of a catch-all tolloyd2009-07-151-1/+1
| | | | | | | just toplevel pubkey). This was a convention I realized made sense sometime on when I was first doing the modularization changes. Move pkcs8.* and x509_key.* to pk_codecs
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-308-161/+177
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Remove last uses of lookup.h in CMS codelloyd2008-11-112-18/+31
|
* Remove some uses of lookup.h from CMS codelloyd2008-11-112-4/+9
|
* Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly,lloyd2008-11-111-1/+0
| | | | | the other half was relied upon by pubkey. Move the contents into those two modules. Update deps.
* Move engine to libstate/ directory, since there is a mutual dependencylloyd2008-11-091-1/+0
| | | | | | (messy). Remove unused libstate.h includes from a few files.
* Split base.h into block_cipher.h and stream_cipher.hlloyd2008-11-081-0/+1
| | | | | | It turned out many files were including base.h merely to get other includes (like types.h, secmem.h, and exceptn.h). Those have been changed to directly include the files containing the declarations that code needs.
* Add a check for empty string in CMS_Encoder::can_compress_with (mostly to ↵lloyd2008-11-071-0/+3
| | | | avoid warning)
* Fix zlib macro checklloyd2008-11-061-7/+7
|
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-092-2/+2
|
* Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 thatlloyd2008-10-022-6/+3
| | | | | | | | added a new mandatory parameter of a Library_State& to get_cipher(). Do this so Monotone does not have to special case. Other lookup related functions like retrieve_<type> and add_algorithm() still require a Library_State& however.
* Move oids.h to oid_lookup. Allows for much smaller build by disabling asn1lloyd2008-10-011-8/+9
|
* Move look_pk and pk_algs to new module pubkey/pk_lookuplloyd2008-10-011-0/+1
|
* Fixes to not require RC2 for CMS to compilelloyd2008-09-301-5/+17
|
* Many updates in cms_ealg.cpp, particularly WRT to the ASN.1 codelloyd2008-09-301-61/+65
|
* Build CMS by defaultlloyd2008-09-301-1/+1
|
* Update CMS to at least compile (though in a couple of cases by justlloyd2008-09-303-16/+24
| | | | | #ifdef'ing out code); it still needs a good bit of work and has not been tested at all.
* Many updates for the CMS code to bring up to date with current APIlloyd2008-09-303-43/+72
|
* Fix loading issueslloyd2008-09-291-0/+2
|
* Rename all modinfo.txt files to info.txt, since they are all (none) oflloyd2008-09-291-0/+0
| | | | | them modules now. In any case there is no distinction so info.txt seems better.
* New filters module. Add deps for it in some needed areas (codec, pbes)lloyd2008-09-281-0/+5
|
* Modularize IF family PK algorithms (integer factorization; RSA and RW baselloyd2008-09-281-0/+16
| | | | | | class). Add many missing modinfo.txts that I had not checked in. Oops.
* Drop old Makefile. Move tests to examples directory.lloyd2008-09-283-169/+0
|
* Move CMS code into main src tree, though it currently doesn't compile (needs ↵lloyd2008-09-2811-0/+1400
further updating)