aboutsummaryrefslogtreecommitdiff
path: root/tests/hazmat/primitives/test_dh.py
AgeCommit message (Expand)AuthorFilesLines
2024-07-20Fix exchange with keys that had Q automatically computed (#11309)Alex Gaynor1-0/+10
2024-02-19Move a few more constants fully to Rust (#10428)Alex Gaynor1-1/+2
2024-01-26fixed fips skip condition (#10264)Alex Gaynor1-4/+1
2024-01-22Remove some skips in tests that aren't needed anymore (#10223)Alex Gaynor1-14/+4
2024-01-21Migrate SPKI parsing from OpenSSL to Rust (#10121)Alex Gaynor1-9/+18
2024-01-02Migrate DH Numbers to Rust (#10081)Alex Gaynor1-25/+3
2023-08-16fixes #9403 -- re-allow copying public keys (#9433)Alex Gaynor1-0/+16
2023-06-23Enable ruff's own ruleset (#9114)Alex Gaynor1-5/+3
2023-06-18Remove a bunch of pointless indirections (#9084)Alex Gaynor1-1/+1
2023-04-24Migrate DH to Rust (#8768)Alex Gaynor1-1/+4
2023-04-10support equality checks on all public asymmetric key types (#8700)Paul Kehrer1-0/+22
2022-12-21Switch from flake8 to ruff (#7920)Alex Gaynor1-1/+1
2022-10-01Handle error generating DH params with very very large key size (#7666)Alex Gaynor1-0/+4
2022-01-30Remove explicit subclassing of object now that all classes are new-style (#6830)Alex Gaynor1-4/+4
2021-11-12Run tests/primitives/test_{dh,serialization}.py on BoringSSL (#6589)Alex Gaynor1-0/+16
2021-08-29FIPS 3.0.0 support (#6012)Paul Kehrer1-0/+2
2021-04-22[WIP] 3.0.0 support (#5250)Paul Kehrer1-1/+23
2021-04-14switch to using EVP_PKEY_derive instead of DH_compute_key in DH (#5972)Paul Kehrer1-9/+10
2021-03-02more typing (#5887)Paul Kehrer1-8/+13
2021-03-01Remove requires_backend_interface from tests because it was useless (#5884)Alex Gaynor1-15/+0
2021-01-31DH types (#5725)Paul Kehrer1-6/+6
2021-01-31enable mypy over tests (#5721)Paul Kehrer1-1/+3
2021-01-31make PrivateKeyWithSerialization an alias of PrivateKey (#5722)Paul Kehrer1-10/+6
2020-12-09we already do this check in other places (#5624)Paul Kehrer1-5/+1
2020-12-09Remove utils.int_from_bytes (#5609)Alex Gaynor1-6/+5
2020-12-09Remove __future__ import from our code (#5610)Alex Gaynor1-1/+0
2020-12-08Fixed DH tests for latest CentOS FIPS OpenSSL (#5604)Alex Gaynor1-0/+12
2020-11-29disallow p less than 512-bit on DH (#5592)Paul Kehrer1-26/+58
2020-08-26new black, actually slightly different than the old black (#5429)Paul Kehrer1-2/+4
2020-07-20Paint it Black by the Rolling Stones (#5324)Alex Gaynor1-225/+215
2020-07-20test FIPS mode on centos8 (#5323)Paul Kehrer1-0/+13
2020-07-19refactor DH a bit to generate less parameters (#5326)Paul Kehrer1-25/+22
2019-09-11update our test to be more robust wrt some changes from upstream (#4993)Paul Kehrer1-2/+9
2019-01-20add support for encoding compressed points (#4638)Paul Kehrer1-5/+18
2019-01-13support x448 public/private serialization both raw and pkcs8 (#4653)Paul Kehrer1-0/+31
2017-10-12Inline calls to bit_length now that it's trivial (#3966)Alex Gaynor1-2/+2
2017-07-17Remove DH generator size constraint (#3364)mtury1-1/+1
2017-07-09allow p % 24 == 23 when generator == 2 in DH_check (#3768)Paul Kehrer1-1/+25
2017-06-24Dh parameters serialization (#3504)Aviv Palivoda1-0/+136
2017-06-24Add DERSerializationBackend to test_dh serialization tests (#3717)Aviv Palivoda1-1/+3
2017-05-19Don't skip DH tests when dhx unsupported and no dhx is required (#3484)Aviv Palivoda1-17/+35
2017-03-05DH subgroup order (q) (#3369)Aviv Palivoda1-22/+143
2017-02-07DH serialization (#3297)Aviv Palivoda1-1/+244
2016-11-26OpenSSL DH backend implementation [Second attempt] (#2914)Aviv Palivoda1-12/+195
2015-05-24Fix dual license in test_dh.pyJim Shaver1-12/+3
2015-02-26DH numbersAlex Stapleton1-0/+113