aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap
Commit message (Collapse)AuthorAgeFilesLines
* Patch name changedlloyd2012-06-172-46/+15
|
* Update to rev 924b482d25 from https://github.com/OlivierJG/botansqlite3lloyd2012-06-174-24/+28
|
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-183-4/+4
| | | | | | 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' (head ↵lloyd2012-02-201-5/+0
|\ | | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * Remove debug printfs, stdio includeslloyd2012-01-301-5/+0
| |
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-133-9/+10
|\ \ | |/ |/| | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-113-9/+10
| |\ | | | | | | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-281-3/+1
| | |\ | | | | | | | | | | | | | | | | | | | | 2841fb518e20d2fe0a374e4f6b08bdbb14d5d158) to branch 'net.randombit.botan.c++0x' (head 0b9275139d6346bd3aa28d63bf8b8a03851d853d)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-10-134-13/+14
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 2898d79f992f27a328a3e41d34b46eb1052da0de) to branch 'net.randombit.botan.c++0x' (head 6cba76268fd69a73195760c021b7f881b8a6552c)
| | | * | Partially fix Python compilation. Looks like Boost.Python doesn't supportlloyd2010-09-091-1/+2
| | | | | | | | | | | | | | | | | | | | C++0x though, particularly unique_ptr, so this may be DOA...
| | | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2010-09-033-12/+12
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29c41b4a949207b1544096c3afab668f8b5179e) to branch 'net.randombit.botan.c++0x' (head a9d0c2f805b3c20a4c648575d7256959db8329fe)
| | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-08-133-12/+12
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a3348f52bf558bc2282e1066c2913a72a1aeda5) to branch 'net.randombit.botan.c++0x' (head 552c20ae8874f12da779fc25ea368e36e71cbfe8)
| | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-07-093-12/+12
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 161b5c0300b72baa746f101fda1e2b4a7c71818c) to branch 'net.randombit.botan.c++0x' (head 1fc3875bb8daf4ad0e90ba66db72642203cb9984)
| | | | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2010-06-171-0/+18
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 294e2082ce9231d6165276e2f2a4153a0116aca3) to branch 'net.randombit.botan.c++0x' (head 0b695fad10f924601e07b009fcd781191fafcb28)
| | | | | | * | | Various updates: unique_ptr, using chrono, merge fixups, etclloyd2010-03-093-12/+12
| | | | | | | | |
* | | | | | | | | Add RSA constructor that does not require a password. Patch submittedlloyd2011-05-161-0/+18
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | to the list by William Emmanuel S. Yu <[email protected]>
* | | | | | | | Missing SQLite filelloyd2010-12-061-0/+90
| | | | | | | |
* | | | | | | | Fix deprecation warningslloyd2010-12-011-10/+10
| | | | | | | |
* | | | | | | | Fix Python wrapperslloyd2010-12-012-16/+1
| | | | | | | |
* | | | | | | | Updated version from Oli Diggilin <[email protected]> sentlloyd2010-11-308-457/+463
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | to me by email 2010-08-18
* | | | | | | Rename the base64 filter and macro names in prep for addinglloyd2010-10-271-3/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | standalone/Pipe-free versions of it
* / / / / / Use output_length() instead of OUTPUT_LENGTH pseudo-propertylloyd2010-10-131-2/+2
|/ / / / /
* / / / / Update some callers that were using Hex_Encoder or Hex_Decoder butlloyd2010-09-031-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | really didn't need to. The ones in symkey and big_code were actually calling accessor functions to do the encoding themselves without a Pipe (should have definitely recognized that as a code smell). These versions have changed semantically with this checkin - previously they would completely ignore bad inputs, but now invalid inputs are rejected. For instance, you cannot say SymmetricKey key("Only some of this is hex, most of it isn't"); And expect to get a valid key formed by filtering out the non-hex characters and then decoding it. This is almost certainly a good thing. Also fix include in Botan.xs
* | | | Add Filter::name implementationlloyd2010-08-101-0/+2
| | | |
* | | | Typo fixeslloyd2010-08-101-2/+2
|/ / /
* | / Rename S2K to PBKDF, because that is by far the most common name - S2Klloyd2010-07-092-8/+8
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | really is only used by OpenPGP, and largely it was named S2K here because the OpenPGP S2K was implemented years before the ones in PKCS #5. We have a typedef of PBKDF to S2K, and an inlined get_s2k that calls get_pbkdf for source compatability. There doesn't seem to be any reason to have a forward for the renamed s2k.h header - to actually use a PBKDF, you'd have to either include lookup.h and call get_s2k / get_pbkdf, or else include an algorithm-specific header and use it directly. In either case, including s2k.h is neither necessary nor sufficient.
* | Use X509::BER_encode in the Python wrapperslloyd2010-06-151-10/+8
| |
* | Oops. On a private key, call PKCS8::encode so the full key is exportedlloyd2010-06-111-1/+1
| |
* | Add to_ber to the RSA objects so you can get the raw BER encoding.lloyd2010-06-111-0/+20
|/ | | | Requested by Thomas Capricelli.
* Fix python_pbkdf2 for new signature.lloyd2010-03-021-3/+19
| | | | Add python KDF2 call, patch from Thomas Capricelli
* Add SQLite3 encryption codec, contributed by Olivier de Gaalon. Useslloyd2010-01-226-0/+725
| | | | Twofish in XTS mode for encryption by default, but is easily tweakable.
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-313-8/+17
| | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* Remove redundant functionlloyd2009-10-091-10/+3
|
* Add PBKDF2 wrapperlloyd2009-10-091-0/+17
|
* Reasonably functional RSA support; keygen, import/export, encrypt/decrypt, ↵lloyd2009-10-094-155/+224
| | | | sign/verify
* Fix python install target. Add CryptoBox wrapper plus an examplelloyd2009-10-091-0/+24
|
* Use -Wno-write-strings in XS wrapper to avoid many warningslloyd2009-10-091-1/+1
|
* Drop the SWIG wrappers; never worked. Move the XS wrappers to src/wrap/perl-xslloyd2009-10-0915-0/+1869
|
* Add more or less functional integration with Boost.Python. Uselloyd2009-10-096-0/+701
--use-boost-python to enable creating a second makefile, Makefile.python, which has targets for building and installing the Python module.