aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #258 from alex/already-finalizedDavid Reid2013-11-132-5/+8
|\ | | | | Use AlreadyFinalized for symmetric ciphers
| * Use AlreadyFinalized for symmetric ciphersAlex Gaynor2013-11-132-5/+8
| |
* | Make HMAC methods raise AlreadyFinalized.David Reid2013-11-131-0/+14
|/
* 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-136-14/+14
| |
* | 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-123-4/+138
|\| | | | | | | | | | | 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
| | |
| * | GCM loader supportPaul Kehrer2013-11-122-1/+135
| | |
* | | Get a HashContext from the hmac backend like we do a CipherContextDavid Reid2013-11-121-2/+3
|/ /
* | Merge pull request #246 from alex/delete-testsDavid Reid2013-11-121-151/+15
|\ \ | | | | | | Simplify and make better hte tests for load_from_file
| * | flake8Alex Gaynor2013-11-121-0/+1
| | |
| * | fixed bytesAlex Gaynor2013-11-121-4/+4
| | |
| * | simplifyAlex Gaynor2013-11-121-11/+17
| | |
| * | Simplify and make better hte tests for load_from_fileAlex Gaynor2013-11-121-154/+11
| |/
* / Fixed using copied hashesAlex Gaynor2013-11-121-0/+6
|/
* Remove separate file loaders and replace with onePaul Kehrer2013-11-1111-93/+83
| | | | All tests updated to work with the new simplified loader
* Removed some tests that are now duplicatesAlex Gaynor2013-11-111-159/+2
|
* Ignore the sections of the NIST filesAlex Gaynor2013-11-117-33/+134
|
* Simplify the code by doing the filtering earlier, rather than laterAlex Gaynor2013-11-111-5/+9
|
* 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-069-57/+59
| | | | | | * block renamed to ciphers * ciphers renamed to algorithms * base moved into algorithms
* 79 colsAlex Gaynor2013-11-041-1/+3
|
* Replace assumption with some fakesAlex Gaynor2013-11-041-7/+12
|
* Merge branch 'master' into more-error-conditionAlex Gaynor2013-11-048-0/+1766
|\ | | | | | | | | Conflicts: tests/hazmat/bindings/test_openssl.py
| * Merge pull request #221 from alex/move-ffi-to-classDavid Reid2013-11-041-1/+6
| |\ | | | | | | Moved the cffi attributes on the OpenSSL backend to be class attributes
| | * Rewrite this test to be goodAlex Gaynor2013-11-041-2/+4
| | |
| | * coverageAlex Gaynor2013-11-041-1/+4
| | |
| * | 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
| | |
* | | typo fixAlex Gaynor2013-11-031-1/+1
| | |
* | | Replaced an assertion in the OpenSSL backend with a proper exceptionAlex Gaynor2013-11-031-3/+19
|/ /
* | 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-31238-347/+336
| |\
| * | Fix python3 compatibility and pep8David Reid2013-10-302-3/+3
| | |