Skip to content

Reorder reading algorithm and data arguments#50

Merged
panva merged 1 commit into
mainfrom
reorder-reading-args
Feb 26, 2026
Merged

Reorder reading algorithm and data arguments#50
panva merged 1 commit into
mainfrom
reorder-reading-args

Conversation

@twiss
Copy link
Copy Markdown
Collaborator

@twiss twiss commented Feb 12, 2026

Read and normalize the algorithm argument(s) before copying the bytes held by data arguments, to enable avoiding the copy if the operation is performed on the same thread (which is currently not possible because the algorithm object getters may modify the data).

To be merged after w3c/webcrypto#426.


Preview | Diff

Read and normalize the algorithm argument(s) before copying the bytes
held by data arguments, to enable avoiding the copy if the operation
is performed on the same thread (which is currently not possible
because the algorithm object getters may modify the data).
@twiss twiss marked this pull request as ready for review February 26, 2026 14:05
@twiss twiss requested a review from panva February 26, 2026 14:05
@panva panva merged commit ae72ee6 into main Feb 26, 2026
2 checks passed
@twiss twiss deleted the reorder-reading-args branch February 26, 2026 14:11
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