forked from quic-go/quic-go
simplify AEAD.Seal
This commit is contained in:
@@ -8,5 +8,5 @@ import (
|
||||
// An AEAD implements QUIC's authenticated encryption and associated data
|
||||
type AEAD interface {
|
||||
Open(associatedData []byte, ciphertext io.Reader) (*bytes.Reader, error)
|
||||
Seal(b *bytes.Buffer, associatedData []byte, r *bytes.Reader)
|
||||
Seal(b *bytes.Buffer, associatedData []byte, plaintext []byte)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user