aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ECB class + docs + testsPaul Kehrer2013-09-101-0/+47
| | | | | * 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-changesAlex Gaynor2013-09-101-22/+30
|\ | | | | Changes to parameterize_encrypt_test to support other NIST vectors
| * changes to parameterize_encrypt_test to support other NIST vectorsPaul Kehrer2013-09-101-22/+30
| | | | | | | | | | * ECB has no IV so we need to be able to pass params rather than have them hardcoded in the method
* | Aded the 3DES vectors. Refs #51.Alex Gaynor2013-09-0988-0/+48004
|/
* Simplified the NIST tests and reduced duplicationAlex Gaynor2013-09-091-150/+31
|
* Update docstring to pass alex8 lintingPaul Kehrer2013-09-091-1/+2
|
* openssl_version_text now calls startswith rather than findPaul Kehrer2013-09-091-1/+1
|
* ascii decode on openssl_version_text + doc string improvementsPaul Kehrer2013-09-091-0/+7
|
* Add method to bindings to get OPENSSL_VERSION_TEXTPaul Kehrer2013-09-091-0/+3
| | | | | | | * 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)
* Add mandatory headers to files touched by this branchHynek Schlawack2013-08-113-0/+7
|
* Fixed wrong testAlex Gaynor2013-08-101-1/+1
|
* Ensure that AES gets a proper key sizeDonald Stufft2013-08-101-0/+4
|
* Use an enum for determining BlockCipher operationDonald Stufft2013-08-101-2/+4
|
* Be consistentAlex Gaynor2013-08-101-1/+1
|
* Remove the padding from the BlockCipher APIDonald Stufft2013-08-102-21/+21
|
* BlockCiphers should know their own nameDonald Stufft2013-08-101-0/+7
| | | | We normalize on CIPHER-KEYSIZE-MODE for the block cipher name.
* Ciphers should know what size their keys areDonald Stufft2013-08-101-0/+29
|
* Ensure that a BlockCipher can only be used for one operationDonald Stufft2013-08-101-0/+20
| | | | | | 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-104-0/+52
|
* Removed duplicate tests, added tests + fix for use after finalizeAlex Gaynor2013-08-091-15/+9
|
* 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-093-61/+65
|
* Steps to get this running on py32 and py33 againAlex Gaynor2013-08-091-2/+2
|
* 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-083-0/+312
|\
| * Merge pull request #29 from dstufft/nist-vector-file-utilitiesAlex Gaynor2013-08-083-0/+312
| |\ | | | | | | Add a test utility functions to read & process NIST vector files
| | * Add a test utility functions to read & process NIST vector filesDonald Stufft2013-08-093-0/+312
| | |
* | | Started stubbing stuff out, including a simple test, now is the part where weAlex Gaynor2013-08-081-0/+23
|/ / | | | | | | write some actual cryptographic software. So yeah.
* / Refactor into latest design decisionHynek Schlawack2013-08-083-6/+19
|/ | | | | C is an implementation detail of the wrapper API, so we go with 'bindings'. Also create/fix some namespaces.
* Less code, more tests.Alex Gaynor2013-08-072-0/+6