Skip to content

ssh-cipher: impl AeadInOut for ChaCha20Poly1305#370

Merged
tarcieri merged 1 commit into
masterfrom
ssh-cipher/chacha20poly1305-inout
Jun 2, 2025
Merged

ssh-cipher: impl AeadInOut for ChaCha20Poly1305#370
tarcieri merged 1 commit into
masterfrom
ssh-cipher/chacha20poly1305-inout

Conversation

@tarcieri
Copy link
Copy Markdown
Member

@tarcieri tarcieri commented Jun 2, 2025

Replaces the inherent method-based API with an AeadInOut trait impl.

AAD is supported up to lengths of 16 (i.e. the Poly1305 block size).

This is sufficient to cover the relevant use cases for OpenSSH, which are empty AAD or AAD with a length of 4 (i.e. encrypted uint32 length).

Replaces the inherent method-based API with an `AeadInOut` trait impl.

AAD is supported up to lengths of 16 (i.e. the Poly1305 block size).

This is sufficient to cover the relevant use cases for OpenSSH, which
are empty AAD or AAD with a length of 4 (i.e. encrypted `uint32`
length).
@tarcieri tarcieri merged commit 032ec19 into master Jun 2, 2025
20 checks passed
@tarcieri tarcieri deleted the ssh-cipher/chacha20poly1305-inout branch June 2, 2025 16:45
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.

1 participant