Files
v2fly/external/github.com/lucas-clemente/quic-go/internal/crypto/AEAD.go
T

11 lines
403 B
Go

package crypto
import "v2ray.com/core/external/github.com/lucas-clemente/quic-go/internal/protocol"
// An AEAD implements QUIC's authenticated encryption and associated data
type AEAD interface {
Open(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) ([]byte, error)
Seal(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) []byte
Overhead() int
}