Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| | * | Add a test utility functions to read & process NIST vector files | Donald Stufft | 2013-08-09 | 4 | -2/+315 |
| | | | |||||
* | | | Started stubbing stuff out, including a simple test, now is the part where we | Alex Gaynor | 2013-08-08 | 8 | -3/+51 |
|/ / | | | | | | | write some actual cryptographic software. So yeah. | ||||
* | | Merge pull request #26 from alex/symmetric-encryption-docs | Donald Stufft | 2013-08-08 | 3 | -0/+77 |
|\ \ | | | | | | | [WIP] Started trying to document symmetric encryption | ||||
| * | | Typo fix | Alex Gaynor | 2013-08-08 | 1 | -2/+2 |
| | | | |||||
| * | | A padding example | Alex Gaynor | 2013-08-08 | 1 | -2/+4 |
| | | | |||||
| * | | This is where padding goes | Alex Gaynor | 2013-08-08 | 1 | -1/+5 |
| | | | |||||
| * | | Descriptive text | Alex Gaynor | 2013-08-08 | 1 | -0/+3 |
| | | | |||||
| * | | Describe the methods more explicitly | Alex Gaynor | 2013-08-08 | 1 | -8/+11 |
| | | | |||||
| * | | Document this as a class | Alex Gaynor | 2013-08-08 | 1 | -18/+17 |
| | | | |||||
| * | | New language | Alex Gaynor | 2013-08-08 | 1 | -3/+3 |
| | | | |||||
| * | | more accurate | Alex Gaynor | 2013-08-08 | 1 | -2/+4 |
| | | | |||||
| * | | Move the modules around | Alex Gaynor | 2013-08-08 | 1 | -5/+4 |
| | | | |||||
| * | | Fix | Alex Gaynor | 2013-08-08 | 1 | -2/+2 |
| | | | |||||
| * | | This is a lie | Alex Gaynor | 2013-08-08 | 1 | -2/+0 |
| | | |