- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NonceSize (0.09 sec)
-
lib/fips140/v1.0.0.zip
//go:noinline func newGCM(g *GCM, cipher *aes.Block, nonceSize, tagSize int) (*GCM, error) { if tagSize < gcmMinimumTagSize || tagSize > gcmBlockSize { return nil, errors.New("cipher: incorrect tag size given to GCM") } if nonceSize <= 0 { return nil, errors.New("cipher: the nonce can't have zero length") } if cipher.BlockSize() != gcmBlockSize { return nil, errors.New("cipher: NewGCM requires 128-bit block cipher") } g.cipher = *cipher g.nonceSize = nonceSize g.tagSize = tagSize initGCM(g) return g, nil...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0) -
api/go1.2.txt
pkg crypto, type PublicKey interface {} pkg crypto/cipher, func NewGCM(Block) (AEAD, error) pkg crypto/cipher, type AEAD interface { NonceSize, Open, Overhead, Seal } pkg crypto/cipher, type AEAD interface, NonceSize() int pkg crypto/cipher, type AEAD interface, Open([]uint8, []uint8, []uint8, []uint8) ([]uint8, error) pkg crypto/cipher, type AEAD interface, Overhead() intRegistered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (1)