Repository navigation
refactor(qruov): use liboqs common AES backend - #2642
Open
0rlych1kk4 wants to merge 2 commits into
Open
0rlych1kk4 wants to merge 2 commits into
0rlych1kk4 wants to merge 2 commits into
Conversation
0rlych1kk4
requested review from
baentsch,
dstebila and
xuganyu96
as code owners
October 22, 2026 15:31
Signed-off-by: 0rlych1kk4 <orlychikka@gmail.com>
Signed-off-by: 0rlych1kk4 <orlychikka@gmail.com>
0rlych1kk4
force-pushed
the
fix/qruov-common-aes-backend
branch
from
October 22, 2026 15:51
dd17b0a to
dc2eb53
Compare
This was referenced Oct 23, 2026
Contributor
Author
|
Hi @baentsch the QR-UOV common AES consolidation is ready for review. All 73 CI checks are passing, including the upstream regeneration and DCO checks. I also verified that all 30 QR-UOV KATs match the existing reference hashes on AMD64. When you have a chance, could you please take a look? Thanks. |
This branch has not been deployed
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.
Summary
Consolidate QR-UOV's AES-128 CTR implementation with the existing liboqs common AES backend, removing the QR-UOV-specific AES-NI implementation while preserving the optimized AVX2 signature implementation.
This addresses #2636.
Changes
OQS_AES128_CTR_inc_initOQS_AES128_CTR_inc_stream_ivOQS_AES128_free_schedulesrc/sig/qruov/qruov_qruov_avx2/x86aesni.candx86aesni.h.prim.c,prim.h, andnamespace.hto use the common AES backend.qruov-common-aes.patchinscripts/copy_from_upstream/copy_from_upstream.ymlto preserve the changes during upstream source regeneration.Validation
macOS ARM64
Linux AMD64 (Docker, GCC 13.3.0)
OQS_DIST_BUILD=ONandOQS_USE_OPENSSL=OFF.tests/test_aespassed using the liboqs AES-NI backend.tests/test_sig QRUOV-1q7L10-aespassed.tests/KATs/sig/kats.json.Upstream regeneration
Compatibility
Testing and CI
This is a backend consolidation rather than a new feature. It uses the existing liboqs AES correctness tests, signature tests, and deterministic KAT infrastructure. No additional CI workflow is introduced in this PR.
Generative AI disclosure
Generative AI assistance was used to draft and refine the PR documentation. The technical changes and validation results were reviewed and verified by the contributor.
Closes #2636.