Skip to content

Test vectors #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 30 commits into
base: p2qrh
Choose a base branch
from
Open

Test vectors #22

wants to merge 30 commits into from

Conversation

jbride
Copy link
Collaborator

@jbride jbride commented Jun 30, 2025

p2qrh test vectors and documentation

@cryptoquick
Copy link
Owner

Looks like the typo checks are failing. Let's also be sure to get the python test vectors. And finally, we'll need to update the BIP Test vectors section to provide an overview similar to this section of BIP-341:
https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#user-content-Test_vectors

@cryptoquick cryptoquick changed the title P2qrh Test vectors Jul 7, 2025
EthanHeilman and others added 3 commits July 7, 2025 19:05
* Rewrote rationale

* Fix bolded principles

* Actually fix bold

* Updates to talk about signature + public key size rather than just signature size

* Took a pass over rationale

* Started work on specification

* Adds example tapscript hybrid signatures

* More work on the specification

* Cleans up TODO

* Fixing grammar, other minor changes

* SHL --> SLH

* Apply suggestions from code review

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Adds discussion of SQIsign

* Fixes broken llink to libbitcoinpqc

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Fixes writing in SQIsign section

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Add rational section on big signatures and public keys

* Fixes typos

* Adds script validation from BIP 341

* Add commas

* Add design section, stack element size increase now in PQ sigs

* Fixes typo

* Fixes typos and formatting

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Add authorship to readme

* Add diagram of P2QRH merke tree, scriptPubKey and Witness

* Remove completed todo

* Add security section

* Clean up wording, moves some things around

* Minor rewording

* Review suggestions

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Clarified size differences

* Changed header size and order

* does --> doUpdate bip-0360.mediawiki

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>

* Add related work section

* Better scale figure

* Respond to review comments

* remove double space

Co-authored-by: Armin Sabouri <armins88@gmail.com>

* Address review comments

* Addressing Ademan comments

* Sync source svg

* Address review

* Addresses review

* Apply suggestions from code review

Co-authored-by: Joey Yandle <xoloki@gmail.com>

* Update bip-0360.mediawiki

Co-authored-by: Joey Yandle <xoloki@gmail.com>

* Update bip-0360.mediawiki

Co-authored-by: Joey Yandle <xoloki@gmail.com>

* Addressing review comments

* Addressing reviews

---------

Co-authored-by: Hunter Beast <hunter@cryptoquick.com>
Co-authored-by: Armin Sabouri <armins88@gmail.com>
Co-authored-by: Joey Yandle <xoloki@gmail.com>
jbride added 3 commits July 9, 2025 07:40
1.  No need to prefix every element of witness stack with 1 byte compact
    size length

2.  Includes P2TR end-to-end example in Rust (for purpose of comparison with
    P2QRH)
jbride added 2 commits July 14, 2025 12:52
pay-to-quantum-resistant-hash

Equivalent example for p2tr is next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants