aboutsummaryrefslogtreecommitdiffstats
path: root/tests/primitives/test_block.py
Commit message (Collapse)AuthorAgeFilesLines
* Move primtives into a hazmat packageDonald Stufft2013-10-281-86/+0
|
* the great api -> backend renamePaul Kehrer2013-10-221-5/+5
|
* verify that encryptor/decryptor returns CipherContext compliant interfacePaul Kehrer2013-10-221-2/+3
|
* address review commentsPaul Kehrer2013-10-211-18/+19
| | | | | | * inline some methods * refactor enc/dec classes * modify docs
* block cipher decryption supportPaul Kehrer2013-10-211-23/+31
| | | | | | This is a squash of previous commits plus new ones. Ran into a pile of conflicts during the rebase and decided this was an easier way to retain a sane commit history
* Unaligned block encryption testPaul Kehrer2013-10-191-0/+11
| | | | | | | This test verifies that the underlying buffer is being sized correctly by passing data into the encryption function without aligning it to the block size of the cipher. This ensures that we will get a larger return value than the initial argument from our second encrypt call.
* Removed name fro BlockCipher -- it's arbitrarily based on the format openssl ↵Alex Gaynor2013-10-171-10/+1
| | | | uses for *some* ciphers
* Use a None default so composition is easierAlex Gaynor2013-10-031-0/+7
|
* Explicitly pass around the API, and run all tests under all available APIsAlex Gaynor2013-10-031-8/+12
|
* Add mandatory headers to files touched by this branchHynek Schlawack2013-08-111-0/+2
|
* Fixed wrong testAlex Gaynor2013-08-101-1/+1
|
* Use an enum for determining BlockCipher operationDonald Stufft2013-08-101-2/+4
|
* Remove the padding from the BlockCipher APIDonald Stufft2013-08-101-5/+5
|
* BlockCiphers should know their own nameDonald Stufft2013-08-101-0/+7
| | | | We normalize on CIPHER-KEYSIZE-MODE for the block cipher name.
* 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-101-0/+13
|
* Removed duplicate tests, added tests + fix for use after finalizeAlex Gaynor2013-08-091-15/+9
|
* Get stuff working on py3k for realAlex Gaynor2013-08-091-4/+8
|
* Steps to get this running on py32 and py33 againAlex Gaynor2013-08-091-2/+2
|
* Properly decode plaintext before encrypting itDonald Stufft2013-08-091-1/+2
|
* Tests now running against the NIST vectorsAlex Gaynor2013-08-081-8/+5
|
* 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.