Documentation ¶
Overview ¶
Only IPv4, Only tunnel, Only ESP, Only AES-128-CBC
Only IPv4, Only tunnel, Only ESP, Only AES-128-CBC
Index ¶
- Constants
- func Authenticate(AuthenticationPart [][]byte, where [][]byte, Z uint, context *VContext)
- func Decapsulation(currentPacket *packet.Packet, context flow.UserContext) bool
- func Encrypt(EncryptionPart [][]byte, where [][]byte, IV [][]byte, Z uint, ...)
- func InitSContext() interface{}
- func InitVContext() interface{}
- func ScalarEncapsulation(currentPacket *packet.Packet, context flow.UserContext) bool
- func VectorEncapsulation(currentPackets []*packet.Packet, mask *[32]bool, notDrop *[32]bool, ...)
- type SContext
- type SetIVer
- type SetIVerM
- type VContext
Constants ¶
View Source
const VECTOR = 8
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Decapsulation ¶
func Decapsulation(currentPacket *packet.Packet, context flow.UserContext) bool
General decapsulation
func InitSContext ¶
func InitSContext() interface{}
func InitVContext ¶
func InitVContext() interface{}
func ScalarEncapsulation ¶
func ScalarEncapsulation(currentPacket *packet.Packet, context flow.UserContext) bool
General encapsulation
func VectorEncapsulation ¶
func VectorEncapsulation(currentPackets []*packet.Packet, mask *[32]bool, notDrop *[32]bool, context flow.UserContext)
General encapsulation
Types ¶
Click to show internal directories.
Click to hide internal directories.