Skip to content

Release zcash_note_encryption version 0.4.2 - #14

Merged
nuttycom merged 3 commits into
mainfrom
release/0.4.2
Jul 11, 2026
Merged

Release zcash_note_encryption version 0.4.2#14
nuttycom merged 3 commits into
mainfrom
release/0.4.2

Conversation

@nuttycom

Copy link
Copy Markdown
Contributor

No description provided.

LukasKorba and others added 3 commits July 11, 2026 04:34
…ent hook

Trial decryption computes ka_agree_dec for many ephemeral keys against
the same incoming viewing key. For domains where same-scalar
multiplications can share work (for example, lockstep ladders over a
shared batched field inversion), this dominates the cost of batched
trial decryption, but the per-item Domain::ka_agree_dec interface gives
implementations no opportunity to exploit it.

This adds a provided BatchDomain method that computes the agreements
for a whole batch against one viewing key, defaulting to the per-item
computation, and routes the batch module's shared-secret derivation
through it (one call per viewing key, preserving the output-major
order the downstream batch KDF expects). Existing BatchDomain
implementations are unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@dannywillems dannywillems left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@nuttycom
nuttycom marked this pull request as draft July 11, 2026 11:21
@nuttycom

Copy link
Copy Markdown
Contributor Author

This PR will be merged to main manually.

@nuttycom
nuttycom merged commit 40b73b1 into main Jul 11, 2026
25 checks passed
@nuttycom
nuttycom deleted the release/0.4.2 branch July 11, 2026 11:26
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