- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for counterBlock (0.18 sec)
-
src/crypto/aes/gcm_ppc64x.go
counterCryptASM(int(g.cipher.l)/4-1, out, in, counter, &g.cipher.enc[0]) } // increments the rightmost 32-bits of the count value by 1. func gcmInc32(counterBlock *[16]byte) { c := counterBlock[len(counterBlock)-4:] x := byteorder.BeUint32(c) + 1 byteorder.BePutUint32(c, x) } // paddedGHASH pads data with zeroes until its length is a multiple of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 6.4K bytes - Viewed (0) -
src/crypto/cipher/gcm.go
copy(partialBlock[:], data[fullBlocks:]) g.updateBlocks(y, partialBlock[:]) } } // gcmInc32 treats the final four bytes of counterBlock as a big-endian value // and increments it. func gcmInc32(counterBlock *[16]byte) { ctr := counterBlock[len(counterBlock)-4:] byteorder.BePutUint32(ctr, byteorder.BeUint32(ctr)+1) } // sliceForAppend takes a slice and a requested number of bytes. It returns a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 13.7K bytes - Viewed (0)