aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* improve exception msgs, change how test_pss_signing_sha2 worksPaul Kehrer2014-03-202-58/+37
|
* Merge branch 'master' into rsa-pss-signingPaul Kehrer2014-03-2016-94/+191
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: add mgf1_hash_supported unsupported hash check more concise way of generating tests switch to a lambda rename some things add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSS revert one import order change a few small fixes Add ASN1_TIME_free import order fixes for future automated checking Conflicts: tests/hazmat/primitives/test_rsa.py tests/hazmat/primitives/utils.py
| * add mgf1_hash_supported unsupported hash checkPaul Kehrer2014-03-191-0/+8
| |
| * more concise way of generating testsPaul Kehrer2014-03-191-86/+52
| |
| * switch to a lambdaPaul Kehrer2014-03-192-23/+40
| |
| * rename some thingsPaul Kehrer2014-03-192-17/+17
| |
| * add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSSPaul Kehrer2014-03-192-22/+127
| |
| * a few small fixesPaul Kehrer2014-03-194-2/+6
| |
| * import order fixes for future automated checkingPaul Kehrer2014-03-1916-34/+31
| |
* | never trust opensslPaul Kehrer2014-03-192-2/+133
| | | | | | | | | | | | | | Turns out you can't trust it to safely compute the max salt length allowed for PSS, so now we get to do it ourselves. We also check for whether the key size is large enough for the selected hash function (PSS only for now, PKCS1 coming in another PR)
* | RSA PSS signature supportPaul Kehrer2014-03-192-0/+96
|/
* remove a comma that was pointlessly addedPaul Kehrer2014-03-181-1/+1
|
* py3 fixPaul Kehrer2014-03-181-2/+2
|
* 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-182-1/+65
|
* expand RSA NIST vector loader to support verification vectors as wellPaul Kehrer2014-03-182-12/+102
|
* Merge pull request #792 from reaperhulk/rsa-pss-verifyAlex Gaynor2014-03-175-6/+313
|\ | | | | RSA PSS Verify
| * change exception and improve some languagePaul Kehrer2014-03-171-2/+4
| |
| * pass the hash class rather than using getattrPaul Kehrer2014-03-162-12/+12
| |
| * change rsa nist loader to use strings for algorithm namePaul Kehrer2014-03-162-4/+4
| |
| * fix indentationPaul Kehrer2014-03-161-18/+18
| |
| * cover a missing line for older opensslPaul Kehrer2014-03-161-0/+25
| |
| * add RSA PSS verification supportPaul Kehrer2014-03-162-1/+281
| |
* | Merge pull request #768 from reaperhulk/cffi-modulename-fixDavid Reid2014-03-171-0/+25
|\ \ | |/ |/| Workaround for cffi issue 140
| * should probably update the test tooPaul Kehrer2014-03-171-7/+5
| |
| * be less dumbPaul Kehrer2014-03-131-4/+3
| |
| * make create_modulename private, add testPaul Kehrer2014-03-131-0/+28
| |
* | Merge pull request #811 from alex/import-stylePaul Kehrer2014-03-164-8/+2
|\ \ | | | | | | Tiny style changes to some imports
| * | Tiny style changes to some importsAlex Gaynor2014-03-164-8/+2
| | |
* | | s/available_backends/_available_backends/Alex Stapleton2014-03-161-2/+2
| | |
* | | Fix circular imports with available_backends()Alex Stapleton2014-03-161-2/+2
|/ /
* | Merge pull request #807 from Ayrx/add-backend-check-to-rsaPaul Kehrer2014-03-161-0/+25
|\ \ | | | | | | Added backend check to rsa primitives
| * | Style nitpickAyrx2014-03-161-1/+1
| | |
| * | Added backend check to rsa primitivesAyrx2014-03-161-0/+25
| | |
* | | Merge pull request #806 from Ayrx/add-backend-check-to-cipherPaul Kehrer2014-03-161-0/+12
|\ \ \ | | | | | | | | Added backend check to cipher primitives
| * | | Style nitpickAyrx2014-03-161-1/+2
| | | |
| * | | Added backend check to cipher primitivesAyrx2014-03-161-0/+11
| |/ /
* | | Merge pull request #805 from Ayrx/add-backend-check-to-hmacPaul Kehrer2014-03-161-3/+16
|\ \ \ | | | | | | | | Added backend check to hmac primitives
| * | | Fixed style nitpickAyrx2014-03-161-1/+2
| | | |
| * | | Added backend check to hmac primitivesAyrx2014-03-161-4/+16
| |/ /
* | | Style nitpickAyrx2014-03-161-1/+2
| | |
* | | Added backend check to hash primitivesAyrx2014-03-161-2/+16
|/ /
* | Merge pull request #775 from reaperhulk/rsa-mgf1-classAlex Gaynor2014-03-151-0/+27
|\ \ | | | | | | add MGF1 class, docs, tests
| * | make attributes of MGF1 private since that's our general conventionPaul Kehrer2014-03-111-4/+4
| | |
| * | add MGF1 class, docs, testsPaul Kehrer2014-03-101-0/+27
| |/
* | Merge pull request #801 from reaperhulk/fix-idea-coverageAlex Gaynor2014-03-151-1/+11
|\ \ | | | | | | test IDEA key_size properly
| * | test IDEA key_size properlyPaul Kehrer2014-03-151-1/+11
| | |
* | | Small style cleanup for importsAlex Gaynor2014-03-152-5/+4
| | |
* | | Merge pull request #799 from Ayrx/add-backend-check-to-kdfPaul Kehrer2014-03-152-3/+20
|\ \ \ | | | | | | | | Added backend check to kdf primitives
| * | | Fixed pep8 errorAyrx2014-03-151-1/+3
| | | |