1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Eugene Siegel
0963e43860
BIP 324: fix python aad in complete_handshake 2024-07-26 11:51:52 -04:00
Pieter Wuille
f3bd1eba67 Mark BIP324 as final 2024-07-10 14:59:46 -04:00
Tim Ruffing
75dc363d20 bip324: Remove garbage authentication packet (breaking change)
by merging it with the version packet. Or more accurately, by merging
it with the first packet sent after garbage termination, which may be
a decoy packet or the version packet.

The new protocol simplifies implementations:
 - A protocol state machine won't need separate states for garbage
   authentication and version phases.
 - The special case of "ignoring the ignore bit" is removed.
 - The freedom to choose the contents of the garbage authentication
   packet is removed. This simplifies testing.

The reason for having a separate garbage authentication packet was
to materialize the separation of the key exchange phase and version
negotiation phase even in the bytestream on the wire. However, this
is not necessary, and arguably, these phases are still properly
separated: Since the AEAD will ensure that AAD (=garbage) is checked
before looking at the contents (=version), the peers won't interpret
version data before having authenticated the garbage.
2023-09-28 10:19:53 +02:00
Pieter Wuille
cdcb6801a1 For now, remove BIP330 messages before being adopted 2023-09-11 13:43:29 -04:00
Pieter Wuille
397016ebdf Allow detecting/disconnecting wrong-network v1 peers 2023-09-11 13:43:23 -04:00
Pieter Wuille
175c5c06e0 Use 16-byte prefix to distinguish v1 from v2 2023-09-11 12:00:53 -04:00
Luke Dashjr
fbd92f2495
Merge pull request #1436 from theStack/bip324_handsake_remove_initiating_param
bip-0324: remove `initiating` parameter from `ellswift_create` calls
2023-06-29 13:48:11 -04:00
stratospher
da6f9ed17c
bip324: fix link to chacha20 2023-04-26 21:41:17 +05:30
Sebastian Falbesoner
59915dfc71 bip-0324: remove initiating parameter from ellswift_create calls 2023-03-19 19:18:07 +01:00
dhruv
ee8a4a3bc5 Updates to BIP324 since January 11 2023 2023-02-28 09:53:19 -08:00
Pieter Wuille
cc177ab7bc BIP324 updates
Includes:
* Simpler (but equivalent) ElligatorSwift encoding function & spec
* Improved test vectors
* Test vector generation code
* Code for converting test vectors for libsecp256k1 code.
* Code for running test vectors against SwiftEC paper authors' code.
* Miscellaneous reference code improvements (style, comments).
2023-01-11 17:39:56 -05:00
dhruv
32af2c9dc2 Add BIP324 2023-01-04 08:46:46 -08:00