In NIST SP 800-38D, section 6.5 GCTR Function:
Algorithm 3: GCTR K (ICB, X)
- For i = 2 to n, let CB i = inc 32 (CB i-1 ).
But libgcrypt implementation doesn't compute inc32 correctly.
In NIST SP 800-38D, section 6.5 GCTR Function:
Algorithm 3: GCTR K (ICB, X)
- For i = 2 to n, let CB i = inc 32 (CB i-1 ).
But libgcrypt implementation doesn't compute inc32 correctly.
rC libgcrypt | |||
rC0a391b259adc Fix incorrect counter overflow handling for GCM | |||
rC3caf35a49cb6 Fix incorrect counter overflow handling for GCM | |||
rCffdc6f3623a0 Fix incorrect counter overflow handling for GCM |
I backported the fix for 1.8.3.
( I wonder why this does not show up here - because of the cherry-pick with option -x?)