MCPcopy
hub / github.com/pyca/cryptography / test_derive_point_invalid_key

Function test_derive_point_invalid_key

tests/hazmat/primitives/test_ec.py:160–167  ·  view source on GitHub ↗
(backend)

Source from the content-addressed store, hash-verified

158
159
160def test_derive_point_invalid_key(backend):
161 curve = ec.SECP256R1()
162 _skip_curve_unsupported(backend, curve)
163 with pytest.raises(ValueError):
164 ec.derive_private_key(
165 0xE2563328DFABF68188606B91324281C1D58A4456431B09D510B35FECC9F307CA1822846FA2671371A9A81BAC0E35749D,
166 curve,
167 )
168
169
170def test_ec_numbers():

Callers

nothing calls this directly

Calls 1

_skip_curve_unsupportedFunction · 0.70

Tested by

no test coverage detected