github.com/cilium/cilium@v1.16.2/pkg/datapath/fake/ipsec.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Cilium 3 4 package fake 5 6 import ( 7 "github.com/cilium/cilium/pkg/datapath/types" 8 ) 9 10 type ipsecKeyCustodian struct{} 11 12 // AuthKeySize implements types.IPsecKeyCustodian. 13 func (*ipsecKeyCustodian) AuthKeySize() int { 14 return 256 // vaguely probable. 15 } 16 17 // SPI implements types.IPsecKeyCustodian. 18 func (*ipsecKeyCustodian) SPI() uint8 { 19 return 4 20 } 21 22 // StartBackgroundJobs implements types.IPsecKeyCustodian. 23 func (*ipsecKeyCustodian) StartBackgroundJobs(types.NodeHandler) error { 24 return nil 25 } 26 27 var _ types.IPsecKeyCustodian = &ipsecKeyCustodian{}