aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_nist.py
Commit message (Collapse)AuthorAgeFilesLines
* These are also interleavedAlex Gaynor2013-10-211-16/+0
|
* Remove this, it's not really CBCAlex Gaynor2013-10-211-16/+0
|
* fixAlex Gaynor2013-10-211-1/+1
|
* fixesAlex Gaynor2013-10-211-10/+14
|
* KAT tests for 3des ofbAlex Gaynor2013-10-211-0/+24
|
* No need for another test functionAlex Gaynor2013-10-211-9/+0
|
* TripleDES OFB MMT testsAlex Gaynor2013-10-211-6/+34
|
* pep8ification, stub classes for OFB and CFBAlex Gaynor2013-10-211-3/+17
|
* Initial working stateAlex Gaynor2013-10-211-14/+20
|
* Get the tests runningAlex Gaynor2013-10-161-1/+11
|
* Port this test except it doesn't work because of plaintext and ciphertext ↵Alex Gaynor2013-10-161-12/+6
| | | | naming, need to make that flexible
* Merge branch 'master' into triple-desAlex Gaynor2013-10-161-89/+143
|\ | | | | | | | | | | | | | | | | Also moved most of the tests to the new format except for one which doesn't yet have an obvious translation Conflicts: cryptography/primitives/block/ciphers.py tests/primitives/test_nist.py
| * flake8 fixesAlex Gaynor2013-10-161-1/+0
| |
| * Ported openssl vector testsAlex Gaynor2013-10-161-16/+9
| |
| * Start of the great refactoringAlex Gaynor2013-10-161-126/+63
| |
| * Explicitly pass around the API, and run all tests under all available APIsAlex Gaynor2013-10-031-14/+22
| |
| * CFB supportPaul Kehrer2013-09-111-0/+47
| | | | | | | | | | | | | | | | | | | | 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
| * add output feedback mode support + test vectors (aes)Paul Kehrer2013-09-101-0/+47
| |
| * 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)
* | consistencyAlex Gaynor2013-09-101-5/+5
| |
* | Merge branch 'master' into triple-desAlex Gaynor2013-09-101-2/+2
|\| | | | | | | | | Conflicts: tests/primitives/test_nist.py
| * 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
* | Get tests running (fail miserably)Alex Gaynor2013-09-101-48/+109
| |
* | Write out the initial test cases, they don't even fail properly because the ↵Alex Gaynor2013-09-091-0/+40
|/ | | | 3DES cases look different from the AES ones
* Simplified the NIST tests and reduced duplicationAlex Gaynor2013-09-091-150/+31
|
* Add mandatory headers to files touched by this branchHynek Schlawack2013-08-111-0/+3
|
* Be consistentAlex Gaynor2013-08-101-1/+1
|
* Remove the padding from the BlockCipher APIDonald Stufft2013-08-101-16/+16
|
* Some apache license headers (we need a pyflkaes check for thsi)Alex Gaynor2013-08-101-0/+13
|
* Properly decode plaintext before encrypting itDonald Stufft2013-08-091-15/+30
|
* Use the NIST MMT vectors to test AES-CBC w/ no paddingDonald Stufft2013-08-091-13/+50
|
* 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-091-0/+193