Refs #5075 -- use dsa_*.json from wycheproof (#5098)

This commit is contained in:
Alex Gaynor 2020-01-12 20:33:25 -06:00 committed by Paul Kehrer
parent f95abfeb61
commit c8c78bb4c5

View file

@ -23,6 +23,10 @@ _DIGESTS = {
@pytest.mark.requires_backend_interface(interface=DSABackend)
@pytest.mark.wycheproof_tests(
"dsa_test.json",
"dsa_2048_224_sha224_test.json",
"dsa_2048_224_sha256_test.json",
"dsa_2048_256_sha256_test.json",
"dsa_3072_256_sha256_test.json",
)
def test_dsa_signature(backend, wycheproof):
key = serialization.load_der_public_key(