Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Fixed wrong test | Alex Gaynor | 2013-08-10 | 1 | -1/+1 |
| | |||||
* | Ensure that AES gets a proper key size | Donald Stufft | 2013-08-10 | 2 | -0/+10 |
| | |||||
* | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-10 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: docs/primitives/symmetric-encryption.rst | ||||
| * | Merge pull request #34 from alex/excise-padding | Hynek Schlawack | 2013-08-10 | 1 | -4/+4 |
| |\ | | | | | | | Fully excised padding from the docs | ||||
| | * | Fixed example | Alex Gaynor | 2013-08-10 | 1 | -1/+1 |
| | | | |||||
| | * | Fully excised padding from the docs | Alex Gaynor | 2013-08-10 | 1 | -4/+4 |
| | | | |||||
* | | | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-10 | 0 | -0/+0 |
|\| | | |||||
| * | | Merge pull request #33 from alex/api-val | Donald Stufft | 2013-08-10 | 1 | -1/+1 |
| |\ \ | | |/ | |/| | Make api poitn to the right object | ||||
| | * | Make api poitn to the right object | Alex Gaynor | 2013-08-10 | 1 | -1/+1 |
| |/ | |||||
* | | Fixed tox | Alex Gaynor | 2013-08-10 | 1 | -1/+3 |
| | | |||||
* | | Use an enum for determining BlockCipher operation | Donald Stufft | 2013-08-10 | 4 | -9/+25 |
| | | |||||
* | | Remove padding from the docs. | Alex Gaynor | 2013-08-10 | 1 | -3/+3 |
| | | |||||
* | | Be consistent | Alex Gaynor | 2013-08-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-10 | 0 | -0/+0 |
|\| | |||||
| * | Merge pull request #32 from alex/bytes-for-nist-vectors | Donald Stufft | 2013-08-10 | 2 | -59/+109 |
| |\ | | | | | | | Made the load NIST vectors test utility use bytes correctly | ||||
| | * | Made the load NIST vectors test utility use bytes correctly | Alex Gaynor | 2013-08-10 | 2 | -59/+109 |
| |/ | |||||
* | | Remove the padding from the BlockCipher API | Donald Stufft | 2013-08-10 | 4 | -39/+22 |
| | | |||||
* | | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-10 | 1 | -6/+0 |
|\| | |||||
| * | Merge pull request #30 from dstufft/simplify-api | Alex Gaynor | 2013-08-10 | 1 | -6/+0 |
| |\ | | | | | | | Removing padding from the encryption API | ||||
| | * | Removing padding from the encryption API | Donald Stufft | 2013-08-10 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Padding is fundamentally an operation that occurs prior to encryption to make plaintext suitable. * Even though wether it's regarded is dependent on the mode, it can be used safely regardless. * Moving it out of this API makes the API's simpler and more composable. * Moving it out of this API makes it simpler for backends that don't work exactly like OpenSSL's EVP. * Move it out of this API makes it simpler to include padding that OpenSSL's EVP API doesn't expose. | ||||
* | | | BlockCiphers should know their own name | Donald Stufft | 2013-08-10 | 2 | -0/+13 |
| | | | | | | | | | | | | We normalize on CIPHER-KEYSIZE-MODE for the block cipher name. | ||||
* | | | Ciphers should know what size their keys are | Donald Stufft | 2013-08-10 | 3 | -1/+34 |
| | | | |||||
* | | | Make flake8 happy | Donald Stufft | 2013-08-10 | 3 | -0/+3 |
| | | | |||||
* | | | Merge branch 'master' into simple-symmetric-encryption | Donald Stufft | 2013-08-10 | 0 | -0/+0 |
|\| | | |||||
| * | | Merge pull request #31 from dstufft/add-nist-vector-files | Hynek Schlawack | 2013-08-10 | 89 | -0/+75749 |
| |\ \ | | |/ | |/| | Add the NIST AES vectors | ||||
| | * | Add the NIST AES vectors | Donald Stufft | 2013-08-10 | 89 | -0/+75749 |
| |/ | |||||
* | | Ensure that a BlockCipher can only be used for one operation | Donald Stufft | 2013-08-10 | 2 | -2/+35 |
| | | | | | | | | | | | | 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 | 8 | -0/+104 |
| | | |||||
* | | Removed duplicate tests, added tests + fix for use after finalize | Alex Gaynor | 2013-08-09 | 2 | -15/+13 |
| | | |||||
* | | Address a review note | Alex Gaynor | 2013-08-09 | 1 | -1/+1 |
| | | |||||
* | | Use a test file with shorter keys so that all lines match our coding standard | Alex Gaynor | 2013-08-09 | 1 | -32/+56 |
| | | |||||
* | | Get stuff working on py3k for real | Alex Gaynor | 2013-08-09 | 5 | -65/+80 |
| | | |||||
* | | Steps to get this running on py32 and py33 again | Alex Gaynor | 2013-08-09 | 2 | -4/+4 |
| | | |||||
* | | Compute the cipher name slightly (only slightly) better | Alex Gaynor | 2013-08-09 | 3 | -2/+6 |
| | | |||||
* | | More TODOs | Alex Gaynor | 2013-08-09 | 2 | -1/+3 |
| | | |||||
* | | Start playing with getting useful errors. We need unit tests for all these | Alex Gaynor | 2013-08-09 | 1 | -10/+18 |
| | | | | | | | | lines | ||||
* | | Clear the sensitive data | Alex Gaynor | 2013-08-09 | 1 | -0/+6 |
| | | |||||
* | | Another TODO | Alex Gaynor | 2013-08-09 | 1 | -0/+1 |
| | | |||||
* | | Many TODOs later, we can encrypt a thing | Alex Gaynor | 2013-08-09 | 3 | -3/+74 |
| | | |||||
* | | Properly decode plaintext before encrypting it | Donald Stufft | 2013-08-09 | 2 | -16/+32 |
| | | |||||
* | | Use the NIST MMT vectors to test AES-CBC w/ no padding | Donald Stufft | 2013-08-09 | 19 | -13/+2348 |
| | | |||||
* | | Reduce code duplication | Alex Gaynor | 2013-08-08 | 1 | -80/+19 |
| | | |||||
* | | Style | Alex Gaynor | 2013-08-08 | 1 | -2/+1 |
| | | |||||
* | | Use the NIST KAT vectors to test AES-CBC w/ no padding | Donald Stufft | 2013-08-09 | 72 | -0/+73644 |
| | | |||||
* | | Tests now running against the NIST vectors | Alex Gaynor | 2013-08-08 | 2 | -8/+5 |
| | | |||||
* | | Merge branch 'master' into simple-symmetric-encryption | Alex Gaynor | 2013-08-08 | 4 | -2/+315 |
|\| | |||||
| * | Merge pull request #29 from dstufft/nist-vector-file-utilities | Alex Gaynor | 2013-08-08 | 4 | -2/+315 |
| |\ | | | | | | | Add a test utility functions to read & process NIST vector files |