Searched defs:xorNonceAEAD (Results 1 – 1 of 1) sorted by relevance
282 type xorNonceAEAD struct { struct286 sealNonce, openNonce []byte287 aead cipher.AEAD290 func (x *xorNonceAEAD) NonceSize() int { return 8 }291 func (x *xorNonceAEAD) Overhead() int { return x.aead.Overhead() }293 func (x *xorNonceAEAD) Seal(out, nonce, plaintext, additionalData []byte) []byte {300 func (x *xorNonceAEAD) Open(out, nonce, plaintext, additionalData []byte) ([]byte, error) {