aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/dh
Commit message (Collapse)AuthorAgeFilesLines
* Remove DH_PrivateKey::PKCS8_load_hooklloyd2010-03-042-15/+23
|
* Add similar decoding constructors to the private keyslloyd2010-03-041-5/+7
|
* Add a new constructor to each public key algorithm (only the publiclloyd2010-03-041-5/+6
| | | | | | | keys so far, private keys not changed) that takes an AlgorithmIdentifier and a MemoryRegion<byte>&. This performs the X.509 decoding. It is not possible anymore to create uninitialized PK objects.
* Add missing BOTAN_DLL exports.lloyd2009-12-162-2/+2
| | | | Move most of the engine headers to internal
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-162-12/+9
|
* 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.
* Split up util.h into 3 fileslloyd2009-09-171-1/+1
| | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-2/+2
| | | | | | 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/+0
| | | | | | | 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
* engine.h had copies of some declarations from pk_engine.h that had notlloyd2009-05-131-1/+1
| | | | | | been removed when that portion of the code was split off. Remove the duplicated code from engine.h and update some code in pubkey that still relied on the declarations in engine.h instead of pk_engine.h
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-305-71/+81
| | | | | | | | | | | | | | | 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 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.
* Remove dependency on Default_Engine from pubkey codelloyd2008-11-082-21/+0
|
* Add Doxygen comments to dh.h (from InSiTo)lloyd2008-10-131-13/+34
|
* Move look_pk and pk_algs to new module pubkey/pk_lookuplloyd2008-10-011-0/+1
|
* Handle building Botan with almost all public key code disabled (though onlylloyd2008-10-011-2/+2
| | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL
* Move last pieces of algorithm-specific code from general 'pubkey' modulelloyd2008-10-011-1/+1
| | | | | into algorithm-specific directories. (Dependencies still remain on these in core/libstate, though).
* Split Diffie-Hellman off almost completely, such that nearly none oflloyd2008-10-014-3/+66
| | | | | | | | | | it builds if it is disabled. Current deficiency: due to #if defined(BLAH) in the engine code, Botan will not be binary compat across different configurations b/c the vtable will change size. Move some source from core/ to core/libstate where it belonged (engine stuff)
* Rename pk dir to pubkey, avoids tab-completion collision with pk_padlloyd2008-10-015-0/+299