Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewGCMWithTagSize (0.27 sec)

  1. src/crypto/cipher/gcm.go

    // [NewGCM], which is faster and more resistant to misuse.
    func NewGCMWithNonceSize(cipher Block, size int) (AEAD, error) {
    	return newGCMWithNonceAndTagSize(cipher, size, gcmTagSize)
    }
    
    // NewGCMWithTagSize returns the given 128-bit, block cipher wrapped in Galois
    // Counter Mode, which generates tags with the given length.
    //
    // Tag sizes between 12 and 16 bytes are allowed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/crypto/internal/boring/aes.go

    	if nonceSize != gcmStandardNonceSize {
    		return cipher.NewGCMWithNonceSize(&noGCM{c}, nonceSize)
    	}
    	if tagSize != gcmTagSize {
    		return cipher.NewGCMWithTagSize(&noGCM{c}, tagSize)
    	}
    	return c.newGCM(false)
    }
    
    func NewGCMTLS(c cipher.Block) (cipher.AEAD, error) {
    	return c.(*aesCipher).newGCM(true)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NewCBCEncrypter", Func, 0},
    		{"NewCFBDecrypter", Func, 0},
    		{"NewCFBEncrypter", Func, 0},
    		{"NewCTR", Func, 0},
    		{"NewGCM", Func, 2},
    		{"NewGCMWithNonceSize", Func, 5},
    		{"NewGCMWithTagSize", Func, 11},
    		{"NewOFB", Func, 0},
    		{"Stream", Type, 0},
    		{"StreamReader", Type, 0},
    		{"StreamReader.R", Field, 0},
    		{"StreamReader.S", Field, 0},
    		{"StreamWriter", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top