Skip to content

Update to &[&[u8]] messages #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

daxpedda
Copy link
Contributor

@daxpedda daxpedda commented Jun 1, 2025

Just showing off RustCrypto/traits#1880. The current plan is to move this to a separate trait, which I'm, as of yet, unsure how it will integrate into ed25519-dalek.

@daxpedda
Copy link
Contributor Author

daxpedda commented Jun 1, 2025

So the new trait, MultiPartSigner and MultiPartVerifier (see RustCrypto/traits#1880), would still require all internal functions to take a &[&[u8]] message.

In any case, I think this PR showed that doing that shouldn't be a problem. I will go ahead and re-open this when we are ready to upgrade to the new RustCrypto versions and after #735 is in. Maybe MultiPartSigner/Verifier will be built on top of the streaming API.

@tarcieri
Copy link
Contributor

tarcieri commented Jun 2, 2025

@daxpedda you should be able to prototype on top of #676

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