Falcon Post‑Quantum Signatures #575
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposal: Integrating Falcon Post‑Quantum Signatures on BNB Chain
Draft – 6 May 2025
Proposal: Integrating Falcon Post‑Quantum Signatures on BNB Chain
1. Summary
2. Status
3. Motivation
4. Scope & Approach
5. Technical Specification (Phase 1)
6. Implementation Notes
7. Security Considerations
8. Backward Compatibility
9. Acknowledgements
1. Summary
This proposal introduces Falcon—the lattice‑based digital‑signature algorithm selected by NIST for standardisation—as a native cryptographic primitive on BNB Chain.
The roadmap is deliberately staged:
2. Status
Draft
3. Motivation
4. Scope & Approach
4.1 Phase 1 – Falcon Verification Precompile
0x0000…0falc(final nibble open for bikeshedding)falcon_verify(uint8 mode, bytes pubkey, bytes sig, bytes msg)0= Falcon‑512,1= Falcon‑1024Base 1 500 + 6 × ⌈msg.length/32⌉(benchmarked in geth; ≈1 800 gas for 32‑B digest)Rationale: The formula mirrors EIP‑7619 (Falcon‑512 precompile) and falls well below
ecrecover(3 000 gas), encouraging adoption while reflecting heavier computation.4.2 Phase 2 – Falcon‑Secured Voting
falcon_sigfield; tallying uses the precompile.5. Technical Specification (Phase 1)
Encoding: Use the compressed representations specified in the upcoming FIPS‑206 (FN‑DSA) draft.
6. Implementation Notes
go‑bncvia cgo; expose Go bindings matching the ABI above.7. Security Considerations
8. Backward Compatibility
The precompile is additive; existing contracts and wallets remain unaffected. Validators can opt‑in to PQ voting without forfeiting ECDSA capability.
9. Acknowledgements
Inspired by: