Use built-in Camellia in krb5 integration patch; fix CTS doc label#3349
Open
WillChilds-Klein wants to merge 3 commits into
Open
Use built-in Camellia in krb5 integration patch; fix CTS doc label#3349WillChilds-Klein wants to merge 3 commits into
WillChilds-Klein wants to merge 3 commits into
Conversation
Rework the krb5 integration patchset per maintainer guidance in krb5/krb5#1533 (comment): select krb5's built-in Camellia (K5_BUILTIN_CAMELLIA) when building against AWS-LC instead of disabling the Camellia enctypes. The built-in sources are always compiled on Unix, so all Camellia enctypes and CMAC checksums stay functional and the crypto test suite needs no edits. This also drops the camellia-expect-vt.txt golden-file workaround from the integration script. Also fix the CBC-CS doc comment in modes.h: label the CTS helpers as CS3 / NIST SP 800-38A Addendum (matching crypto/cipher_extra/cts.c) rather than the incorrect CS1 / RFC 2040.
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:36 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 15, 2026 20:37 — with
GitHub Actions
Inactive
Contributor
|
🔒 Security Review — View Report Please review before merging. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3349 +/- ##
==========================================
- Coverage 78.19% 78.19% -0.01%
==========================================
Files 695 695
Lines 124086 124086
Branches 17222 17232 +10
==========================================
- Hits 97035 97023 -12
- Misses 26129 26142 +13
+ Partials 922 921 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:48 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
temporarily deployed
to
auto-approve
July 16, 2026 16:49 — with
GitHub Actions
Inactive
WillChilds-Klein
marked this pull request as ready for review
July 16, 2026 16:50
WillChilds-Klein
enabled auto-merge (squash)
July 16, 2026 16:50
justsmth
approved these changes
Jul 17, 2026
samuel40791765
approved these changes
Jul 17, 2026
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.
Description of changes
The krb5 maintainers reviewed the upstream version of this patchset and suggested a cleaner approach for Camellia (krb5/krb5#1533 comment): rather than disabling the Camellia enctypes when building against AWS-LC (which lacks Camellia), select krb5's own built-in Camellia implementation.
0002is now a 5-line change incrypto_int.h:The other two patches are unchanged.
Testing
The krb5 integration test (
run_krb5_integration.sh) exercises these patches end-to-end; Camellia enctypes are now covered bymake checkrather than skipped.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.