cryptography/tests
Aviv Palivoda e44efb634f DH subgroup order (q) (#3369)
* Support DH q (subgroup order)

* Change RFC5114.txt to NIST format

* Add tests for DH q

* Update docs for DH q

* Fix pep8

* Improve test covergae for DH q

* Create _dh_params_dup that copy q if DHparams_dup don't

On OpenSSL < 1.0.2 DHparams_dup don't copy q. _dh_params_dup
call DHparams_dup and if the version is smaller than 1.0.2
copy q manually

* Copy q manually on libressl

* Add to test vectors serialized RFC5114 2048 bit DH parameters with 224 bit subgroup

* Support serialization of DH with q

* Add tests for serialization of DH with q

* Support DH serialization with q only if Cryptography_HAS_EVP_PKEY_DHX is true

* Raise exception when trying to serialize DH X9.42 when not supported

* raise unsupported key type when deserilizing DH X9.42 if not supported

* pep8 fixes

* Fix test_serialization

* Add dhx_serialization_supported method to DHBacked

* document q in dh_parameters_supported

* Rename dhx_serialization_supported to dh_x942_serialization_supported
2017-03-05 22:24:55 -04:00
..
hazmat DH subgroup order (q) (#3369) 2017-03-05 22:24:55 -04:00
hypothesis Raise padding block_size limit to what is allowed by the specs. (#3108) 2016-11-15 09:56:02 +08:00
__init__.py
conftest.py py26 2016-03-19 16:51:05 -04:00
doubles.py standard future import 2016-03-06 09:54:23 -05:00
test_cryptography_utils.py fix a regression in int_from_bytes (#3316) 2016-12-13 12:09:35 -05:00
test_fernet.py pass bytes to modes/algorithms like we should 2016-03-07 08:41:51 -04:30
test_interfaces.py Add a register_interface_if decorator. (#3120) 2016-08-29 08:21:28 -04:00
test_utils.py Adding CAVP vector parsing for NIST SP 800-108 KDF vectors. (#2865) 2016-04-13 16:03:52 -05:00
test_warnings.py Test deleting deprecated attributes. 2016-03-21 11:38:20 +00:00
test_x509.py replace pyasn1 with asn1crypto (#3361) 2017-02-08 13:09:41 +08:00
test_x509_crlbuilder.py Drop 1.0.0 (#3312) 2016-12-13 20:05:35 -06:00
test_x509_ext.py Make DistributionPoint relative_name a set of NameAttribute (#3210) 2016-11-07 13:54:04 +08:00
test_x509_revokedcertbuilder.py CertificateBuilder accepts aware datetimes for not_valid_after and not_valid_before (#2920) 2016-08-16 22:39:31 -04:00
utils.py Adding CAVP vector parsing for NIST SP 800-108 KDF vectors. (#2865) 2016-04-13 16:03:52 -05:00