aboutsummaryrefslogtreecommitdiffstats
path: root/src/cms
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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)