aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make Filter::send non-virtual; this was apparently something vestigal fromlloyd2006-08-231-1/+1
| | | | way back around 0.7.7, and has served no useful purpose since.
* Initial (only partially working) attempt to allow filters to be implementedlloyd2006-08-233-9/+79
| | | | in Python.
* Merge the export_pipe() and export_filter() functions, some other smalllloyd2006-08-232-33/+31
| | | | cleanups.
* Remove a semicolon that didn't need to be therelloyd2006-08-231-1/+1
|
* Remove all exports from the Filter class, so it becomes entirely opaque.lloyd2006-08-231-4/+1
|
* Export Pipe::read_all_as_string simply as read_all, since strings are howlloyd2006-08-232-8/+6
| | | | | | binary data is handled in Python. Export Pipe::process_msg()
* Support for MAC filterslloyd2006-08-233-10/+35
| | | | Stream ciphers no longer require choosing a direction.
* Add a new version of the StreamCipher_Filter constructor that takes a keylloyd2006-08-232-0/+12
| | | | as well as the cipher name
* Implement basic cipher filterslloyd2006-08-234-9/+39
|
* Finally get basic filters objects to work properlylloyd2006-08-233-43/+41
|
* Remove dirs from the dependencies, as it was causing things to be rebuiltlloyd2006-08-231-2/+2
| | | | needlessly.
* Add various useful attributes and functions. Also, remove the variantlloyd2006-08-231-6/+11
| | | | | of Pipe::write taking a byte buffer and length, since it seems the normal thing to do in Python is to store binary data in strings.
* Put the definitions of Pipe::LAST_MESSAGE and Pipe::DEFAULT_MESSAGE intolloyd2006-08-232-2/+7
| | | | | pipe.cpp; apparently GCC was eliding them completely from the shared library otherwise, meaning Boost.Python couldn't reference them.
* Revert back to the original test script (which is still crashing, presumablylloyd2006-08-231-14/+9
| | | | due to reference counting bugs in the wrapper code)
* Move the code from base.cpp into core.cpp, drop base.cpplloyd2006-08-232-35/+24
|
* Move all .o files into build/lloyd2006-08-231-5/+5
| | | | Don't require that libboost_python exist inside the build directory anymore
* Drop the fips140 example, doesn't build after recent changes and it'slloyd2006-08-231-59/+0
| | | | more or less useless in any case.
* Remove import for the re module, which was not being usedlloyd2006-08-231-4/+4
| | | | | Rename a function from throw_unless_ok to raise_unless_ok, as that's a bit more Pythonic
* Add an implementation of the NIST X.509 tests in Pythonlloyd2006-08-231-0/+45
|
* Add basic wrapping for X509_CRL, no member functions are exposed as theylloyd2006-08-231-1/+7
| | | | would require additional type conversions.
* X509_CRL::force_decode should not be publiclloyd2006-08-231-2/+1
|
* Change a couple of enum names on the Python sidelloyd2006-08-231-2/+2
|
* Updates to the test applicationlloyd2006-08-231-26/+13
|
* Add an implicit conversion from MemoryRegion<byte> to a (hex-encoded)lloyd2006-08-231-16/+18
| | | | Python string
* Add implicit conversions for std::vector for various useful types, solloyd2006-08-231-34/+46
| | | | | | | there is no need for stub wrappers everywhere for handling that conversion. Implement more of X509_Store, in particular searching through the store for certificates matching chosen criteria.
* Fix a bug that caused subject alternative name information to be savedlloyd2006-08-231-2/+5
| | | | as issuer names.
* Add basic wrapping for X509_Storelloyd2006-08-231-1/+39
|
* X509_Certificate::ex_constraints and ::policies now return (if possible)lloyd2006-08-221-2/+22
| | | | | | string representations of the OIDs; anything for which a human-readable version does not exist in the OID table is returned in the normal dotted decimal representation.
* Add accessors for the key identifiers, and implement equality operatorslloyd2006-08-222-3/+32
|
* Remove oid_lookup, since that is handled by X509_Certificate itself now.lloyd2006-08-221-27/+12
| | | | | Use a namespace alias so everything from Boost.Python appears in the python namespace, to keep things a little cleaner/more explicit.
* Start code for wrapping X.509 certificates in Pythonlloyd2006-08-222-3/+74
|
* Move the contents of pipe.cpp into filter.cpplloyd2006-08-222-24/+14
|
* Have OIDS::lookup do the right thing when given an OID that isn'tlloyd2006-08-221-2/+8
| | | | | registered in the name database, or asked to lookup an OID with a bare OID string representation.
* Add "OrgUnit" as an additional synonym for X520.OrganizationalUnit,lloyd2006-08-221-1/+2
| | | | though it's clear that this whole naming system is very broken.
* Change the header guard to the standard BOTAN_*_H__ formlloyd2006-08-221-2/+2
|
* The assembly code is only using 81 words of W, but 84 were being allocated.lloyd2006-08-211-2/+2
|
* Remove a check for GCC in the source; that's what the module compilerlloyd2006-08-211-4/+0
| | | | restrictions are for.
* Rename some variables for consistency with the SHA-1 asm codelloyd2006-08-212-14/+16
|
* Get ride of an unnecessary register copylloyd2006-08-211-11/+9
|
* Inside the compression function, store the original stack pointer in thelloyd2006-08-212-28/+38
| | | | | W array, and then use %esp to point to the message words. This gives an extra register for temporary usage.
* Let SHA_160::W be resized dynamically; potentially the asm version couldlloyd2006-08-213-2/+18
| | | | use a little extra workspace, this makes that simpler to do.
* Somewhat ineffectual instruction reorderings in the round functionslloyd2006-08-211-28/+28
| | | | | Use EDX instead of EBP for holding the pointer to the digest array at the end of the function.
* Rotate the temporary variable along with the chaining variables; giveslloyd2006-08-211-175/+154
| | | | some further room for optimization.
* Remove an oddly placed newlinelloyd2006-08-211-1/+0
|
* Fix a typolloyd2006-08-211-1/+1
|
* Document Pipe's use of Output_Bufferslloyd2006-08-201-29/+45
|
* Started working on the internals documentation againlloyd2006-08-202-153/+163
|
* Declare mp_bits for alg_ia32, since it touches the MPI codelloyd2006-08-201-0/+2
|
* Only error out when multiple modules declaring mp_bits are found _and_lloyd2006-08-202-4/+6
| | | | the values they declare are unequal.
* Move bigint_simple_mul into mp_mul.cpp, since that is the only place itlloyd2006-08-194-17/+26
| | | | | | was used. Make a variant of bigint_simple_mul, bigint_simple_sqr, for mp_sqr.cpp