aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_rsa.py
Commit message (Collapse)AuthorAgeFilesLines
* more key length checks, docs updatePaul Kehrer2014-04-201-1/+3
|
* remove InvalidDecryption and replace with ValueErrorPaul Kehrer2014-04-201-2/+2
|
* remove OAEP decryption to simplify reviewPaul Kehrer2014-04-201-59/+0
|
* cover a missing linePaul Kehrer2014-04-201-0/+11
|
* more testing for rsa decryptPaul Kehrer2014-04-201-0/+17
|
* test should check for the right exceptionPaul Kehrer2014-04-201-1/+1
|
* add InvalidDecryption exception, check for ct > key sizePaul Kehrer2014-04-201-0/+13
|
* docs, tests, general huge improvements to RSA decryptionPaul Kehrer2014-04-201-11/+59
|
* prelim OAEP and PKCS1v15 for openssl 1.0.0+ and 0.9.8. decryption onlyPaul Kehrer2014-04-201-0/+63
|
* Merge pull request #935 from public/rsa-crtPaul Kehrer2014-04-201-17/+4
|\ | | | | Utility methods for RSA CRT params
| * Utility methods for RSA CRT paramsAlex Stapleton2014-04-181-17/+4
| |
* | some checks for PKCS1 keys being too small for the payload to be signedPaul Kehrer2014-04-191-0/+29
|/
* added unused NIST test files for FIPS 186-2 RSA (PKCS#1 v1.5) to test casesThomas Fenzl2014-04-151-0/+10
|
* DummyMGF needs a _salt_length tooPaul Kehrer2014-04-021-1/+1
|
* move DeprecatedIn04 to utils, some kwargs changesPaul Kehrer2014-04-021-2/+2
|
* address review commentsPaul Kehrer2014-04-021-3/+6
|
* move salt_length from MGF1 to PSS and start deprecation cyclePaul Kehrer2014-04-021-41/+99
|
* fix pep8 errorsAlex Stapleton2014-04-011-1/+1
|
* Add _Reasons.UNSUPPORTED_MGFAlex Stapleton2014-04-011-2/+2
|
* Update tests and raise sitesAlex Stapleton2014-03-271-20/+19
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-17/+17
|
* improve exception msgs, change how test_pss_signing_sha2 worksPaul Kehrer2014-03-201-27/+36
|
* Merge branch 'master' into rsa-pss-signingPaul Kehrer2014-03-201-50/+136
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * more concise way of generating testsPaul Kehrer2014-03-191-86/+52
| |
| * switch to a lambdaPaul Kehrer2014-03-191-10/+35
| |
| * rename some thingsPaul Kehrer2014-03-191-11/+11
| |
| * add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSSPaul Kehrer2014-03-191-11/+106
| |
| * import order fixes for future automated checkingPaul Kehrer2014-03-191-2/+2
| |
* | never trust opensslPaul Kehrer2014-03-191-2/+103
| | | | | | | | | | | | | | 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-191-0/+85
|/
* change exception and improve some languagePaul Kehrer2014-03-171-2/+4
|
* pass the hash class rather than using getattrPaul Kehrer2014-03-161-5/+5
|
* add RSA PSS verification supportPaul Kehrer2014-03-161-1/+248
|
* Tiny style changes to some importsAlex Gaynor2014-03-161-2/+1
|
* Style nitpickAyrx2014-03-161-1/+1
|
* Added backend check to rsa primitivesAyrx2014-03-161-0/+25
|
* 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
|
* address some review commentsPaul Kehrer2014-02-261-2/+6
|
* kwargs and class renames to bring verification up to datePaul Kehrer2014-02-251-15/+35
|
* more kwargsPaul Kehrer2014-02-251-1/+4
|
* add RSA verification supportPaul Kehrer2014-02-251-0/+88
|
* more kwargsPaul Kehrer2014-02-241-1/+5
|
* rename PKCS1->PKCS1v15 & UnsupportedAsymmetricPadding->UnsupportedPaddingPaul Kehrer2014-02-241-3/+3
|
* incorporate review feedback. kwarg!Paul Kehrer2014-02-231-1/+10
|
* keyword argsPaul Kehrer2014-02-231-1/+5
|
* fix pep8Paul Kehrer2014-02-231-1/+0
|
* some style fixesPaul Kehrer2014-02-231-3/+7
|
* add RSA PKCS1 signing (and structure for PSS + verification)Paul Kehrer2014-02-231-0/+60
|
* Explicitly pass the key parameters instead of using **kwargs. Now we don't ↵David Reid2014-02-191-3/+14
| | | | have to pop some stuff.