aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | add commoncrypto mark to skip on non-OS X platformsPaul Kehrer2014-01-045-2/+74
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | instantiate hash objects for hmac checks tooPaul Kehrer2014-01-042-8/+8
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Instantiate our hash objects used for supported checksPaul Kehrer2014-01-042-16/+16
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #272 from alex/validate-ivDavid Reid2014-01-032-0/+40
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate the IV/nonce length for a given algorithm.
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into validate-ivAlex Gaynor2014-01-023-17/+31
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py
| | * | | | | | | | | | | | | | | | Merge branch 'master' into validate-ivAlex Gaynor2014-01-0117-491/+600
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py
| | * | | | | | | | | | | | | | | | Merge branch 'master' into validate-ivAlex Gaynor2013-12-158-9/+279
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|_|/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py tests/hazmat/primitives/test_block.py
| | * | | | | | | | | | | | | | | | Merge branch 'master' into validate-ivAlex Gaynor2013-11-271-2/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|/ / / | | | |/| | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Merge branch 'master' into validate-ivAlex Gaynor2013-11-275-30/+59
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|_|_|_|_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/test_block.py
| | * | | | | | | | | | | | | | | | fixed typoAlex Gaynor2013-11-191-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | 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
| | |_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | handle lib/ffi on backend becoming privatePaul Kehrer2014-01-021-64/+64
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-021-11/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Revert "Travis now has an up to date pypy" Make capitalization in the glossary consistent and sort it Make lib and ffi be private on backend
| * | | | | | | | | | | | | | | Merge branch 'master' into privatize-me-captainAlex Gaynor2014-01-011-6/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/backends/openssl/backend.py
| * | | | | | | | | | | | | | | | 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!
* | | | | | | | | | | | | | | | | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-012-6/+25
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Split OpenSSL binding Fixed test for earlier exceptino Rearrange Move GCM tag size/value validation farther forward -- this makes it easier by not requiring future backends to implement the same checks expose num_locks and {get,set}_{id,locking}_callback Make the PyPy tox job consistent with the main one. THis should be a seperate PR Typo fix This page has been subsumed by the index Bump the copyright year Document compiling OpenSSL to avoid conflicts 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
| | | |_|_|_|/ / / / / / / / / / | | |/| | | | | | | | | | | | |
| * / | | | | | | | | | | | | | Split OpenSSL bindingAlex Stapleton2014-01-011-0/+22
| |/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | | rename urandom engine to osrandom enginePaul Kehrer2013-12-311-23/+23
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | improve init/finish engine funcs, do a better job inc/dec struct/func refsPaul Kehrer2013-12-311-21/+3
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Add dummy engine to tests and test other engine scenariosPaul Kehrer2013-12-311-4/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify register_urandom_engine to fix a leak
* | | | | | | | | | | | | | | add urandom engine register/unregister testsPaul Kehrer2013-12-301-0/+58
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also rename some variables in the urandom engine for easier comparison
* | | | | | | | | | | | | | 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