Skip to content

Feat: Core AEAD Cipher Split - #120

Draft
officialfrancismendoza wants to merge 5 commits into
bcgit:feature/xof-cshakefrom
officialfrancismendoza:feature/officialfrancismendoza/119-core-aead-cipher
Draft

officialfrancismendoza wants to merge 5 commits into
bcgit:feature/xof-cshakefrom
officialfrancismendoza:feature/officialfrancismendoza/119-core-aead-cipher

Conversation

@officialfrancismendoza

Copy link
Copy Markdown
Contributor

Implements core AEAD cipher split (#119), built off of bcgit/feature/symmetric-cipher. Implements AEADCipherEncryptor and AEADCipherDecryptor, as well as cherry-picks commits from ASCON (#22) so that ASCON is compatible.

@officialfrancismendoza officialfrancismendoza self-assigned this Sep 8, 2026
@officialfrancismendoza
officialfrancismendoza changed the base branch from main to release/0.1.3alpha September 8, 2026 11:59
@ounsworth
ounsworth self-requested a review September 8, 2026 17:03
ounsworth

This comment was marked as outdated.

@ounsworth ounsworth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Holy crap. This is a 13,000 line PR. That's an insane amount of code to review.

It looks like this PR is bringing (at least) to other PRs with it? What is the actual change here?

I suggest that you either change the merge target to point to another currently-open PR so that the diff to review is smaller (and we can merge this into the other PR), or maybe hold off on this for now and we should focus out effort on reviewing and merging the other PRs first?

@officialfrancismendoza
officialfrancismendoza changed the base branch from release/0.1.3alpha to feature/symmetric-cipher September 8, 2026 17:07
@officialfrancismendoza
officialfrancismendoza changed the base branch from feature/symmetric-cipher to feature/officialfrancismendoza/ascon September 8, 2026 17:07
@officialfrancismendoza
officialfrancismendoza force-pushed the feature/officialfrancismendoza/119-core-aead-cipher branch from 7471ef2 to 01c3e6f Compare September 9, 2026 08:35
@dghgit
dghgit changed the base branch from feature/officialfrancismendoza/ascon to feature/symmetric-cipher September 9, 2026 11:14
@officialfrancismendoza
officialfrancismendoza force-pushed the feature/officialfrancismendoza/119-core-aead-cipher branch from 01c3e6f to aa209a9 Compare September 9, 2026 17:24
@dghgit

dghgit commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Yes, github failed to base it correctly. It's now just the split and ASCON.

Note: ASCON includes an XOF/Digest as well, so #118 is also relevant here - this PR will be blocked from merging by #118.

@ounsworth
ounsworth marked this pull request as draft September 16, 2026 02:54
…in update_out_len and a FINAL_LEN final buffer so a buffering cipher or an inline ciphertext||tag layout can be expressed; TaggedEncryptor/TaggedDecryptor adapt any FINAL_LEN=0 pair to the SimpleCipherEncryptor/SimpleCipherDecryptor ciphertext||tag shape; the block, simple-cipher and AEAD strength sweeps assert they are not vacuous, and the AEAD streaming suite gains a genuinely-buffering toy plus undersized-buffer and std-one-shot coverage
…XOF128/CXOF128) implementing AEADCipherEncryptor/AEADCipherDecryptor via AsconAead128Encryptor/AsconAead128Decryptor, with HashFactory/XOFFactory registration and CLI wiring including a TaggedDecryptor-based decrypt stream
…OF/XOFSqueezer API and updated factory/CLI/tests/benches to compile against the new API (bcgit#119)
@officialfrancismendoza
officialfrancismendoza force-pushed the feature/officialfrancismendoza/119-core-aead-cipher branch from 5ba4350 to 2c479f4 Compare September 17, 2026 13:38
@officialfrancismendoza

Copy link
Copy Markdown
Contributor Author

As per @dghgit request, retargeting to merge into #118, rebased on that branch, and updated code accordingly. This PR contains the most recent form of ASCON that utilizes the new AEADCipherEncryptor/Decryptor. Hence, #22 will be closed in favor of this one.

@officialfrancismendoza
officialfrancismendoza marked this pull request as ready for review September 17, 2026 13:46
@dghgit
dghgit changed the base branch from feature/symmetric-cipher to feature/xof-cshake September 18, 2026 04:05

@dghgit dghgit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See sent Fable report. Looks good mostly though, just a bit further to go.

@officialfrancismendoza
officialfrancismendoza marked this pull request as draft September 18, 2026 06:48
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