You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace hard-coded GCM tag length with named constant
- Add GCM_STANDARD_TAG_SIZE constant (16 bytes) with NIST SP 800-38D reference
- Replace magic numbers in tag allocation and validation logic
- Update error message to use constant value for consistency
- Improves code maintainability and follows crypto best practices
Tested: GCM functionality preserved, no regressions
Resolves TODO comments about hard-coded GCM tag length values
0 commit comments