- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for counterBlock (0.07 sec)
-
lib/fips140/v1.0.0.zip
src[gcmBlockSize:] } if len(src) > 0 { aes.EncryptBlockInternal(b, mask[:], counter[:]) gcmInc32(counter) subtle.XORBytes(out, src, mask[:]) } } // gcmInc32 treats the final four bytes of counterBlock as a big-endian value // and increments it. func gcmInc32(counterBlock *[gcmBlockSize]byte) { ctr := counterBlock[len(counterBlock)-4:] byteorder.BEPutUint32(ctr, byteorder.BEUint32(ctr)+1) } // gcmAuthGeneric calculates GHASH(additionalData, ciphertext), masks the result // with tagMask and writes the result...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)