Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for partialBlock (0.09 sec)

  1. src/crypto/cipher/gcm.go

    func (g *gcm) update(y *gcmFieldElement, data []byte) {
    	fullBlocks := (len(data) >> 4) << 4
    	g.updateBlocks(y, data[:fullBlocks])
    
    	if len(data) != fullBlocks {
    		var partialBlock [gcmBlockSize]byte
    		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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top