aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Properly mark all test cases as dependant on HMAC.David Reid2014-02-032-5/+5
|
* Don't forget InvalidKey.David Reid2014-02-031-1/+1
|
* Import exception classes instead of the exceptions module.David Reid2014-02-031-4/+4
|
* 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
|
* Remove more leftovers from rebase.David Reid2014-02-031-43/+2
|
* Add test cases for length checking and already finalized.David Reid2014-02-031-0/+85
|
* Remove load_hkdf_vectors which snuck in with a rebase.David Reid2014-02-031-30/+0
|
* 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-032-33/+22
|
* Break up hkdf_derive into hkdf_extract and hkdf_expand.David Reid2014-02-032-30/+48
| | | | | | | | 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-035-2/+263
|
* More detailed error message for InternalErrorAlex Stapleton2014-02-021-0/+17
| | | | | Uses ERR_error_string_n because the source contains horrible warnings against ever using ERR_error_string.
* Handle multiple errors on the stackAlex Stapleton2014-02-011-13/+33
|
* 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/
* | add test for null char replacementPaul Kehrer2014-01-291-0/+19
| |
* | 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-284-18/+18
| |
* | 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-284-1/+68
| |
* | 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-272-15/+15
| |
* | Merge pull request #492 from public/py-thread-safeAlex Gaynor2014-01-241-0/+73
|\ \ | | | | | | Python implementation of OpenSSL locking callback
| * | Remove the contenious test of contentionAlex Stapleton2014-01-241-46/+0
| | |
| * | Split a test in halfAlex Stapleton2014-01-241-6/+18
| | |
| * | Also test the locking cb directlyAlex Stapleton2014-01-241-19/+20
| | |
| * | Python implementation of OpenSSL locking callbackAlex Stapleton2014-01-241-0/+106
| | |
* | | Switch to using our own InternalError, instead of SystemErrorAlex Gaynor2014-01-242-8/+8
|/ /
* | SHA256 vectors.David Reid2014-01-231-0/+34
| |
* | Add HKDF vectors from RFC5869.David Reid2014-01-231-0/+48
| |
* | GCM support for CommonCrypto backendPaul Kehrer2014-01-221-1/+20
| |
* | Merge branch 'master' into commoncrypto-cipher-backendPaul Kehrer2014-01-203-5/+76
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: expand tox backend example On OS X at build time compile the CC bindings fix docs update docs for name attribute revert fixture decorator for now, switch to append. no more globals docs for explicit backend selection and document name attribute of backend modify backend selection to allow multiple backends via comma delimiter better name for the variable don't mutate _ALL_BACKENDS pass posargs via tox so --backend can be used for tox envs support --backend as a pytest flag to limit to one backend for testing
| * | revert fixture decorator for now, switch to append. no more globalsPaul Kehrer2014-01-193-25/+17
| | |
| * | modify backend selection to allow multiple backends via comma delimiterPaul Kehrer2014-01-183-19/+49
| | |
| * | better name for the variablePaul Kehrer2014-01-141-5/+4
| | |
| * | don't mutate _ALL_BACKENDSPaul Kehrer2014-01-141-2/+9
| | |
| * | support --backend as a pytest flag to limit to one backend for testingPaul Kehrer2014-01-133-2/+45
| |/
* | make register_cipher_adapter private and fix cryptorref releasePaul Kehrer2014-01-201-1/+1
| |
* | change cipher registry to store enumsPaul Kehrer2014-01-201-1/+4
| |