aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | test for ctrAlex Gaynor2013-11-191-0/+8
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Tests for OFB and CFBAlex Gaynor2013-11-191-0/+16
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Validate the IV/nonce length for a given algorithm.Alex Gaynor2013-11-192-2/+18
| | |_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #159
* | | | | | | | | | | | | | | | backend support check now lists which backend caused the skipPaul Kehrer2014-01-032-2/+4
| |_|_|_|_|/ / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge branch 'master' into privatize-me-captainAlex Gaynor2014-01-011-6/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/backends/openssl/backend.py
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #386 from alex/move-gcm-tag-validationPaul Kehrer2014-01-011-6/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move GCM tag size/value validation farther forward
| | * | | | | | | | | | | | | | | Fixed test for earlier exceptinoAlex Gaynor2014-01-011-6/+3
| | | |_|_|_|/ / / / / / / / / / | | |/| | | | | | | | | | | | |
* | / | | | | | | | | | | | | | Make lib and ffi be private on backendAlex Gaynor2014-01-011-11/+6
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because now they are public on a binding instance if you need them!
* / / / / / / / / / / / / / / Split OpenSSL bindingAlex Stapleton2014-01-011-0/+22
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge pull request #353 from reaperhulk/supported-markAlex Gaynor2013-12-2716-408/+341
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | Add mark that allows us to do skip tests on backends via decorators
| * | | | | | | | | | | | | re-add some removed generators to simplify patchPaul Kehrer2013-12-273-50/+101
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | change typeerror to valueerrorPaul Kehrer2013-12-272-3/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | refactor all tests to use mark instead of generator skipsPaul Kehrer2013-12-2613-450/+290
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | rename the method to be less horribly namedPaul Kehrer2013-12-263-10/+10
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add mark that allows us to do skip tests on backends via decoratorsPaul Kehrer2013-12-263-2/+44
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Remove verify from Hash.Julian Krause2013-12-261-26/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge branch 'master' of https://github.com/pyca/cryptography into verifyJulian Krause2013-12-2516-204/+359
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/test_hashes.py tests/hazmat/primitives/test_hmac.py
| * | | | | | | | | | | | | Merge pull request #347 from alex/better-error-emssagePaul Kehrer2013-12-245-59/+35
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better error emssage
| | * | | | | | | | | | | | | Move stuff around and coverageAlex Gaynor2013-12-245-61/+35
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Update testAlex Gaynor2013-12-241-1/+1
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Include teh name of the backend in the error messageAlex Gaynor2013-12-241-3/+5
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | correct import stylePaul Kehrer2013-12-247-0/+7
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | add all the markers to the testsPaul Kehrer2013-12-2411-0/+45
| |/ / / / / / / / / / / / /
| * | | | | | | | | | | | | whoops, python 2.6 compatible format stringPaul Kehrer2013-12-241-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add test marks for various backend functionalityPaul Kehrer2013-12-243-0/+69
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Cover a missed branchAlex Gaynor2013-12-241-2/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add more skip check lambdasPaul Kehrer2013-12-232-0/+40
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add hmac_supported method to backend.Paul Kehrer2013-12-232-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we were implicitly assuming that if a hash was supported then its hmac equivalent was as well.
| * | | | | | | | | | | | | Merge pull request #325 from public/unsupported-cipher-messagesAlex Gaynor2013-12-222-8/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UnsupportedAlgorithm error messages for Ciphers
| | * | | | | | | | | | | | | UnsupportedAlgorithm error messages for CiphersAlex Stapleton2013-12-222-8/+16
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge pull request #327 from reaperhulk/gcm-lower-limit-tagAlex Gaynor2013-12-211-0/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restrict GCM tag length to 4+ bytes
| | * | | | | | | | | | | | | | restrict gcm tags to a minimum of 4 bytes in lengthPaul Kehrer2013-12-211-0/+7
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Merge pull request #326 from public/unsupported-hmac-hashAlex Gaynor2013-12-211-2/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing HMACs
| | * | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing HMACsAlex Stapleton2013-12-211-2/+12
| | |/ / / / / / / / / / / / /
| * | | | | | | | | | | | | | Merge pull request #324 from public/unsupported-hashAlex Gaynor2013-12-211-2/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing Hash()
| | * | | | | | | | | | | | | | Raise UnsupportedAlgorithm when initing Hash()Alex Stapleton2013-12-211-2/+12
| | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of just an AssertionError.
| * | | | | | | | | | | | | | use both kwargs and named args in lambdas for clarityPaul Kehrer2013-12-216-65/+43
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | don't modify params on parametrized testsPaul Kehrer2013-12-207-55/+77
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multiple backends receive the same params dicts, but we were modifying them using pop.
| * | | | | | | | | | | | | Merge branch 'master' into no-more-generatorAlex Gaynor2013-12-174-3/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/utils.py
| * | | | | | | | | | | | | pep8Alex Gaynor2013-12-131-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Make this less invasiveAlex Gaynor2013-12-131-177/+280
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Clean up test generation to not use generators anymore and use parametrizationAlex Gaynor2013-12-131-332/+209
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Add verify function to hmac and hashes.Julian Krause2013-12-172-2/+48
| |/ / / / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #308 from alex/rename-bindingsDonald Stufft2013-12-154-4/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | Renamed bindings to backends
| * | | | | | | | | | | | Also rename teh testsAlex Gaynor2013-12-132-0/+0
| | | | | | | | | | | | |
| * | | | | | | | | | | | Renamed bindings to backendsAlex Gaynor2013-12-133-4/+4
| |/ / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #283 from juliankrause/constant_timePaul Kehrer2013-12-141-0/+41
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | Beginnings of a constant_time module.
| * | | | | | | | | | | Beginnings of a constant_time module.Julian Krause2013-12-041-0/+41
| | | | | | | | | | | |
* | | | | | | | | | | | raise ValueErrors when supplying/not supplying tags for GCMPaul Kehrer2013-12-043-3/+59
|/ / / / / / / / / / /
* | | | | | | | | | | create AEADEncryptionContext and DecryptionContextPaul Kehrer2013-11-291-1/+1
| | | | | | | | | | |