mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 19:43:13 +02:00
Merge bitcoin/bitcoin#28374: test: python cryptography required for BIP 324 functional tests
c534c08710
[test/crypto] Add FSChaCha20Poly1305 AEAD python implementation (stratospher)c2a458f1c2
[test/crypto] Add FSChaCha20 python implementation (stratospher)c4ea5f6288
[test/crypto] Add RFC 8439's ChaCha20Poly1305 AEAD (stratospher)9fc6e0355e
[test/crypto] Add Poly1305 python implementation (stratospher)fec2ca6c9a
[test/crypto] Use chacha20_block function in `data_to_num3072` (stratospher)0cde60da3a
[test/crypto] Add ChaCha20 python implementation (stratospher)69d3f50ab6
[test/crypto] Add HMAC-based Key Derivation Function (HKDF) (stratospher)08a4a56cbc
[test] Move test framework crypto functions to crypto/ (stratospher) Pull request description: split off from #24748 to keep commits related to cryptography and functional test framework changes separate. This PR adds python implementation and unit tests for HKDF, ChaCha20, Poly1305, ChaCha20Poly1305 AEAD, FSChaCha20 and FSChaCha20Poly1305 AEAD. They're based oncc177ab7bc/bip-0324/reference.py
for easy review. ACKs for top commit: sipa: utACKc534c08710
achow101: ACKc534c08710
theStack: re-ACKc534c08710
Tree-SHA512: 08a0a422d2937eadcf0edfede37e535e6bc4c2e4b192441bbf9bc26dd3f03fa3388effd22f0527c55af173933d0b50e5b2b3d36f2b62d0aca3098728ef06970e
This commit is contained in:
@@ -13,7 +13,7 @@ import os
|
||||
import random
|
||||
import unittest
|
||||
|
||||
from test_framework import secp256k1
|
||||
from test_framework.crypto import secp256k1
|
||||
|
||||
# Point with no known discrete log.
|
||||
H_POINT = "50929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac0"
|
||||
|
Reference in New Issue
Block a user