Skip to content

Conversation

@biryukovmaxim
Copy link
Collaborator

@biryukovmaxim biryukovmaxim commented Nov 15, 2025

This PR introduces full support for Falcon-512 (padded) signatures in the UTXO and script verification layers.

build fails in wasm. maybe we can replact the impl for wasm:
https://github.com/partylikeits1983/falcon512-stm32/tree/main/falcon-wasm

wasm build will be fixed when i add support of wasm-unknown-unknown into pqcrypto repo. local fork works fine if i statically include wasm32-unknown-unknown-openbsd-libc

@biryukovmaxim biryukovmaxim changed the title Add Falcon signature support to txscript Add PQ signature scheme(Falcon512Padded) support to txscript Nov 15, 2025
@michaelsutton
Copy link
Contributor

I understand this is a long-shot PR, but why not price a Falcon sig as N sigops? (say, 5 usual sigops). It seems redundant to add a new field

@biryukovmaxim
Copy link
Collaborator Author

biryukovmaxim commented Nov 25, 2025

I understand this is a long-shot PR, but why not price a Falcon sig as N sigops? (say, 5 usual sigops). It seems redundant to add a new field

Makes sense. I initially was thinking that it would lead to u8 overflow at tx level

@biryukovmaxim
Copy link
Collaborator Author

corresponding pr rustpq/pqcrypto#94

# Conflicts:
#	consensus/src/processes/transaction_validator/tx_validation_in_utxo_context.rs
#	crypto/txscript/examples/kip-10.rs
#	crypto/txscript/src/lib.rs
#	crypto/txscript/src/opcodes/mod.rs
#	crypto/txscript/src/runtime_sig_op_counter.rs
#	crypto/txscript/src/standard/multisig.rs
#	wallet/pskt/src/pskt.rs
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.

2 participants