aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Encode Reasons.David Reid2013-11-011-1/+1
|
* TypeErrors are pretty cool, there are lot of reasons you get them.David Reid2013-11-011-1/+1
|
* Enforce HMAC taking an instance of HashAlgorithmDavid Reid2013-11-012-10/+14
|
* Strip down the HMAC interface to be HashContext.David Reid2013-11-012-23/+9
|
* Merge pull request #200 from dreid/primitive-hashesAlex Gaynor2013-11-013-45/+43
|\ | | | | [WIP] Reduce the surface of the primitive hash interface.
| * Enforce that Hash takes a HashAlgorithm instance.David Reid2013-10-313-29/+30
| |
| * Fix python3 compat for the hash_test.David Reid2013-10-311-2/+3
| |
| * Merge branch 'master' into primitive-hashesDavid Reid2013-10-31238-347/+336
| |\
| * | Fix python3 compatibility and pep8David Reid2013-10-302-3/+3
| | |
| * | Reduce the surface of the primitive hash interface. Add more interfaces, ↵David Reid2013-10-302-22/+18
| | | | | | | | | | | | drop direct hashlib compatibility.
* | | Merge pull request #202 from reaperhulk/cast128-cipherAlex Gaynor2013-10-313-1/+71
|\ \ \ | | | | | | | | CAST5 Support
| * | | CAST5 support + ECB vectorsPaul Kehrer2013-10-313-1/+71
| | | |
* | | | add skipif checks for blowfishPaul Kehrer2013-10-311-0/+16
|/ / /
* | | Merge pull request #201 from reaperhulk/bf-supportAlex Gaynor2013-10-316-1/+399
|\ \ \ | | | | | | | | Blowfish Support
| * | | add blowfish cipher key_size testsPaul Kehrer2013-10-311-1/+14
| | | |
| * | | blowfish support + test vectorsPaul Kehrer2013-10-315-0/+385
| | |/ | |/| | | | | | | | | | Vectors sourced from https://www.schneier.com/code/vectors.txt but reformatted to comply with our NIST loader
* / | simplify some test class structurePaul Kehrer2013-10-312-24/+2
|/ /
* | rename camellia testsPaul Kehrer2013-10-311-4/+4
| |
* | update tests for new test vector locationsPaul Kehrer2013-10-314-58/+22
| |
* | move AES/3DES vectors into mode dirs and separate SHA vectorsPaul Kehrer2013-10-31210-0/+17
| |
* | move around the tests to organize by cipherPaul Kehrer2013-10-304-148/+151
| |
* | restructure vectors into ciphers/hashes/hmacPaul Kehrer2013-10-30235-44/+49
|/
* raise an error if you unicodeAlex Gaynor2013-10-291-0/+10
|
* Clean up var namingAlex Gaynor2013-10-291-11/+5
|
* Optimize + test casesAlex Gaynor2013-10-291-0/+10
|
* Removed helperAlex Gaynor2013-10-291-3/+11
|
* Merge branch 'master' into pkcs7-paddingAlex Gaynor2013-10-296-5/+284
|\
| * Merge pull request #157 from reaperhulk/hmacDavid Reid2013-10-296-5/+284
| |\ | | | | | | HMAC support
| | * change type of exception raised, fix docs typoPaul Kehrer2013-10-281-1/+1
| | |
| | * make hmac (mostly) compatible with stdlib hmacPaul Kehrer2013-10-282-14/+18
| | |
| | * clean up loader and make docs default to hmac sha256Paul Kehrer2013-10-281-1/+8
| | |
| | * address initial review commentsPaul Kehrer2013-10-281-2/+3
| | |
| | * remove dangling todoPaul Kehrer2013-10-281-2/+0
| | |
| | * HMAC supportPaul Kehrer2013-10-286-3/+272
| | | | | | | | | | | | | | | | | | Conflicts: docs/primitives/index.rst tests/hazmat/primitives/utils.py
* | | Initial implementation with tests, docs to followAlex Gaynor2013-10-291-0/+85
|/ /
* / NIST AES XTS vectors.Paul Kehrer2013-10-284-0/+32052
|/ | | | | | | http://csrc.nist.gov/groups/STM/cavp/documents/aes/XTSTestVectors.zip OpenSSL supports the 128-bit hex tweak so that's what we'll be using initially
* Handle the deeper package directoryDonald Stufft2013-10-284-4/+4
|
* Move the bindings into the hazmat moduleDonald Stufft2013-10-285-5/+4
|
* Move primtives into a hazmat packageDonald Stufft2013-10-28237-15/+19
|
* AES GCM vectors from NISTPaul Kehrer2013-10-246-0/+396936
| | | | * http://csrc.nist.gov/groups/STM/cavp/documents/mac/gcmtestvectors.zip
* split backend up (refs #170)Paul Kehrer2013-10-225-28/+29
| | | | | | | | * Moves cipher methods into a Ciphers class and hash methods to a Hashes class and makes them available inside Backend as pluralized attributes. * Shortened many of the methods since their purpose is now defined by their container class
* more backend renames from merged commitsPaul Kehrer2013-10-221-8/+8
|
* Merge branch 'master' into api-to-backend-in-one-easy-stepPaul Kehrer2013-10-221-0/+22
|\ | | | | | | | | | | | | | | | | | | | | * master: Make use of currentmodule to maybe reduce redundant module definitions and also get source links. Enable the new read the docs theme, it's pretty. use is for identical object comparison add gcm constants and EVP_CIPHER_CTX_ctrl macro md5 is 128-bit. The person responsible for this mistake has been shot add test to verify api is being copied in hash When copying a hash, pass the api through to the new object
| * use is for identical object comparisonPaul Kehrer2013-10-221-1/+1
| |
| * add test to verify api is being copied in hashPaul Kehrer2013-10-221-0/+11
| |
| * When copying a hash, pass the api through to the new objectPaul Kehrer2013-10-221-0/+11
| |
* | the great api -> backend renamePaul Kehrer2013-10-229-69/+69
|/
* Merge pull request #155 from reaperhulk/hmac-vectorsDavid Reid2013-10-227-0/+281
|\ | | | | HMAC test vectors
| * add note on hmac truncation vectorsPaul Kehrer2013-10-223-0/+3
| |
| * HMAC test vectors from RFC 2202, 2286, and 4231Paul Kehrer2013-10-207-0/+278
| |