[test] Move test framework crypto functions to crypto/

This commit is contained in:
stratospher committed 2023-09-10 23:16:39 +05:30
1 parent 8371914604
commit 08a4a56cbc
14 files changed
+10 -10

No files matched your search

@@ -4,7 +4,7 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Helper routines relevant for compact block filters (BIP158).
"""
from .siphash import siphash
from .crypto.siphash import siphash
def bip158_basic_element_hash(script_pub_key, N, block_hash):
@@ -12,7 +12,7 @@ import os
import random
import unittest
from test_framework.secp256k1 import FE, G, GE
from test_framework.crypto.secp256k1 import FE, G, GE
# Precomputed constant square root of -3 (mod p).
MINUS_3_SQRT = FE(-3).sqrt()
File renamed without changes.
Internal Server Error - gitea
500 Internal Server Error

An error occurred:

An error occurred

Gitea Version: 28.1.0