aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* HTTPS a bunch of links in random places (#4666)Alex Gaynor2018-12-311-4/+4
| | | | | | * HTTPS a bunch of links in random places * What the heck happened here?
* update pytest config (#4463)Paul Kehrer2018-09-061-2/+4
| | | | | | | | | | | | | | * update pytest config pytest 3.8.0 was just released and officially deprecates some of the way we do pytest marks. They introduced a new way to do this in 3.6 so this PR switches to that mechanism and updates our minimum pytest requirement * update the stubs * also update wycheproof test config to remove deprecated paths * don't need this any more
* Allow DSA q=224 (#4147)Paul Kehrer2018-03-181-47/+0
| | | | | | | | * load Q=224 vectors * DSA parameters should support 224 for q length * oxford comma
* implement CCM vector parser (#3699)Paul Kehrer2017-06-211-3/+187
|
* ed25519 vector loader (#3707)Paul Kehrer2017-06-201-1/+93
| | | | | | * ed25519 vector loader * refactor to use unpacking
* call check_backend_support directly from backend fixture (#3666)Alex Gaynor2017-06-031-16/+4
|
* Switched our backend to be a normal fixture in tests (#3665)Alex Gaynor2017-06-031-12/+1
|
* Delete some code (#3563)Alex Gaynor2017-05-201-44/+1
| | | | | | | | * Delete some code * removed import * delete more code
* Adding CAVP vector parsing for NIST SP 800-108 KDF vectors. (#2865)Jared2016-04-131-3/+96
|
* Fix load_kasvs_ecdh_vectors() COUNT sourcingSimo Sorce2015-10-131-2/+2
| | | | | | | | | 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-10/+10
|
* Add vector loader for X9.63 vectorsSimo Sorce2015-09-241-0/+81
| | | | Signed-off-by: Simo Sorce <simo@redhat.com>
* add test to cover partial branch in load_kasvs_ecdh_vectorsPaul Kehrer2015-08-011-0/+4
| | | | The loop to find supported parameter sets is partially covered otherwise
* add a line for the ecdh vector loader to cover a missed branchPaul Kehrer2015-08-011-0/+1
|
* fixed testsAlex Gaynor2015-07-021-2/+2
|
* Modify ECDH Test vector loader for KDF vectorsSimo Sorce2015-05-061-0/+69
| | | | | | Also add tests for the new vectors Signed-off-by: Simo Sorce <simo@redhat.com>
* Add loader for ECDH test vectorsSimo Sorce2015-05-011-1/+293
| | | | | | | 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>
* add encode_rfc6979_signature and refactor tests to use itPaul Kehrer2014-11-271-21/+1
|
* 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-1/+8
|
* Change how we represented that a test requires a backend.Alex Gaynor2014-10-231-19/+6
| | | | This way is more extensible and requires less maintaince
* KASVS vector loaderAlex Stapleton2014-08-101-3/+456
|
* negative testPaul Kehrer2014-04-301-0/+3
|
* rename dss_sig_value -> der_encode_dsa_signaturePaul Kehrer2014-04-301-6/+8
|
* use pyasn1 for creating the dss-sig-value structurePaul Kehrer2014-04-301-11/+0
|
* dss_sig_value: Pure python conversion of (r, s) to byte streamPaul Kehrer2014-04-301-5/+31
|
* Fix some typos.Alex Gaynor2014-04-251-1/+1
| | | | Found with https://github.com/intgr/topy/
* fix a coverage miss in the dsa sig vector loaderPaul Kehrer2014-04-221-0/+11
|
* Modify DSA SigVer loader to be able to load SigGen vectorsMohammed Attia2014-04-221-2/+234
|
* Add DSA SigVer vectors loaderMohammed Attia2014-04-221-39/+296
|
* SigVer.rsp loadingAlex Stapleton2014-04-191-4/+7
|
* Missed an unhexlifyAlex Stapleton2014-04-161-1/+1
|
* Use binascii.hexlify instead of just hexlifyAlex Stapleton2014-04-151-4/+4
|
* ECDSA SigGen.{txt,rsp} vector loaderAlex Stapleton2014-04-131-2/+161
|
* ECDSA vector loaderAlex Stapleton2014-04-121-2/+124
|
* expand pkcs1 loader to support OAEP as wellPaul Kehrer2014-03-291-0/+214
|
* Pain the bikeshed a different colourAlex Stapleton2014-03-271-1/+1
|
* Fixes to @alex's commentsAlex Stapleton2014-03-271-17/+20
|
* Update testsAlex Stapleton2014-03-271-11/+16
|
* Address most of my own commentsAlex Stapleton2014-03-271-1/+32
|
* Move cryptography.vectors to cryptography_vectorsAlex Stapleton2014-03-241-0/+7
| | | | | | | 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.
* import order fixes for future automated checkingPaul Kehrer2014-03-191-4/+4
|
* remove a comma that was pointlessly addedPaul Kehrer2014-03-181-1/+1
|
* add headers to each test so the file source can be determinedPaul Kehrer2014-03-181-1/+11
|
* another file permutation for rsa nist tested.Paul Kehrer2014-03-181-1/+62
|
* expand RSA NIST vector loader to support verification vectors as wellPaul Kehrer2014-03-181-4/+75
|
* change rsa nist loader to use strings for algorithm namePaul Kehrer2014-03-161-3/+3
|
* Add the vectors for different (L,N) pairs again for the loader testMohammed Attia2014-03-131-108/+246
|
* Change flag to a boolMohammed Attia2014-03-131-94/+92
|
* Remove some of the vectors in the loader testMohammed Attia2014-03-121-577/+2
|