aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_rsa.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | add a few more RSA supported checksPaul Kehrer2014-05-251-1/+21
|/ /
* | add supported marks in the RSA tests that use rsa_padding_supportedPaul Kehrer2014-05-241-27/+288
| |
* | Always use deprecated_callAlex Gaynor2014-05-031-4/+8
| |
* | Switch tests to pass salt length to the right place, except where actually ↵Alex Gaynor2014-05-031-12/+12
|/ | | | testing the deprecation support
* 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-261-1/+119
|\ | | | | RSA encryption support
| * 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
| |
* | Rename OpenSSLSerializationBackendAlex Stapleton2014-04-251-19/+3
| |
* | No more comma seperated string stringsAlex Gaynor2014-04-241-1/+1
|/
* OAEP support for RSA decryptionPaul Kehrer2014-04-221-0/+59
|
* 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
|