Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make Filter::send non-virtual; this was apparently something vestigal from | lloyd | 2006-08-23 | 1 | -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 implemented | lloyd | 2006-08-23 | 3 | -9/+79 |
| | | | | in Python. | ||||
* | Merge the export_pipe() and export_filter() functions, some other small | lloyd | 2006-08-23 | 2 | -33/+31 |
| | | | | cleanups. | ||||
* | Remove a semicolon that didn't need to be there | lloyd | 2006-08-23 | 1 | -1/+1 |
| | |||||
* | Remove all exports from the Filter class, so it becomes entirely opaque. | lloyd | 2006-08-23 | 1 | -4/+1 |
| | |||||
* | Export Pipe::read_all_as_string simply as read_all, since strings are how | lloyd | 2006-08-23 | 2 | -8/+6 |
| | | | | | | binary data is handled in Python. Export Pipe::process_msg() | ||||
* | Support for MAC filters | lloyd | 2006-08-23 | 3 | -10/+35 |
| | | | | Stream ciphers no longer require choosing a direction. | ||||
* | Add a new version of the StreamCipher_Filter constructor that takes a key | lloyd | 2006-08-23 | 2 | -0/+12 |
| | | | | as well as the cipher name | ||||
* | Implement basic cipher filters | lloyd | 2006-08-23 | 4 | -9/+39 |
| | |||||
* | Finally get basic filters objects to work properly | lloyd | 2006-08-23 | 3 | -43/+41 |
| | |||||
* | Remove dirs from the dependencies, as it was causing things to be rebuilt | lloyd | 2006-08-23 | 1 | -2/+2 |
| | | | | needlessly. | ||||
* | Add various useful attributes and functions. Also, remove the variant | lloyd | 2006-08-23 | 1 | -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 into | lloyd | 2006-08-23 | 2 | -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, presumably | lloyd | 2006-08-23 | 1 | -14/+9 |
| | | | | due to reference counting bugs in the wrapper code) | ||||
* | Move the code from base.cpp into core.cpp, drop base.cpp | lloyd | 2006-08-23 | 2 | -35/+24 |
| | |||||
* | Move all .o files into build/ | lloyd | 2006-08-23 | 1 | -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's | lloyd | 2006-08-23 | 1 | -59/+0 |
| | | | | more or less useless in any case. | ||||
* | Remove import for the re module, which was not being used | lloyd | 2006-08-23 | 1 | -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 Python | lloyd | 2006-08-23 | 1 | -0/+45 |
| | |||||
* | Add basic wrapping for X509_CRL, no member functions are exposed as they | lloyd | 2006-08-23 | 1 | -1/+7 |
| | | | | would require additional type conversions. | ||||
* | X509_CRL::force_decode should not be public | lloyd | 2006-08-23 | 1 | -2/+1 |
| | |||||
* | Change a couple of enum names on the Python side | lloyd | 2006-08-23 | 1 | -2/+2 |
| | |||||
* | Updates to the test application | lloyd | 2006-08-23 | 1 | -26/+13 |
| | |||||
* | Add an implicit conversion from MemoryRegion<byte> to a (hex-encoded) | lloyd | 2006-08-23 | 1 | -16/+18 |
| | | | | Python string | ||||
* | Add implicit conversions for std::vector for various useful types, so | lloyd | 2006-08-23 | 1 | -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 saved | lloyd | 2006-08-23 | 1 | -2/+5 |
| | | | | as issuer names. | ||||
* | Add basic wrapping for X509_Store | lloyd | 2006-08-23 | 1 | -1/+39 |
| | |||||
* | X509_Certificate::ex_constraints and ::policies now return (if possible) | lloyd | 2006-08-22 | 1 | -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 operators | lloyd | 2006-08-22 | 2 | -3/+32 |
| | |||||
* | Remove oid_lookup, since that is handled by X509_Certificate itself now. | lloyd | 2006-08-22 | 1 | -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 Python | lloyd | 2006-08-22 | 2 | -3/+74 |
| | |||||
* | Move the contents of pipe.cpp into filter.cpp | lloyd | 2006-08-22 | 2 | -24/+14 |
| | |||||
* | Have OIDS::lookup do the right thing when given an OID that isn't | lloyd | 2006-08-22 | 1 | -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, | lloyd | 2006-08-22 | 1 | -1/+2 |
| | | | | though it's clear that this whole naming system is very broken. | ||||
* | Change the header guard to the standard BOTAN_*_H__ form | lloyd | 2006-08-22 | 1 | -2/+2 |
| | |||||
* | The assembly code is only using 81 words of W, but 84 were being allocated. | lloyd | 2006-08-21 | 1 | -2/+2 |
| | |||||
* | Remove a check for GCC in the source; that's what the module compiler | lloyd | 2006-08-21 | 1 | -4/+0 |
| | | | | restrictions are for. | ||||
* | Rename some variables for consistency with the SHA-1 asm code | lloyd | 2006-08-21 | 2 | -14/+16 |
| | |||||
* | Get ride of an unnecessary register copy | lloyd | 2006-08-21 | 1 | -11/+9 |
| | |||||
* | Inside the compression function, store the original stack pointer in the | lloyd | 2006-08-21 | 2 | -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 could | lloyd | 2006-08-21 | 3 | -2/+18 |
| | | | | use a little extra workspace, this makes that simpler to do. | ||||
* | Somewhat ineffectual instruction reorderings in the round functions | lloyd | 2006-08-21 | 1 | -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; gives | lloyd | 2006-08-21 | 1 | -175/+154 |
| | | | | some further room for optimization. | ||||
* | Remove an oddly placed newline | lloyd | 2006-08-21 | 1 | -1/+0 |
| | |||||
* | Fix a typo | lloyd | 2006-08-21 | 1 | -1/+1 |
| | |||||
* | Document Pipe's use of Output_Buffers | lloyd | 2006-08-20 | 1 | -29/+45 |
| | |||||
* | Started working on the internals documentation again | lloyd | 2006-08-20 | 2 | -153/+163 |
| | |||||
* | Declare mp_bits for alg_ia32, since it touches the MPI code | lloyd | 2006-08-20 | 1 | -0/+2 |
| | |||||
* | Only error out when multiple modules declaring mp_bits are found _and_ | lloyd | 2006-08-20 | 2 | -4/+6 |
| | | | | the values they declare are unequal. | ||||
* | Move bigint_simple_mul into mp_mul.cpp, since that is the only place it | lloyd | 2006-08-19 | 4 | -17/+26 |
| | | | | | | was used. Make a variant of bigint_simple_mul, bigint_simple_sqr, for mp_sqr.cpp |