Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add new top-level algorithm which provides basic functionality: name | lloyd | 2010-11-01 | 1 | -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 callers | lloyd | 2010-10-29 | 1 | -1/+2 |
| | |||||
* | s/u32bit/size_t/ | lloyd | 2010-10-29 | 4 | -6/+6 |
| | |||||
* | s/BLOCK_SIZE/block_size()/ | lloyd | 2010-10-13 | 2 | -2/+2 |
| | |||||
* | Use size_t rather than u32bit in SymmetricAlgorithm | lloyd | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | Use size_t in filters | lloyd | 2010-10-12 | 1 | -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... | lloyd | 2010-09-26 | 1 | -1/+1 |
| | |||||
* | Deal with loss of store search | lloyd | 2010-09-21 | 2 | -2/+3 |
| | |||||
* | Split up src/cert/x509 into a set of modules, though mostly mutually | lloyd | 2010-09-17 | 1 | -1/+1 |
| | | | | dependent right now. | ||||
* | Update all uses of MemoryRegion::append to use either push_back or operator+= | lloyd | 2010-09-15 | 1 | -5/+6 |
| | |||||
* | Anywhere where we use MemoryRegion::begin to get access to the raw pointer | lloyd | 2010-09-13 | 1 | -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 STL | lloyd | 2010-09-08 | 2 | -2/+2 |
| | |||||
* | Big, invasive but mostly automated change, with a further attempt at | lloyd | 2010-09-07 | 1 | -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_Decoder | lloyd | 2010-07-09 | 2 | -6/+3 |
| | |||||
* | Give all Filter objects a method for querying their name | lloyd | 2010-06-28 | 1 | -0/+2 |
| | |||||
* | More Doxygen updates/fixes | lloyd | 2010-06-15 | 2 | -2/+2 |
| | |||||
* | Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME to | lloyd | 2010-03-08 | 1 | -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. | lloyd | 2010-03-08 | 2 | -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, | lloyd | 2010-03-08 | 2 | -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_Key | lloyd | 2010-03-04 | 1 | -1/+0 |
| | |||||
* | The code in pk_codecs was actually entirely tied to the code in | lloyd | 2010-03-04 | 1 | -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 typedefs | lloyd | 2010-02-16 | 4 | -10/+10 |
| | |||||
* | Clean up exceptions. Remove some unused ones like Config_Error. Make | lloyd | 2010-01-05 | 2 | -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. | lloyd | 2009-12-16 | 1 | -13/+0 |
| | |||||
* | Rename/remove some secmem member variables for better matching with STL | lloyd | 2009-11-17 | 1 | -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. | lloyd | 2009-10-29 | 1 | -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 rewrites | lloyd | 2009-07-15 | 1 | -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 to | lloyd | 2009-07-15 | 1 | -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 came | lloyd | 2009-03-30 | 8 | -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 code | lloyd | 2008-11-11 | 2 | -18/+31 |
| | |||||
* | Remove some uses of lookup.h from CMS code | lloyd | 2008-11-11 | 2 | -4/+9 |
| | |||||
* | Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly, | lloyd | 2008-11-11 | 1 | -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 dependency | lloyd | 2008-11-09 | 1 | -1/+0 |
| | | | | | | (messy). Remove unused libstate.h includes from a few files. | ||||
* | Split base.h into block_cipher.h and stream_cipher.h | lloyd | 2008-11-08 | 1 | -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 ↵ | lloyd | 2008-11-07 | 1 | -0/+3 |
| | | | | avoid warning) | ||||
* | Fix zlib macro check | lloyd | 2008-11-06 | 1 | -7/+7 |
| | |||||
* | Add BOTAN_DLL macro to public class definitions that were missing it. | lloyd | 2008-10-09 | 2 | -2/+2 |
| | |||||
* | Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 that | lloyd | 2008-10-02 | 2 | -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 asn1 | lloyd | 2008-10-01 | 1 | -8/+9 |
| | |||||
* | Move look_pk and pk_algs to new module pubkey/pk_lookup | lloyd | 2008-10-01 | 1 | -0/+1 |
| | |||||
* | Fixes to not require RC2 for CMS to compile | lloyd | 2008-09-30 | 1 | -5/+17 |
| | |||||
* | Many updates in cms_ealg.cpp, particularly WRT to the ASN.1 code | lloyd | 2008-09-30 | 1 | -61/+65 |
| | |||||
* | Build CMS by default | lloyd | 2008-09-30 | 1 | -1/+1 |
| | |||||
* | Update CMS to at least compile (though in a couple of cases by just | lloyd | 2008-09-30 | 3 | -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 API | lloyd | 2008-09-30 | 3 | -43/+72 |
| | |||||
* | Fix loading issues | lloyd | 2008-09-29 | 1 | -0/+2 |
| | |||||
* | Rename all modinfo.txt files to info.txt, since they are all (none) of | lloyd | 2008-09-29 | 1 | -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) | lloyd | 2008-09-28 | 1 | -0/+5 |
| | |||||
* | Modularize IF family PK algorithms (integer factorization; RSA and RW base | lloyd | 2008-09-28 | 1 | -0/+16 |
| | | | | | | class). Add many missing modinfo.txts that I had not checked in. Oops. | ||||
* | Drop old Makefile. Move tests to examples directory. | lloyd | 2008-09-28 | 3 | -169/+0 |
| |