Part 2: aes-lowmemory: constant-time, table-free bit-sliced AES - #105
Open
dghgit wants to merge 6 commits into
Open
Part 2: aes-lowmemory: constant-time, table-free bit-sliced AES#105dghgit wants to merge 6 commits into
dghgit wants to merge 6 commits into
Conversation
hubot
force-pushed
the
feature/part1-block-cipher-split
branch
from
September 2, 2026 06:54
b770f56 to
7f0380f
Compare
hubot
force-pushed
the
feature/part2-aes-lowmemory
branch
from
September 2, 2026 06:54
f119c2a to
12ecfae
Compare
Contributor
|
I am starting a review of this PR as part of the 6-PR stack. Note: a 3,500 line PR will take me a number of days to read and form a mental picture of. |
dghgit
added a commit
that referenced
this pull request
Sep 6, 2026
…-free bit-sliced AES permutation (PR #105)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of 3, stacked on Part 1. Content is identical to #99 as reviewed and merged (commits
75789c9..f119c2a, by @officialfrancismendoza).crypto/aes-lowmemory(bouncycastle-aes-lowmemory): AES-128/192/256 as a raw keyed permutation, bit-sliced over eightu32planes with the 113-gate Boyar-Peralta S-box circuit -- no lookup tables, no secret-dependent branches or indexing, including in the key schedule.mem_usage_benches/bench_aes_mem_usage.ACVP-AES-ECBcases from bc-test-data.Deliberately ships no CLI, factory entry or cipher-trait impls: a bare permutation can only offer ECB. Those arrive with Part 3.