Example #1
0
 def test_elliptic_curve_exchange_algorithm_supported(self, monkeypatch):
     monkeypatch.setattr(backend, "_lib", DummyLibrary())
     assert not backend.elliptic_curve_exchange_algorithm_supported(
         ec.ECDH(), ec.SECP256R1())
Example #2
0
 def test_elliptic_curve_exchange_algorithm_supported(self, monkeypatch):
     monkeypatch.setattr(backend, "_lib", DummyLibrary())
     assert not backend.elliptic_curve_exchange_algorithm_supported(
         ec.ECDH(), ec.SECP256R1()
     )