aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Switch tests to pass salt length to the right place, except where actually ↵Alex Gaynor2014-05-031-12/+12
| | | | testing the deprecation support
* cover some missing lines in dsa multibackendPaul Kehrer2014-05-021-0/+5
|
* expand DSA multibackend supportPaul Kehrer2014-05-021-0/+34
|
* add test to cover missed linePaul Kehrer2014-05-011-0/+9
|
* DSA signing support (this is mostly skeuomorf's work, credit to him)Paul Kehrer2014-05-011-0/+54
|
* add check to ensure only invalid ASN1 gives InvalidSignature in DSAPaul Kehrer2014-05-011-0/+9
|
* updates for review feedbackPaul Kehrer2014-05-011-2/+5
|
* move use after finalize to its own testPaul Kehrer2014-05-011-4/+13
|
* remove hash check in verifier as this isn't a proper restrictionPaul Kehrer2014-04-301-25/+0
|
* restructure some tests, add skip, use der_encode_dsa_signaturePaul Kehrer2014-04-301-51/+45
|
* fix pep8 violationPaul Kehrer2014-04-301-8/+4
|
* Add verification testsMohammed Attia2014-04-301-5/+99
|
* negative testPaul Kehrer2014-04-301-0/+3
|
* 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-302-7/+9
|
* make DSSSigValue class privatePaul Kehrer2014-04-301-2/+2
|
* use pyasn1 for creating the dss-sig-value structurePaul Kehrer2014-04-302-33/+12
|
* dss_sig_value: Pure python conversion of (r, s) to byte streamPaul Kehrer2014-04-302-5/+58
|
* Don't import the exceptions module directly.Alex Gaynor2014-04-291-12/+14
| | | | | The name "exceptions" is way too common for modules, so it's crappy to put that name in the namespace, just import the classes we need.
* Merge pull request #962 from reaperhulk/rsa-encAlex Gaynor2014-04-262-4/+122
|\ | | | | RSA encryption support
| * update some decryption testsPaul Kehrer2014-04-251-3/+3
| |
| * move ct length check into decrypt function, address review commentsPaul Kehrer2014-04-251-13/+8
| |
| * another style fix in the rsa tests that I missed last time...Paul Kehrer2014-04-241-2/+2
| |
| * improve style in test, update docs for rsa encryption reviewPaul Kehrer2014-04-241-1/+1
| |
| * RSA encryption supportPaul Kehrer2014-04-241-0/+123
| |
* | Merge pull request #972 from public/padding-docsPaul Kehrer2014-04-261-4/+5
|\ \ | | | | | | Use AlreadyFinalized instead of ValueError
| * | Use AlreadyFinalized not ValueErrorAlex Stapleton2014-04-251-4/+5
| | |
* | | Rename OpenSSLSerializationBackendAlex Stapleton2014-04-253-20/+27
| | |
* | | Fix some typos.Alex Gaynor2014-04-252-2/+2
| | | | | | | | | | | | Found with https://github.com/intgr/topy/
* | | No more comma seperated string stringsAlex Gaynor2014-04-241-1/+1
| |/ |/|
* | Merge pull request #949 from reaperhulk/rsa-oaep-decryptAlex Gaynor2014-04-232-0/+110
|\ \ | | | | | | OAEP support for RSA decryption
| * | OAEP support for RSA decryptionPaul Kehrer2014-04-222-0/+110
| | |
* | | Added _REASONAyrx2014-04-221-4/+2
| | |
* | | Added tests for multibackendAyrx2014-04-221-3/+33
|/ /
* | Merge pull request #952 from reaperhulk/fix-missing-coverageAlex Stapleton2014-04-222-2/+13
|\ \ | | | | | | Fix a bug/coverage miss in the DSA sig vector loader
| * | fix a coverage miss in the dsa sig vector loaderPaul Kehrer2014-04-222-2/+13
| | |
* | | Merge pull request #953 from Ayrx/fix-cmac-missing-coveragePaul Kehrer2014-04-221-0/+16
|\ \ \ | |/ / |/| | Added missing tests for CMAC 100% coverage
| * | Added missing tests for 100% coverageAyrx2014-04-221-0/+16
| | |
* | | Modify DSA SigVer loader to be able to load SigGen vectorsMohammed Attia2014-04-222-3/+236
| | |
* | | Merge pull request #946 from skeuomorf/dsa-sigver-loaderAlex Stapleton2014-04-222-39/+362
|\ \ \ | |/ / |/| | DSA SigVer vectors loader
| * | Add DSA SigVer vectors loaderMohammed Attia2014-04-222-39/+362
| | |
* | | Merge pull request #931 from Ayrx/cmac-implementationAlex Stapleton2014-04-222-3/+220
|\ \ \ | | | | | | | | CMAC implementation and docs
| * | | Added test skip for test_copy_with_backend()Ayrx2014-04-221-0/+5
| | | |
| * | | Added more copy() testsAyrx2014-04-221-0/+7
| | | |
| * | | Fix pep8 errorsAyrx2014-04-222-2/+2
| | | |
| * | | Changed stub keys and ivs to use null bytesAyrx2014-04-221-1/+1
| | | |
| * | | Fixed pep8 errorAyrx2014-04-221-4/+9
| | | |
| * | | Updated testsAyrx2014-04-221-23/+51
| | | |
| * | | Added CMAC testsAyrx2014-04-222-3/+175
| | | |
* | | | Merge pull request #944 from reaperhulk/fix-773Alex Stapleton2014-04-221-0/+34
|\ \ \ \ | |/ / / |/| | | fix SSL_OP_ALL being unusable on Windows due to long being 32-bit signed