use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
import unittest
|
||||
import dns
|
||||
|
||||
from lib import dnssec
|
||||
|
||||
from . import SequentialTestCase
|
||||
from .test_bitcoin import needs_test_with_all_ecc_implementations
|
||||
|
||||
class TestDnsSec(unittest.TestCase):
|
||||
|
||||
class TestDnsSec(SequentialTestCase):
|
||||
|
||||
@needs_test_with_all_ecc_implementations
|
||||
def test_python_validate_rrsig_ecdsa(self):
|
||||
rrset = dns.rrset.from_text("getmonero.org.", 3599, 1, 48,
|
||||
"257 3 13 mdsswUyr3DPW132mOi8V9xESWE8jTo0d xCjjnopKl+GqJxpVXckHAeF+KkxLbxIL fDLUT0rAK9iUzy1L53eKGQ==",
|
||||
|
||||
Reference in New Issue
Block a user