aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-089-25/+24
|\ | | | | | | | | | | 5cadcc57872bef55226579df57349fe09a93d1f5) to branch 'net.randombit.botan.c++0x' (head d1747f0394aa4442e5b32b9102b830e1a86f0e5a)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-2131-96/+113
| |\ | | | | | | | | | | | | | | | 95eb8083f5884531e5ca0667388f8a6fb6d05c41) to branch 'net.randombit.botan.c++0x' (head 56e105e678540c8bcafa4d0198c19a9489fbf8d1)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-06-049-25/+24
| |\ \ | | | | | | | | | | | | | | | | | | | | 6a746ccf1e957dba703e65372050a7bd4d6b117d) to branch 'net.randombit.botan.c++0x' (head f54bb7b391eb3b71f380a68ddd460debdc31545d)
| | * | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-019-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways.
* | | | Replace 'XXX' and other such notes with FIXME for easy greppinglloyd2009-07-222-3/+4
| | | |
* | | | Fix some unused variable nits pointed out by icc 10.1lloyd2009-07-212-7/+1
| | | |
* | | | One signature of PKCS8::PEM_encode was stray, and didn't have a coorespondinglloyd2009-07-211-5/+0
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | implementation. This had been the case since at least 1.8.0. Remove it, since implementing this signature would require having the library create an AutoSeeded_RNG, which seems like it might be quite surprising to an unsuspecting user. Problem reported by M. Braun in ticket 44
* | | Move back to pk_codecs, propagate to pubkey-refactor donelloyd2009-07-214-0/+0
| | |
* | | Move from pk_codecs to pubkey to solve merge problemlloyd2009-07-214-0/+0
| | |
* | | Correct source listings for moved fileslloyd2009-07-161-2/+0
| | |
* | | Move some files around to break up dependencies between directorieslloyd2009-07-164-0/+4
| | |
* | | Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-1516-80/+107
| | | | | | | | | | | | | | | | | | 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-1526-16/+4
|/ / | | | | | | | | | | | | 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-137-7/+7
|/ | | | | | 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-3070-988/+1128
| | | | | | | | | | | | | | | 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).
* Add back the public key filters, at the request of Andreas Podgurski onlloyd2009-03-193-0/+204
| | | | the mailing list.
* Update some doxygen comments. Contributed by Charles Brockman in bug #39lloyd2009-03-021-1/+1
|
* Fix a memory leak in PKCS #8 load_key and encrypt_key that wouldlloyd2008-12-121-5/+9
| | | | | | | | | | occur because PKCS #5 v2.0 doesn't support empty passphrases (though maybe it should?). In this case pbe->set_key would throw an exception, causing the stack to be unwound without the (dynamically created) PBE object being deleted. Use auto_ptr to hold the PBE*, then .release() it when passing it to the Pipe (since Pipe takes ownership of its Filters). Noticed when looking at valgrind analysis of monotone's sync command.
* DL_Group constructor taking three BigInts had the order of q and g swappedlloyd2008-12-081-1/+1
| | | | in the header.
* Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly,lloyd2008-11-1113-178/+5
| | | | | the other half was relied upon by pubkey. Move the contents into those two modules. Update deps.
* Bubble up use of global algo factory out of DSA parameter gen to DL_Grouplloyd2008-11-111-2/+6
|
* Make the level of key consistency checking performed be a build constantlloyd2008-11-111-19/+3
| | | | instead of runtime configurable.
* Remove unused include of <memory>lloyd2008-11-111-1/+0
|
* Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpplloyd2008-11-115-48/+67
|
* Remove lookup dep from basic pubkey classeslloyd2008-11-103-47/+29
|
* Split pk_pad.h into eme.h and emsa.hlloyd2008-11-101-1/+2
|
* 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.
* Macro cleanuplloyd2008-11-092-8/+8
|
* Add BOTAN_DLL macro to Default_IF_Oplloyd2008-11-081-1/+1
|
* Remove dependency on Default_Engine from pubkey codelloyd2008-11-089-112/+25
|
* Split the last parts of the 'core' modulelloyd2008-11-087-4/+120
| | | | Add some missing info.txts
* Split base.h into block_cipher.h and stream_cipher.hlloyd2008-11-081-1/+2
| | | | | | 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.
* Reformat for shorter lineslloyd2008-11-071-5/+15
|
* Wrap lines to 80 columnslloyd2008-10-282-8/+13
|
* Move EntropySource base class to new entropy_src.h (which allows the ↵lloyd2008-10-261-0/+1
| | | | | | implementations to decouple from knowing about RandomNumberGenerator).
* Move pbe/pbe_base to pbe/lloyd2008-10-261-1/+1
|
* Put pk_pad.{h,cpp} from core into pk_pad/ dir (cleaner I think)lloyd2008-10-261-0/+1
|
* Add ECKAEG benchmark. Fix several problems found in ECKAEG key (had pure ↵lloyd2008-10-132-36/+59
| | | | virtuals)
* Remove spurious trailing ; after blockslloyd2008-10-133-6/+6
|
* Wrap lineslloyd2008-10-131-5/+8
|
* Add trailing H__ to some header guards. Line wrap long comment.lloyd2008-10-131-3/+4
|
* Doxygen comments for pkcs8.h from InSiTolloyd2008-10-131-31/+127
|
* Another batch of InSiTo Doxygen commentslloyd2008-10-133-32/+227
|
* Kill stray charlloyd2008-10-131-1/+1
|
* And add yet more InSiTo Doxygen comments (20 .h files to go...)lloyd2008-10-131-25/+75
|
* Add comment from InSiTo's enums.h for Signature_Formatlloyd2008-10-131-0/+3
|
* Wrap lineslloyd2008-10-131-4/+9
|
* InSiTo Doxygen comments for pubkey.hlloyd2008-10-131-64/+233
|
* Add Doxygen comments for missing paramslloyd2008-10-131-2/+8
|
* Add Doxygen comments to if_algo.h (from InSiTo)lloyd2008-10-131-7/+32
|