aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Collapse)AuthorAgeFilesLines
* Don't expose extract and expand on this class yet because we don't know how ↵David Reid2014-02-032-20/+2
| | | | best to expose verify functionality, continue testing the stages using the private methods.
* Complete test coverageDavid Reid2014-02-031-0/+26
|
* Use six.u for great good.David Reid2014-02-031-5/+19
|
* Consistently use double quotes.David Reid2014-02-031-11/+11
|
* Aggressively type-check for text.David Reid2014-02-031-0/+40
|
* bytes all the things.David Reid2014-02-031-6/+6
|
* Add test cases for length checking and already finalized.David Reid2014-02-031-0/+85
|
* Closer to proposed interface in #513.David Reid2014-02-031-14/+18
|
* Use the nist vector loader.David Reid2014-02-032-21/+15
|
* Fix case.David Reid2014-02-031-2/+2
|
* Fix pep8.David Reid2014-02-031-0/+1
|
* Break up hkdf_derive into hkdf_extract and hkdf_expand.David Reid2014-02-031-9/+41
| | | | | | | | Testing each individually against all the vectors and actually asserting about the intermediate state. hkdf_derive is now just a helper function which copes with the default arguments.
* This got split into SHA1 and SHA256David Reid2014-02-031-83/+0
|
* Refactor HKDF support and provide vectors for tests.David Reid2014-02-033-0/+164
|
* Merge pull request #537 from public/pkcs1-vectorsDavid Reid2014-01-317-0/+24276
|\ | | | | PKCS#1 vectors
| * PKCS#1 vectorsAlex Stapleton2014-01-317-0/+24276
| | | | | | | | | | From ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/ and ftp://ftp.rsa.com/pub/rsalabs/tmp/
* | rename test filesPaul Kehrer2014-01-282-0/+0
| |
* | add some unicode checks for salt on init and key_material on derivePaul Kehrer2014-01-281-0/+10
| |
* | okay this time really finish the rename. Up example iterations to 100kPaul Kehrer2014-01-283-16/+16
| |
* | remove length check (which cffi handles)Paul Kehrer2014-01-281-4/+0
| |
* | test coverage, other changesPaul Kehrer2014-01-281-0/+63
| |
* | PBKDF2 support for OpenSSL backendPaul Kehrer2014-01-282-0/+62
| |
* | add PBKDF2 SHA1 vectors from RFC 6070Paul Kehrer2014-01-271-0/+48
| |
* | Convert the HKDF vectors to the NIST format.David Reid2014-01-272-0/+14
| |
* | Represent the hash vectors more cleanlyAlex Gaynor2014-01-271-5/+2
| |
* | SHA256 vectors.David Reid2014-01-231-0/+34
| |
* | Add HKDF vectors from RFC5869.David Reid2014-01-231-0/+48
|/
* remove CAST5 for first releasePaul Kehrer2014-01-072-55/+1
|
* 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 branch 'master' into validate-ivAlex Gaynor2014-01-021-6/+3
|\ | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py
| * Fixed test for earlier exceptinoAlex Gaynor2014-01-011-6/+3
| |
* | Merge branch 'master' into validate-ivAlex Gaynor2014-01-0113-485/+503
|\| | | | | | | | | | | Conflicts: tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py
| * Merge pull request #353 from reaperhulk/supported-markAlex Gaynor2013-12-2713-406/+297
| |\ | | | | | | 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
| | |
| | * refactor all tests to use mark instead of generator skipsPaul Kehrer2013-12-2613-450/+290
| | |
| * | Remove verify from Hash.Julian Krause2013-12-261-26/+1
| | |
| * | Merge branch 'master' of https://github.com/pyca/cryptography into verifyJulian Krause2013-12-2512-197/+305
| |\| | | | | | | | | | | | | | | | Conflicts: tests/hazmat/primitives/test_hashes.py tests/hazmat/primitives/test_hmac.py
| | * correct import stylePaul Kehrer2013-12-247-0/+7
| | |
| | * add all the markers to the testsPaul Kehrer2013-12-2411-0/+45
| | |
| | * 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-221-3/+9
| | |\ | | | | | | | | UnsupportedAlgorithm error messages for Ciphers
| | | * UnsupportedAlgorithm error messages for CiphersAlex Stapleton2013-12-221-3/+9
| | | |
| | * | 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()