Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Added bindings for OpenSSL's bn.h | Alex Gaynor | 2013-09-30 | 2 | -0/+36 | |
|/ | ||||||
* | Merge pull request #75 from alex/expose-api | Donald Stufft | 2013-09-30 | 4 | -25/+63 | |
|\ | | | | | Make the lib and ffi public for the OpenSSL binding and document them | |||||
| * | Put a warning | Alex Gaynor | 2013-09-30 | 1 | -0/+7 | |
| | | ||||||
| * | Make the lib and ffi public for the OpenSSL binding and document them | Alex Gaynor | 2013-09-30 | 4 | -25/+56 | |
|/ | ||||||
* | Merge pull request #74 from alex/copyright | Donald Stufft | 2013-09-29 | 1 | -1/+1 | |
|\ | | | | | Corrected the copyright | |||||
| * | Corrected the copyright | Alex Gaynor | 2013-09-29 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #73 from alex/dedent | Donald Stufft | 2013-09-28 | 2 | -19/+21 | |
|\ | | | | | Dedent the C declarations to give us more space to work with | |||||
| * | Dedent the C declarations to give us more space to work with | Alex Gaynor | 2013-09-28 | 2 | -19/+21 | |
|/ | ||||||
* | Merge pull request #71 from reaperhulk/cryptrec-openssl-loader | Alex Gaynor | 2013-09-27 | 2 | -2/+203 | |
|\ | | | | | add cryptrec and openssl test vector loaders + tests | |||||
| * | simplify cryptrec loader, improve comments | Paul Kehrer | 2013-09-27 | 1 | -27/+17 | |
| | | ||||||
| * | remove distinction between encrypt/decrypt in the openssl loader | Paul Kehrer | 2013-09-24 | 2 | -124/+13 | |
| | | | | | | | | | | | | | | * This was done because all the OpenSSL test vectors we're currently using are identical between encrypt/decrypt. * Removed a bunch of unneeded unit tests that checked the encrypt/decrypt vectors | |||||
| * | simplify and annotate loaders based on review feedback | Paul Kehrer | 2013-09-23 | 1 | -14/+17 | |
| | | ||||||
| * | crazy pep8 contortions | Paul Kehrer | 2013-09-15 | 1 | -25/+42 | |
| | | ||||||
| * | sort the cryptrec loader dict's items to test reliably | Paul Kehrer | 2013-09-15 | 1 | -1/+1 | |
| | | ||||||
| * | add cryptrec and openssl test vector loaders + tests | Paul Kehrer | 2013-09-15 | 2 | -2/+304 | |
|/ | ||||||
* | Merge pull request #69 from reaperhulk/camellia-vectors | Alex Gaynor | 2013-09-15 | 6 | -0/+11687 | |
|\ | | | | | Camellia test vectors | |||||
| * | Camellia test vectors | Paul Kehrer | 2013-09-14 | 6 | -0/+11687 | |
|/ | | | | | | * ECB tests come from the NTT Camellia pages (as linked to by the latest [CRYPTREC](http://www.cryptrec.go.jp/english/method.html)). * CFB, OFB, CBC tests from OpenSSL evptests | |||||
* | Merge pull request #68 from alex/cleanup | Donald Stufft | 2013-09-13 | 1 | -28/+14 | |
|\ | | | | | Slightly clean up the OpenSSL binding | |||||
| * | Inline this function, it didn't do much | Alex Gaynor | 2013-09-13 | 1 | -9/+3 | |
| | | ||||||
| * | Slightly clean up the OpenSSL binding | Alex Gaynor | 2013-09-13 | 1 | -23/+15 | |
|/ | | | | | - reduce the amount of state needed on the API instance - fixed import ordering | |||||
* | Merge pull request #67 from reaperhulk/api-refactor | Alex Gaynor | 2013-09-13 | 4 | -30/+93 | |
|\ | | | | | API refactor to separate cffi declarations | |||||
| * | remove import function, rename attrs to upper in modules | Paul Kehrer | 2013-09-13 | 3 | -16/+9 | |
| | | ||||||
| * | Various PR review fixes | Paul Kehrer | 2013-09-13 | 5 | -67/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Changed some single quotes to double quotes * Moved the files in the cffi package back into the openssl package * evp, opensslv * Changed attrs from ALL CAPS * Fixed up docstrings * Stopped using fromlist=['*'] * No fallback on definition imports. You must supply includes, types, functions * Change includes, types, functions to be strings rather than lists for now * Removed teardown since we're not using it right now | |||||
| * | API refactor to separate cffi declarations | Paul Kehrer | 2013-09-13 | 5 | -30/+104 | |
|/ | | | | | | | * Moved to structure similar to OpenTLS * api modified to load the cffi modules * cffi verify methods broken out * Jarret Raim and I pair programmed this | |||||
* | Merge pull request #60 from dreid/ofb-iv-not-nonce | Donald Stufft | 2013-09-12 | 4 | -15/+11 | |
|\ | | | | | OFB uses an IV instead of a nonce. | |||||
| * | OFB uses an initialization vector instead a nonce. | David Reid | 2013-09-11 | 1 | -6/+8 | |
| | | ||||||
| * | ModeWithNonce no longer exists. | David Reid | 2013-09-11 | 1 | -2/+0 | |
| | | ||||||
| * | ModeWithNonce is no longer used. | David Reid | 2013-09-11 | 1 | -4/+0 | |
| | | ||||||
| * | OFB is specified as having an IV instead of a Nonce. | David Reid | 2013-09-11 | 1 | -3/+3 | |
| | | | | | | https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Output_feedback_.28OFB.29 | |||||
* | | Merge pull request #62 from dstufft/test-pypy | Alex Gaynor | 2013-09-12 | 1 | -0/+6 | |
|\ \ | |/ |/| | Enable testing on PyPy | |||||
| * | Use the version of PyPy from PPAs to get PyPy 2.1 | Donald Stufft | 2013-09-12 | 1 | -0/+6 | |
|/ | ||||||
* | Merge pull request #59 from reaperhulk/cfb-support | David Reid | 2013-09-11 | 3 | -0/+69 | |
|\ | | | | | CFB support | |||||
| * | add CFB to documentation | Paul Kehrer | 2013-09-11 | 1 | -0/+13 | |
| | | ||||||
| * | CFB support | Paul Kehrer | 2013-09-11 | 2 | -0/+56 | |
|/ | | | | | | | | | | This requires a bit of explanation. OpenSSL has methods that implement standard CFB, 1-bit CFB (cfb1), and 8-bit CFB (cfb8). Unfortunately, while old (read: 0.9.7) versions of OpenSSL appear to test these variants, newer versions have a comment stating that cfb{1,8} are unsupported. Accordingly, I've backed out any support for the variants for now. We can add it back into the CFB class if and when we gain a backend that supports arbitrary s for 1 <= s <= block_size | |||||
* | Merge pull request #57 from reaperhulk/ofb-support | Donald Stufft | 2013-09-10 | 5 | -0/+73 | |
|\ | | | | | Output feedback mode support + test vectors (aes) | |||||
| * | change OFB iv to nonce to reflect dstufft nomenclature pitch | Paul Kehrer | 2013-09-10 | 4 | -11/+15 | |
| | | | | | | | | | | | | * Namely, we should try to call things IV if reuse leaks a small amount of data and nonce if reuse can result in a complete break. This can be somewhat ambiguous, but we'll track in #58 | |||||
| * | add output feedback mode support + test vectors (aes) | Paul Kehrer | 2013-09-10 | 3 | -0/+69 | |
| | | ||||||
* | | Merge pull request #56 from alex/docs-cleanup | Donald Stufft | 2013-09-10 | 1 | -5/+9 | |
|\ \ | |/ |/| | Cleaned up the docs for ECB | |||||
| * | Cleaned up the docs for ECB | Alex Gaynor | 2013-09-10 | 1 | -5/+9 | |
|/ | ||||||
* | Merge pull request #53 from reaperhulk/ecb-support-im-sorry | Alex Gaynor | 2013-09-10 | 7 | -5/+103 | |
|\ | | | | | ECB Support | |||||
| * | address style on import + remove a tox dependency (in setup.py already) | Paul Kehrer | 2013-09-10 | 2 | -1/+1 | |
| | | ||||||
| * | move abc, inline introspect method, use six for abcs | Paul Kehrer | 2013-09-10 | 7 | -17/+14 | |
| | | | | | | | | | | | | | | * abc moved to cryptography.primitive.interfaces * six added to dependencies * six used to have py2x/py3x compatible abc * nonce abc removed for now | |||||
| * | modify modes to use abc so api can determine what attribute to call | Paul Kehrer | 2013-09-10 | 6 | -12/+36 | |
| | | | | | | | | | | | | | | * Due to a circular dependency issue I had to put the abcs in cryptography.primitives.abc.block.modes * The ABCs look like they do because that is the form that is compatible with 2.x and 3.x | |||||
| * | rename get_null_for_ecb to get_iv_for_ecb per alex's comments | Paul Kehrer | 2013-09-10 | 3 | -4/+4 | |
| | | ||||||
| * | add get_iv_or_nonce() methods to replace _get_iv() on api | Paul Kehrer | 2013-09-10 | 3 | -18/+13 | |
| | | ||||||
| * | remove unneeded init in ECB class, add warning to docs for ECB mode | Paul Kehrer | 2013-09-10 | 2 | -3/+1 | |
| | | ||||||
| * | add ECB support to create_block_cipher_context | Paul Kehrer | 2013-09-10 | 2 | -1/+19 | |
| | | | | | | | | | | * This is a basic refactor to support ECB and CBC mode in this method. We can use this as a starting point to discuss a better solution. | |||||
| * | Add ECB class + docs + tests | Paul Kehrer | 2013-09-10 | 3 | -0/+66 | |
|/ | | | | | * Slightly refactors test_nist to allow fetching of data that has no IV * Does not modify create_block_cipher_context (next commit) | |||||
* | Merge pull request #55 from reaperhulk/parameterize-encrypt-changes | Alex Gaynor | 2013-09-10 | 1 | -22/+30 | |
|\ | | | | | Changes to parameterize_encrypt_test to support other NIST vectors | |||||
| * | changes to parameterize_encrypt_test to support other NIST vectors | Paul Kehrer | 2013-09-10 | 1 | -22/+30 | |
| | | | | | | | | | | * ECB has no IV so we need to be able to pass params rather than have them hardcoded in the method |