aboutsummaryrefslogtreecommitdiffstats
path: root/src/wrap
Commit message (Collapse)AuthorAgeFilesLines
* 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.