Skip to content

Conversation

@baloo
Copy link
Member

@baloo baloo commented Mar 17, 2025

part of #665

@baloo baloo mentioned this pull request Mar 17, 2025
@baloo
Copy link
Member Author

baloo commented Mar 17, 2025

The inout bits gets tested in fef7771

@sebastinas
Copy link
Contributor

What is the benefit of this? How does it compare in overhead to u8 slices?

@newpavlov
Copy link
Member

newpavlov commented Mar 23, 2025

It allows us to use disjoint buffers for plaintext and ciphertext, which allows us to remove unnecessary copies in some cases. As for overhead, in the worst case compiler would have to keep track of one additional destination pointer, but in most cases compiler should see that source and destination pointers are the same.

@sebastinas
Copy link
Contributor

ascon-aead will be maintained elsewhere going forward.

@sebastinas sebastinas closed this Mar 23, 2025
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