- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for SetNoncePrefixAndMas (0.14 seconds)
-
lib/fips140/v1.26.0.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...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)