aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add Doxygen comments to RSA key constructors (from InSiTo)lloyd2008-10-131-8/+31
|
* More Doxygen comments from InSiTolloyd2008-10-131-16/+53
|
* More Doxygen comments from InSiTolloyd2008-10-132-6/+28
|
* Add Doxygen comments to dh.h (from InSiTo)lloyd2008-10-131-13/+34
|
* Decruftlloyd2008-10-121-36/+27
|
* Move ECDSA_Signature into CVC module. It is not used by ECDSA directly now.lloyd2008-10-118-295/+152
| | | | Change several ECC functions to return const references instead of const values.
* Add more ECC domain parameter sets from InSiTolloyd2008-10-111-10/+295
|
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-098-20/+20
|
* Add BSI variant of EMSA1, from InSiTolloyd2008-10-081-1/+1
|
* Needed include of numthry.hlloyd2008-10-081-0/+1
|
* Needed include of numthry.hlloyd2008-10-081-0/+1
|
* Fix problems with disabling ECDSAlloyd2008-10-082-56/+56
|
* Reformattinglloyd2008-10-084-27/+31
|
* Split ecdsa module into ecc_key, ecdsa, eckaeglloyd2008-10-0818-193/+523
| | | | | Add actual implementations (from InSiTo) for ECDSA_Operation and ECKAEG_Operation.
* Fix lookup for ECDSA keys. Fix ecdsa info.txtlloyd2008-10-072-2/+2
|
* Fix thatlloyd2008-10-074-289/+289
|
* Split ECDSA and ECKAEG implementatations apartlloyd2008-10-0711-1046/+1124
|