Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This checkin represents a pretty major change in how PK operations are | lloyd | 2010-03-04 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | performed. Up until now, each key object (eg DSA_PublicKey or ECDH_PrivateKey) had two jobs: contain the key material, and know how to perform any operations on that key. However because of a desire to support alternative implementations (GNU MP, hardware, whatever), there was a notion of operations, with the key objects containing an op that they got via engine rather than actually implementing the underlying algorithms directly. Now, represent the operation as an abstract interface (typically mapping a byte string to a byte string), and pass a plain Public_Key& or Private_Key& to the engine. The engine does any checks it wants (eg based on name, typeid, key sizes, etc), and either returns nothing (I'll pass) or a pointer to a new operation that represents signatures or encryption or what-have-you using that key. This means that plain key objects no longer contain operations. This is a major break with the traditional interface. On the other hand, using these 'bare' operations without padding, KDFs, etc is 99% of the time a bad idea anyway (and if you really need them, there are options so you get the bare op but via the pubkey.h interfaces). Currently this change is only implemented for DH and ECDH (ie, key agreement algorithms). Additionally the optional engines (gnump and openssl) have not been updated. I'll probably wait to touch those until after I can change them all in one go for all algos. | ||||
* | Full working amalgamation build, plus internal-only headers concept. | lloyd | 2009-12-16 | 1 | -6/+7 |
| | |||||
* | Remove the 'realname' attribute on all modules and cc/cpu/os info files. | lloyd | 2009-10-29 | 1 | -2/+0 |
| | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that. | ||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 1 | -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 to | lloyd | 2009-07-15 | 1 | -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 | ||||
* | Remove pk_lookup - half of it (look_pk.{cpp,h}) depended on libstate directly, | lloyd | 2008-11-11 | 1 | -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 code | lloyd | 2008-11-08 | 1 | -1/+0 |
| | |||||
* | Move look_pk and pk_algs to new module pubkey/pk_lookup | lloyd | 2008-10-01 | 1 | -0/+1 |
| | |||||
* | Handle building Botan with almost all public key code disabled (though only | lloyd | 2008-10-01 | 1 | -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 | ||||
* | Split Diffie-Hellman off almost completely, such that nearly none of | lloyd | 2008-10-01 | 1 | -0/+2 |
| | | | | | | | | | | 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_pad | lloyd | 2008-10-01 | 1 | -0/+20 |