Searched defs:xorNonceAEAD (Results 1 – 1 of 1) sorted by relevance
270 type xorNonceAEAD struct { struct274 sealNonce, openNonce []byte275 aead cipher.AEAD278 func (x *xorNonceAEAD) NonceSize() int { return 8 }279 func (x *xorNonceAEAD) Overhead() int { return x.aead.Overhead() }281 func (x *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {288 func (x *xorNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {