Repository navigation
Conversation
prasden
force-pushed
the
doc-rand-restore-guidance
branch
from
December 3, 2026 22:20
773081b to
41c9419
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3884 +/- ##
==========================================
+ Coverage 78.78% 79.00% +0.21%
==========================================
Files 716 715 -1
Lines 135508 135399 -109
Branches 19530 19533 +3
==========================================
+ Hits 106766 106970 +204
+ Misses 27698 27383 -315
- Partials 1044 1046 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
samuel40791765
previously approved these changes
Dec 4, 2026
Contributor
|
🔒 Security Review — View Report Please review before merging. |
justsmth
reviewed
Dec 4, 2026
prasden
enabled auto-merge (squash)
December 4, 2026 19:57
justsmth
approved these changes
Dec 4, 2026
samuel40791765
approved these changes
Dec 4, 2026
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.
Context and motivation
AWS-LC detects a VM snapshot restore only through SysGenID. If an application restores its own process from a snapshot on a platform without SysGenID, each copy continues from the same DRBG state.
Description of changes
The
RAND_bytes_with_user_prediction_resistancecomment tells the application to call it after each restore, from every thread, with fresh OS entropy. TheRAND_pollcomment says that it is a no-op and does not reseed.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.