aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/openssl
Commit message (Collapse)AuthorAgeFilesLines
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-184-12/+12
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-251-1/+1
|\ | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| * Fix various typos, and remove an unused macro in checks/bench.cpplloyd2012-04-231-1/+1
| | | | | | | | All reported by Patrick Pelletier.
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-111-1/+1
|\ \ | |/ |/| | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-133-9/+9
| |\ | | | | | | | | | | | | | | | cba32f885eb7889a9711cbee120df42839deb9d0) to branch 'net.randombit.botan.c++0x' (head 7cb9cdfda0f3dedab24f1d3bc7e7ea9b22164234)
| * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | 0b2a6834cd19e431afc91bd062b0b455d6d035ac) to branch 'net.randombit.botan.c++0x' (head fbb6dc287edf127cc84fc29f9d8477769d5cfd7f)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-131-1/+1
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-041-1/+1
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 717a9d103aa80e6d66c04e3a23cf173aadf56ceb) to branch 'net.randombit.botan.c++0x' (head c9759e8ebc2f360696a11f2d00fc218d7a8bf744)
| | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-091-1/+1
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 161b5c0300b72baa746f101fda1e2b4a7c71818c) to branch 'net.randombit.botan.c++0x' (head 1fc3875bb8daf4ad0e90ba66db72642203cb9984)
| | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-172-6/+6
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-211-1/+1
| | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96d0a1885774b624812fd143d541c8bcda319217) to branch 'net.randombit.botan.c++0x' (head e14368ab9d7976f3e111c6bc0adf24eebeb7c114)
| | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-03-091-1/+1
| | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9932d4d63417f7fcc199ada244cbaa6c1c32d9c1) to branch 'net.randombit.botan.c++0x' (head f4a385a376311edc62ef506c72cc56f69e6efd5a)
| | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-161-1/+1
| | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22c82e10d78ad0e2cdaa56cb02f3d846ed0ead5e) to branch 'net.randombit.botan.c++0x' (head 74dbf310b7fcc11f94a16cd63046219acd5d62bc)
| | | | | | | | * \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-12-161-4/+10
| | | | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 744dccf92270cf16b80b50ee2759424c9866b256) to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
| | | | | | | | * | | | Remove to_string, replacing with std::to_stringlloyd2009-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
* | | | | | | | | | | | Fix OpenSSL engine compile :/lloyd2010-12-013-8/+25
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | |
* | | | | | | | | | | More size_tlloyd2010-10-133-9/+9
|/ / / / / / / / / /
* / / / / / / / / / Compile fixlloyd2010-10-131-5/+13
|/ / / / / / / / /
* | | | | | | | | Fix compilelloyd2010-10-131-1/+6
| | | | | | | | |
* | | | | | | | | Use size_t rather than u32bit in SymmetricAlgorithmlloyd2010-10-132-11/+11
| | | | | | | | |
* | | | | | | | | Use size_t for BufferedComputation::add_datalloyd2010-10-121-2/+2
| | | | | | | | |
* | | | | | | | | Use size_t in SCAN_Namelloyd2010-10-122-2/+2
| | | | | | | | |
* | | | | | | | | Use size_t instead of u32bit in all of pubkeylloyd2010-10-121-24/+24
| | | | | | | | |
* | | | | | | | | Use size_t rather than u32bit for the blocks argument of encrypt_nlloyd2010-10-121-5/+6
| | | | | | | | |
* | | | | | | | | Make names more consistentlloyd2010-10-013-2/+2
| | | | | | | | |
* | | | | | | | | Fix OpenSSL engine WRT memory vector changes, append is no morelloyd2010-09-231-1/+3
|/ / / / / / / /
* / / / / / / / Add support for Camellia in OpenSSL enginelloyd2010-07-221-0/+6
|/ / / / / / /
* | | | | | / Avoid unused parameter warninglloyd2010-06-221-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Don't hide funcions in engine subclasses that are public in baselloyd2010-06-161-1/+1
| | | | | |
* | | | | | More Doxygen updates/fixeslloyd2010-06-152-5/+5
|/ / / / /
* / / / / Remove unneeded includeslloyd2010-03-151-11/+4
|/ / / /
* | | | Deconstify PK_Ops. It's quite reasonable that some op will want tolloyd2010-03-091-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | precompute only as needed, or will want to access some other expensive resource or etc. Change how the secret for generating blinding is done in cases where a PRNG isn't available. Use the operations public op to hide the secret, for instance the seed for a DH blinding variable is 2^x mod p. Make use of being able to mutate internal structures in the RW signer, since that does have access to a PRNG, so use it to initialize the blinder on first call to sign().
* | | | Update OpenSSL engine for new interface. Similiar to GMP engine, droplloyd2010-03-059-503/+356
|/ / / | | | | | | | | | support for ElGamal and NR, leaving only RSA, DSA, and DH support.
* | / Add missing BOTAN_DLL exports.lloyd2009-12-1613-23/+20
| |/ |/| | | | | Move most of the engine headers to internal
* | Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-161-4/+10
|/
* 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.
* Remove all exception specifications. The way these are designed in C++ islloyd2009-10-223-5/+5
| | | | | | just too fragile and not that useful. Something like Java's checked exceptions might be nice, but simply killing the process entirely if an unexpected exception is thrown is not exactly useful for something trying to be robust.
* Enable OpenSSL AES (fixed, I think). And add support for OpenSSL's RC5lloyd2009-09-241-1/+7
|
* Update OpenSSL engine with encrypt_n interface for block ciphers.lloyd2009-09-172-12/+46
| | | | | | Add support for SHA-2 and SEED. Wrap block cipher usage in checks for OPENSSL_NO_XXX
* Thomas Moschny mentioned that OpenSSL 1.0 betas disable MD2 by default.lloyd2009-08-271-0/+10
| | | | Wrap the EVP_ calls in OPENSSL_NO_XXX checks to handle this.
* Add a script that reads the output of print_deps.py and rewriteslloyd2009-07-151-0/+4
| | | | | | the info.txt files with the right module dependencies. Apply it across the codebase.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-3012-222/+246
| | | | | | | | | | | | | | | 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).
* Disable using OpenSSL's AES - it is causing crashes for an unknown reason.lloyd2008-11-241-0/+6
| | | | | | Backtrace is deep inside EVP. Valgrind says it is writing after the end of the allocated buffer. Other ciphers (all 64-bit blocks) are fine. I do not know if the problem is 64/128 bit or some other reason.
* Remove openssl/gnump engine dep on libstate, no longer a deplloyd2008-11-231-4/+0
|
* Move most of the remaining libstate code to pk_engine.cpp, move engineslloyd2008-11-1113-0/+1162
| | | | | back to the toplevel since most othe dependencies have been removed now (except get_cipher which still needs changes)
* Move engine to libstate/ directory, since there is a mutual dependencylloyd2008-11-0913-1184/+0
| | | | | | (messy). Remove unused libstate.h includes from a few files.
* Rename SymmetricAlgorithm::key to key_schedule to avoid many namelloyd2008-11-092-4/+4
| | | | conflicts/collisions
* Remove needless include of mutex.hlloyd2008-11-081-1/+0
|
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-092-3/+3
|
* Split OpenSSL public key implementations into algorithm specific files,lloyd2008-10-088-388/+496
| | | | | which allows it to be used while still disabling some (or all) public key algorithms.