aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix load_kasvs_ecdh_vectors() COUNT sourcingSimo Sorce2015-10-131-1/+1
| | | | | | | | | COUNT is a decimal number in test files, but was erroneously read and converted as if the source was a hexadecimal number. Fix the loader and test the fix. Signed-off-by: Simo Sorce <simo@redhat.com>
* Some cleanupsAlex Gaynor2015-09-241-12/+12
|
* Add vector loader for X9.63 vectorsSimo Sorce2015-09-241-0/+49
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* remove some more branching in the vector loadersPaul Kehrer2015-08-011-7/+4
|
* fixed testsAlex Gaynor2015-07-021-7/+5
|
* Improved coverage for tests, handle multiple pytest.mark.supported ↵Alex Gaynor2015-07-021-1/+4
| | | | decorators on one function
* fixAlex Gaynor2015-06-271-1/+2
|
* Simplified code in the test loaders and improved branch coverage in the x509 ↵Alex Gaynor2015-06-271-4/+0
| | | | tests
* Modify ECDH Test vector loader for KDF vectorsSimo Sorce2015-05-061-0/+4
| | | | | | Also add tests for the new vectors Signed-off-by: Simo Sorce <simo@redhat.com>
* Merge pull request #1876 from simo5/ECDHPaul Kehrer2015-05-061-0/+104
|\ | | | | Add loader for ECDH test vectors
| * Add loader for ECDH test vectorsSimo Sorce2015-05-011-0/+104
| | | | | | | | | | | | | | Also fix test vector files, they had a truncated line for the EE set in both init and resp files. Signed-off-by: Simo Sorce <simo@redhat.com>
* | Support loading of SECP256K1 vectorsAlex Stapleton2015-05-031-0/+1
|/
* Fixed new flake8 warnings from teh latest versionAlex Gaynor2015-02-151-2/+2
|
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-271-17/+0
|
* alter vector file loader to support passing read modePaul Kehrer2014-11-271-2/+2
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-161-12/+3
| | | | Fixes #1209
* move skip_if_empty to separate function for test coveragePaul Kehrer2014-10-251-0/+9
|
* filter backends during initial generation to elide tests entirelyPaul Kehrer2014-10-241-2/+0
|
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-8/+0
| | | | This way is more extensible and requires less maintaince
* KASVS vector loaderAlex Stapleton2014-08-101-0/+59
|
* we should use der rather than berPaul Kehrer2014-04-301-1/+1
| | | | Doesn't make a difference in this specific case but it is correct.
* rename dss_sig_value -> der_encode_dsa_signaturePaul Kehrer2014-04-301-1/+1
|
* make DSSSigValue class privatePaul Kehrer2014-04-301-2/+2
|
* use pyasn1 for creating the dss-sig-value structurePaul Kehrer2014-04-301-22/+12
|
* dss_sig_value: Pure python conversion of (r, s) to byte streamPaul Kehrer2014-04-301-0/+27
|
* fix a coverage miss in the dsa sig vector loaderPaul Kehrer2014-04-221-2/+2
|
* Modify DSA SigVer loader to be able to load SigGen vectorsMohammed Attia2014-04-221-1/+2
|
* Add DSA SigVer vectors loaderMohammed Attia2014-04-221-0/+66
|
* Fix pep8 errors for latest import linterAlex Stapleton2014-04-201-1/+1
|
* Merge pull request #939 from public/ecdsa-sigver-rspPaul Kehrer2014-04-191-1/+2
|\ | | | | ECDSA SigVer.rsp loading
| * SigVer.rsp loadingAlex Stapleton2014-04-191-1/+2
| |
* | This one curve is still named wrongAlex Stapleton2014-04-191-1/+2
| | | | | | | | http://tools.ietf.org/html/rfc4492#appendix-A
* | Fix bad NIST <-> SECG curve name mapAlex Stapleton2014-04-181-3/+5
|/
* ECDSA SigGen.{txt,rsp} vector loaderAlex Stapleton2014-04-131-21/+75
|
* ECDSA vector loaderAlex Stapleton2014-04-121-0/+55
|
* Some cleanups to importsAlex Gaynor2014-04-051-0/+1
|
* expand pkcs1 loader to support OAEP as wellPaul Kehrer2014-03-291-2/+9
|
* Pain the bikeshed a different colourAlex Stapleton2014-03-271-2/+1
|
* Fixes to @alex's commentsAlex Stapleton2014-03-271-2/+4
|
* Address most of my own commentsAlex Stapleton2014-03-271-3/+3
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-0/+9
|
* Move cryptography.vectors to cryptography_vectorsAlex Stapleton2014-03-241-4/+5
| | | | | | | All vectors are now stored in the subpackage in the vectors/ folder. This package is automatically installed by setup.py test and will also be uploaded with a matching version number by the PyPI upload task.
* Load vectors from cryptography.vectorsMatthew Iversen2014-03-221-8/+5
|
* a few small fixesPaul Kehrer2014-03-191-0/+1
|
* import order fixes for future automated checkingPaul Kehrer2014-03-191-1/+1
|
* py3 fixPaul Kehrer2014-03-181-2/+2
|
* another file permutation for rsa nist tested.Paul Kehrer2014-03-181-0/+3
|
* expand RSA NIST vector loader to support verification vectors as wellPaul Kehrer2014-03-181-8/+27
|
* change rsa nist loader to use strings for algorithm namePaul Kehrer2014-03-161-1/+1
|
* Change flag to a boolMohammed Attia2014-03-131-12/+12
|