aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that AES gets a proper key sizeDonald Stufft2013-08-102-0/+10
|
* Merge branch 'master' into simple-symmetric-encryptionAlex Gaynor2013-08-101-1/+1
|\ | | | | | | | | Conflicts: docs/primitives/symmetric-encryption.rst
| * Merge pull request #34 from alex/excise-paddingHynek Schlawack2013-08-101-4/+4
| |\ | | | | | | Fully excised padding from the docs
| | * Fixed exampleAlex Gaynor2013-08-101-1/+1
| | |
| | * Fully excised padding from the docsAlex Gaynor2013-08-101-4/+4
| | |
* | | Merge branch 'master' into simple-symmetric-encryptionAlex Gaynor2013-08-100-0/+0
|\| |
| * | Merge pull request #33 from alex/api-valDonald Stufft2013-08-101-1/+1
| |\ \ | | |/ | |/| Make api poitn to the right object
| | * Make api poitn to the right objectAlex Gaynor2013-08-101-1/+1
| |/
* | Fixed toxAlex Gaynor2013-08-101-1/+3
| |
* | Use an enum for determining BlockCipher operationDonald Stufft2013-08-104-9/+25
| |
* | Remove padding from the docs.Alex Gaynor2013-08-101-3/+3
| |
* | Be consistentAlex Gaynor2013-08-101-1/+1
| |
* | Merge branch 'master' into simple-symmetric-encryptionAlex Gaynor2013-08-100-0/+0
|\|
| * Merge pull request #32 from alex/bytes-for-nist-vectorsDonald Stufft2013-08-102-59/+109
| |\ | | | | | | Made the load NIST vectors test utility use bytes correctly
| | * Made the load NIST vectors test utility use bytes correctlyAlex Gaynor2013-08-102-59/+109
| |/
* | Remove the padding from the BlockCipher APIDonald Stufft2013-08-104-39/+22
| |
* | Merge branch 'master' into simple-symmetric-encryptionAlex Gaynor2013-08-101-6/+0
|\|
| * Merge pull request #30 from dstufft/simplify-apiAlex Gaynor2013-08-101-6/+0
| |\ | | | | | | Removing padding from the encryption API
| | * Removing padding from the encryption APIDonald Stufft2013-08-101-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 nameDonald Stufft2013-08-102-0/+13
| | | | | | | | | | | | We normalize on CIPHER-KEYSIZE-MODE for the block cipher name.
* | | Ciphers should know what size their keys areDonald Stufft2013-08-103-1/+34
| | |
* | | Make flake8 happyDonald Stufft2013-08-103-0/+3
| | |
* | | Merge branch 'master' into simple-symmetric-encryptionDonald Stufft2013-08-100-0/+0
|\| |
| * | Merge pull request #31 from dstufft/add-nist-vector-filesHynek Schlawack2013-08-1089-0/+75749
| |\ \ | | |/ | |/| Add the NIST AES vectors
| | * Add the NIST AES vectorsDonald Stufft2013-08-1089-0/+75749
| |/
* | Ensure that a BlockCipher can only be used for one operationDonald Stufft2013-08-102-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 Gaynor2013-08-108-0/+104
| |
* | Removed duplicate tests, added tests + fix for use after finalizeAlex Gaynor2013-08-092-15/+13
| |
* | Address a review noteAlex Gaynor2013-08-091-1/+1
| |
* | Use a test file with shorter keys so that all lines match our coding standardAlex Gaynor2013-08-091-32/+56
| |
* | Get stuff working on py3k for realAlex Gaynor2013-08-095-65/+80
| |
* | Steps to get this running on py32 and py33 againAlex Gaynor2013-08-092-4/+4
| |
* | Compute the cipher name slightly (only slightly) betterAlex Gaynor2013-08-093-2/+6
| |
* | More TODOsAlex Gaynor2013-08-092-1/+3
| |
* | Start playing with getting useful errors. We need unit tests for all theseAlex Gaynor2013-08-091-10/+18
| | | | | | | | lines
* | Clear the sensitive dataAlex Gaynor2013-08-091-0/+6
| |
* | Another TODOAlex Gaynor2013-08-091-0/+1
| |
* | Many TODOs later, we can encrypt a thingAlex Gaynor2013-08-093-3/+74
| |
* | Properly decode plaintext before encrypting itDonald Stufft2013-08-092-16/+32
| |
* | Use the NIST MMT vectors to test AES-CBC w/ no paddingDonald Stufft2013-08-0919-13/+2348
| |
* | Reduce code duplicationAlex Gaynor2013-08-081-80/+19
| |
* | StyleAlex Gaynor2013-08-081-2/+1
| |
* | Use the NIST KAT vectors to test AES-CBC w/ no paddingDonald Stufft2013-08-0972-0/+73644
| |
* | Tests now running against the NIST vectorsAlex Gaynor2013-08-082-8/+5
| |
* | Merge branch 'master' into simple-symmetric-encryptionAlex Gaynor2013-08-084-2/+315
|\|
| * Merge pull request #29 from dstufft/nist-vector-file-utilitiesAlex Gaynor2013-08-084-2/+315
| |\ | | | | | | Add a test utility functions to read & process NIST vector files
| | * Add a test utility functions to read & process NIST vector filesDonald Stufft2013-08-094-2/+315
| | |
* | | Started stubbing stuff out, including a simple test, now is the part where weAlex Gaynor2013-08-088-3/+51
|/ / | | | | | | write some actual cryptographic software. So yeah.
* | Merge pull request #26 from alex/symmetric-encryption-docsDonald Stufft2013-08-083-0/+77
|\ \ | | | | | | [WIP] Started trying to document symmetric encryption
| * | Typo fixAlex Gaynor2013-08-081-2/+2
| | |