Skip to content

[FEAT] Implement hEEA method to accelerate signature verification #200

Open
zz-sol wants to merge 14 commits intoZcashFoundation:mainfrom
zz-sol:zz/impl_size_halving_verify
Open

[FEAT] Implement hEEA method to accelerate signature verification #200
zz-sol wants to merge 14 commits intoZcashFoundation:mainfrom
zz-sol:zz/impl_size_halving_verify

Conversation

@zz-sol
Copy link
Copy Markdown

@zz-sol zz-sol commented Dec 7, 2025

Joint work with @samkim-crypto.

This PR implements the HEEA verification method in "Accelerating EdDSA Signature Verification with Faster Scalar Size Halving" (TCHES 2025).

It implements a new verification API verify_heea which mimiks the exact behaviour of Zebra's verify but using hEEA to accelerate the multiplications.

Cross ref: dalek-cryptography/curve25519-dalek#856

Benched on a MBP M4ProMax

Single Verification/ed25519_zebra
                        time:   [17.196 µs 17.246 µs 17.298 µs]
                        
Single Verification/ed25519_hEEA
                        time:   [14.449 µs 14.490 µs 14.534 µs]

@natalieesk
Copy link
Copy Markdown

Thanks for this, we'll take a look

@zz-sol
Copy link
Copy Markdown
Author

zz-sol commented Jan 13, 2026

Hi gently ping to see if there is any updates on this PR? (Know you guys are going through some changes. if there is a different code base I should send this PR to, please LMK)

@mpguerra mpguerra requested a review from upbqdn January 19, 2026 11:19
@conradoplg
Copy link
Copy Markdown
Contributor

I see you're getting great feedback in dalek-cryptography/curve25519-dalek#856 which will probably apply here, so I'm inclined to wait until it merges there. I will try to help review it there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants