Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |||||
| * | CFB support | Paul Kehrer | 2013-09-11 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | change OFB iv to nonce to reflect dstufft nomenclature pitch | Paul Kehrer | 2013-09-10 | 3 | -3/+9 | |
| | | | | | | | | | | | | * 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 | 1 | -0/+9 | |
| | | ||||||
| * | address style on import + remove a tox dependency (in setup.py already) | Paul Kehrer | 2013-09-10 | 1 | -0/+1 | |
| | | ||||||
| * | move abc, inline introspect method, use six for abcs | Paul Kehrer | 2013-09-10 | 5 | -17/+11 | |
| | | | | | | | | | | | | | | * 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 | 5 | -8/+35 | |
| | | | | | | | | | | | | | | * 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 | 2 | -2/+2 | |
| | | ||||||
| * | add get_iv_or_nonce() methods to replace _get_iv() on api | Paul Kehrer | 2013-09-10 | 2 | -13/+11 | |
| | | ||||||
| * | remove unneeded init in ECB class, add warning to docs for ECB mode | Paul Kehrer | 2013-09-10 | 1 | -3/+0 | |
| | | ||||||
| * | add ECB support to create_block_cipher_context | Paul Kehrer | 2013-09-10 | 1 | -1/+13 | |
| | | | | | | | | | | * 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 | 1 | -0/+7 | |
| | | | | | | | | | | * Slightly refactors test_nist to allow fetching of data that has no IV * Does not modify create_block_cipher_context (next commit) | |||||
* | | Iinital work on 3DES. No tests and no implementation yet. | Alex Gaynor | 2013-09-09 | 1 | -0/+12 | |
|/ | ||||||
* | Update docstring to pass alex8 linting | Paul Kehrer | 2013-09-09 | 1 | -1/+2 | |
| | ||||||
* | Accurate friendly string name example text | Paul Kehrer | 2013-09-09 | 1 | -1/+1 | |
| | ||||||
* | ascii decode on openssl_version_text + doc string improvements | Paul Kehrer | 2013-09-09 | 1 | -2/+5 | |
| | ||||||
* | Add method to bindings to get OPENSSL_VERSION_TEXT | Paul Kehrer | 2013-09-09 | 1 | -0/+7 | |
| | | | | | | | * This allows you to check that you're binding against the expected version of OpenSSL * Test is pretty basic (just checks to see that the string starts with OpenSSL) | |||||
* | Fix issue mixing %s and format for ValueError in AES | Paul Kehrer | 2013-09-09 | 1 | -1/+1 | |
| | ||||||
* | put this back | Alex Gaynor | 2013-08-31 | 1 | -1/+1 | |
| | ||||||
* | This is a const but raelly a macro or something | Alex Gaynor | 2013-08-31 | 1 | -1/+1 | |
| | ||||||
* | Removed some dead code | Alex Gaynor | 2013-08-31 | 1 | -5/+0 | |
| | ||||||
* | Replace paths we have no idea how to test with asserts | Alex Gaynor | 2013-08-30 | 1 | -22/+5 | |
| | ||||||
* | Some systems need this header | Alex Gaynor | 2013-08-12 | 1 | -0/+1 | |
| | ||||||
* | Moved comment to the right place, use integer enums | Alex Gaynor | 2013-08-12 | 1 | -3/+3 | |
| | ||||||
* | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-12 | 1 | -2/+3 | |
|\ | ||||||
| * | Fix __author__ | Hynek Schlawack | 2013-08-12 | 1 | -3/+3 | |
| | | ||||||
| * | Fix spelling of my name | Christian Heimes | 2013-08-12 | 1 | -1/+2 | |
| | | ||||||
* | | Merge branch 'master' into simple-symmetric-encryption | Donald Stufft | 2013-08-11 | 2 | -0/+54 | |
|\| | | | | | | | | | Conflicts: setup.py | |||||
| * | Fix the packaging meta-data | Donald Stufft | 2013-08-11 | 2 | -0/+54 | |
| | | ||||||
| * | Make api poitn to the right object | Alex Gaynor | 2013-08-10 | 1 | -1/+1 | |
| | | ||||||
* | | Addressed a TODO | Alex Gaynor | 2013-08-11 | 1 | -2/+5 | |
| | | ||||||
* | | Style fix | Alex Gaynor | 2013-08-11 | 1 | -2/+3 | |
| | | ||||||
* | | Add mandatory headers to files touched by this branch | Hynek Schlawack | 2013-08-11 | 5 | -0/+23 | |
| | | ||||||
* | | Ciphers should know what size blocks they use | Donald Stufft | 2013-08-10 | 1 | -0/+1 | |
| | | ||||||
* | | Small note about the purpose | Donald Stufft | 2013-08-10 | 1 | -0/+1 | |
| | | ||||||
* | | Add a comment to note that disabling padding is desired | Donald Stufft | 2013-08-10 | 1 | -1/+3 | |
| | | ||||||
* | | 2.6 compat | Alex Gaynor | 2013-08-10 | 1 | -1/+1 | |
| | | ||||||
* | | Ensure that AES gets a proper key size | Donald Stufft | 2013-08-10 | 1 | -0/+6 | |
| | | ||||||
* | | Use an enum for determining BlockCipher operation | Donald Stufft | 2013-08-10 | 1 | -5/+12 | |
| | | ||||||
* | | Remove the padding from the BlockCipher API | Donald Stufft | 2013-08-10 | 2 | -18/+1 | |
| | | ||||||
* | | BlockCiphers should know their own name | Donald Stufft | 2013-08-10 | 1 | -0/+6 | |
| | | | | | | | | We normalize on CIPHER-KEYSIZE-MODE for the block cipher name. | |||||
* | | Ciphers should know what size their keys are | Donald Stufft | 2013-08-10 | 2 | -1/+5 | |
| | | ||||||
* | | Make flake8 happy | Donald Stufft | 2013-08-10 | 3 | -0/+3 | |
| | | ||||||
* | | Ensure that a BlockCipher can only be used for one operation | Donald Stufft | 2013-08-10 | 1 | -2/+15 | |
| | | | | | | | | | | | | This prevents trying to call encrypt() and then decrypt() on a block cipher. It also enables finalize() to know what type of finalization to call. | |||||
* | | Some apache license headers (we need a pyflkaes check for thsi) | Alex Gaynor | 2013-08-10 | 4 | -0/+52 | |
| | | ||||||
* | | Removed duplicate tests, added tests + fix for use after finalize | Alex Gaynor | 2013-08-09 | 1 | -0/+4 | |
| | | ||||||
* | | Address a review note | Alex Gaynor | 2013-08-09 | 1 | -1/+1 | |
| | | ||||||
* | | Get stuff working on py3k for real | Alex Gaynor | 2013-08-09 | 2 | -4/+15 | |
| | |