-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from sehlen-bsi/audit/autoupdate
🤖 Audit: Auto-update with latest upstream patches
- Loading branch information
Showing
5 changed files
with
102 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
29 changes: 29 additions & 0 deletions
29
docs/audit_report/changes/topics/side_channel_mitigation.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
title: Side Channel Mitigations | ||
|
||
patches: | ||
# Add CT::value_barrier (@randombit) | ||
- pr: 4096 # https://github.com/randombit/botan/pull/4096 | ||
merge_commit: bf8bbee83f87b29592fce5c30bc96c90126ae35b | ||
classification: critical | ||
comment: | | ||
This introduces a new helper function aiming to prevent the compiler from | ||
reasoning about the value or the set of possible values of a variable. | ||
# Mitigate a potential side-channel in Kyber (@reneme) | ||
- pr: 4107 # https://github.com/randombit/botan/pull/4107 | ||
merge_commit: 7ef549fe0394006f3a44616d67948db2f1db95b0 | ||
classification: critical | ||
comment: | | ||
This mitigates a potential side-channel in the Kyber implementation where | ||
Clang could introduce a secret-dependant conditional branch. This was | ||
`found by PQShield <https://pqshield.com/pqshield-plugs-timing-leaks-in-kyber-ml-kem-to-improve-pqc-implementation-maturity>`_. | ||
# Use CT::Mask instead of multiplication in polynomial doubling (@randombit) | ||
- pr: 4108 # https://github.com/randombit/botan/pull/4108 | ||
merge_commit: 4ed0feec31f7c5a8851a5fd4347a38aa7cb3a1ac | ||
classification: relevant | ||
|
||
# Add CT::Choice (@randombit) | ||
- pr: 4115 # https://github.com/randombit/botan/pull/4115 | ||
merge_commit: 927aab815ff3ffec3ef011eaf4b35cc13c0ba295 | ||
classification: relevant |