aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
Commit message (Collapse)AuthorAgeFilesLines
* Name argumentslloyd2009-11-181-6/+12
|
* Much cleaning up in ECDSA, though it's still rather a mess (and 50x slowerlloyd2009-11-186-151/+109
| | | | than OpenSSL... that's a problem for another branch though).
* Move most code that relies heavily on Filters into src/filters.lloyd2009-11-173-221/+0
| | | | | | Remove support for (unused) modset settings. Move tss, fpe, cryptobox, and aont to new dir constructs
* Rename/remove some secmem member variables for better matching with STLlloyd2009-11-174-5/+5
| | | | | | | | containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize
* Make set_all_values in {ECDSA,ECKAEG}_{Public,Private}Key all non-virtual;lloyd2009-11-102-6/+6
| | | | | | | virtual-ness not needed, and was overriding/overloading by argument which doesn't actually work in C++ and only happened to work because it was only ever used with the version implemented in that same class. ICC was warning, too. Make non-virtual.
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-2917-34/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* propagate from branch 'net.randombit.botan.1_8' (head ↵lloyd2009-10-1312-8/+95
|\ | | | | | | | | | | c5ae189464f6ef16e3ce73ea7c563412460d76a3) to branch 'net.randombit.botan' (head e2b95b6ad31c7539cf9ac0ebddb1d80bf63b5b21)
| * Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, ↵lloyd2009-10-091-1/+7
| | | | | | | | sign/verify
| * Add 'Distributed under...' text to files missing it. Some format cleanupslloyd2009-10-072-1/+10
| |
| * Split up util.h into 3 fileslloyd2009-09-179-6/+78
| | | | | | | | | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h
* | Fix indentlloyd2009-10-131-1/+1
|/
* 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
|