aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #253 from dreid/hash-raise-after-finalizeAlex Gaynor2013-11-131-0/+11
|\ | | | | raise an exception if you try to use a HashContext after finalize is called.
| * Import AlreadyFinalized instead of exceptions.David Reid2013-11-131-3/+3
| |
| * raise an exception if you try to use a HashContext after finalize is called.David Reid2013-11-121-0/+11
| |
* | Also remove teh ciphers specific classAlex Gaynor2013-11-135-11/+11
| |
* | Remove the hash and hmac specific classes, now that the logic is the Context ↵Alex Gaynor2013-11-134-26/+26
| | | | | | | | classes they don't really add value
* | Merge branch 'master' into hmac-context-from-backendDavid Reid2013-11-121-3/+3
|\| | | | | | | | | | | Conflicts: cryptography/hazmat/bindings/openssl/backend.py cryptography/hazmat/primitives/hmac.py
| * Merge pull request #248 from dreid/hash-context-from-backendAlex Gaynor2013-11-121-3/+3
| |\ | | | | | | Get a HashContext from the backend like we do a CipherContext
| | * Get a HashContext from the backend like we do a CipherContextDavid Reid2013-11-121-3/+3
| | |
* | | Get a HashContext from the hmac backend like we do a CipherContextDavid Reid2013-11-121-2/+3
|/ /
* / Fixed using copied hashesAlex Gaynor2013-11-121-0/+6
|/
* Remove separate file loaders and replace with onePaul Kehrer2013-11-119-48/+62
| | | | All tests updated to work with the new simplified loader
* Ignore the sections of the NIST filesAlex Gaynor2013-11-115-20/+18
|
* Merge pull request #214 from reaperhulk/arc4-supportDavid Reid2013-11-094-2/+114
|\ | | | | ARC4 Support
| * add ARC4 keysize testingPaul Kehrer2013-11-071-1/+20
| |
| * ARC4 supportPaul Kehrer2013-11-073-1/+94
| |
* | Fixed two bugs in the PKCS7 padding where unpadding would accept bad inputs.Alex Gaynor2013-11-091-0/+2
|/
* block cipher renamePaul Kehrer2013-11-068-53/+55
| | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* Merge pull request #213 from reaperhulk/arc4-vectorsDavid Reid2013-11-047-0/+1761
|\ | | | | ARC4 Vectors
| * add key 2 tests from rfc 6229Paul Kehrer2013-11-017-0/+882
| |
| * ARC4 vectors from RFC 6229 reformatted for NIST loaderPaul Kehrer2013-11-017-0/+879
| |
* | Changed excpetion name based on feedback from dreidAlex Gaynor2013-11-021-3/+3
| |
* | Document and implement the public API for when the backend doesn't support ↵Alex Gaynor2013-11-021-0/+11
| | | | | | | | the requested algorithm
* | 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-31236-339/+323
| |\
| * | 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-313-56/+20
| |
* | 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-30233-36/+36
|/
* 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-294-3/+250
|\
| * Merge pull request #157 from reaperhulk/hmacDavid Reid2013-10-294-3/+250
| |\ | | | | | | HMAC support