aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/get_enc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-16/+18
| | | | | | | | | | | | | | | 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).
* Allow asking for EMSA3(Raw) in get_emsa (returning a new EMSA3_Raw object)lloyd2008-11-281-0/+4
|
* Remove support for provider identifiers from SCAN_Name - it turns out thislloyd2008-11-121-3/+3
| | | | | | | | | | | | was not the right place to keep track of this information. Also modify all Algorithm_Factory constructor functions to take instead of a SCAN_Name a pair of std::strings - the SCAN name and an optional provider name. If a provider is specified, either that provider will be used or the request will fail. Otherwise, the library will attempt best effort, based on user-set algorithm implementation settings (combine with benchmark.h for choosing the fastest implementation at runtime) or if not set, a static ordering (preset in static_provider_weight in prov_weight.cpp, though it would be nice to make this easier to toggle).
* Make SCAN_Name::arg return a new SCAN_Name that has the same providers list,lloyd2008-11-111-16/+24
| | | | this allows provider preferences to be passed down to sub-algorithms.
* Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpplloyd2008-11-111-0/+3
|
* Remove lookup dep from basic pubkey classeslloyd2008-11-101-0/+3
|
* Shorten SCAN_Name's argument arg in function nameslloyd2008-11-101-17/+17
|
* Move get_bc_pad to def_engine/def_mode.cpplloyd2008-11-101-28/+0
| | | | Compilation fix in arc4_openssl.cpp
* Remove support for block cipher padding methods in engine. Like S2K,lloyd2008-11-101-0/+28
| | | | | | | | | | they were not used at all outside of the core library implementations. One change is that now get_bc_pad returns a new object, instead of a pointer to a const shared padding method. This does imply a bit more dynamic memory overhead, but the modes are pretty light (stateless, for the most part), so this doesn't seem like a big deal. So modify ECB and CBC classes to add destructors to delete the padding object.
* Remove support for S2K in Engines. There are only three implementations oflloyd2008-11-101-1/+39
| | | | | | an S2K in Botan, all in the core library, and it's relatively unlikely that that many more will be added. get_s2k still exists and performs a direct search across the possibilities.
* Modify get_enc to use SCAN_Namelloyd2008-11-091-82/+41
|
* Remove get_mgf - unsused internally, and I doubt apps use it muchlloyd2008-11-081-19/+0
|
* Move libstate and selftest out of core/ dir to toplevellloyd2008-10-261-0/+240