- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SetNoncePrefixAndMas (0.26 sec)
-
lib/fips140/v1.1.0-rc1.zip
mask // is provided here only to allow Seal to enforce that the counter is strictly // increasing. func (g *GCMWithXORCounterNon) SetNoncePrefixAndMas(nonce []byte) error { if len(nonce) != gcmStandardNonceSize { return errors.New("crypto/cipher: incorrect nonce length given to SetNoncePrefixAndMas") } if g.ready { return errors.New("crypto/cipher: SetNoncePrefixAndMas called twice or after first Seal") } g.prefix = byteorder.BEUint32(nonce[:4]) g.mask = byteorder.BEUint64(nonce[4:]) g.ready = true...
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Dec 11 16:27:41 UTC 2025 - 663K bytes - Viewed (0)