Skip to content

Use sequence number for nonce in GCM ciphers#796

Merged
theodorsm merged 1 commit intomasterfrom
theodorsm/gcm_sequence_fix
Feb 10, 2026
Merged

Use sequence number for nonce in GCM ciphers#796
theodorsm merged 1 commit intomasterfrom
theodorsm/gcm_sequence_fix

Conversation

@theodorsm
Copy link
Copy Markdown
Member

Description

This PR implements best practices for nonce generation in GCM ciphers outlined in RFC 9325 section 7.2.1

@theodorsm theodorsm requested a review from JoTurk February 10, 2026 19:50
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.20%. Comparing base (46ee7c3) to head (4dcedda).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #796      +/-   ##
==========================================
+ Coverage   82.18%   82.20%   +0.01%     
==========================================
  Files         111      111              
  Lines        6490     6489       -1     
==========================================
  Hits         5334     5334              
+ Misses        759      758       -1     
  Partials      397      397              
Flag Coverage Δ
go 82.20% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@JoTurk JoTurk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@theodorsm theodorsm merged commit 61762de into master Feb 10, 2026
27 of 29 checks passed
@theodorsm theodorsm deleted the theodorsm/gcm_sequence_fix branch February 10, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants