Home
last modified time | relevance | path

Searched refs:IkeSaSession (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DSa.c35 IN IKEV2_SA_SESSION *IkeSaSession
50 IN IKEV2_SA_SESSION *IkeSaSession,
87 IKEV2_SA_SESSION *IkeSaSession; in Ikev2InitPskGenerator() local
99 IkeSaSession = (IKEV2_SA_SESSION *) SaSession; in Ikev2InitPskGenerator()
113 IkePacket->Header->InitiatorCookie = IkeSaSession->InitiatorCookie; in Ikev2InitPskGenerator()
114 IkePacket->Header->ResponderCookie = IkeSaSession->ResponderCookie; in Ikev2InitPskGenerator()
118 if (IkeSaSession->SessionCommon.IsInitiator) { in Ikev2InitPskGenerator()
128 if (IkeSaSession->NCookie != NULL) { in Ikev2InitPskGenerator()
136 IkeSaSession->NCookie, in Ikev2InitPskGenerator()
137 IkeSaSession->NCookieSize in Ikev2InitPskGenerator()
[all …]
DExchange.c44 IKEV2_SA_SESSION *IkeSaSession; in Ikev2NegotiateSa() local
62 IkeSaSession = Ikev2SaSessionLookup (&Private->Ikev2SessionList, RemoteIp); in Ikev2NegotiateSa()
63 if (IkeSaSession != NULL) { in Ikev2NegotiateSa()
73 IkeSaSession = Ikev2SaSessionAlloc (Private, UdpService); in Ikev2NegotiateSa()
74 if (IkeSaSession == NULL) { in Ikev2NegotiateSa()
81 IkeSaSession->Spd = SpdEntry; in Ikev2NegotiateSa()
82 IkeSaSession->Pad = PadEntry; in Ikev2NegotiateSa()
83 SessionCommon = &IkeSaSession->SessionCommon; in Ikev2NegotiateSa()
109 IkeSaSession->SaData = Ikev2InitializeSaData (SessionCommon); in Ikev2NegotiateSa()
110 if (IkeSaSession->SaData == NULL) { in Ikev2NegotiateSa()
[all …]
DInfo.c41 IKEV2_SA_SESSION *IkeSaSession; in Ikev2InfoGenerator() local
48 IkeSaSession = (IKEV2_SA_SESSION *) SaSession; in Ikev2InfoGenerator()
71 IkePacket->Header->InitiatorCookie = IkeSaSession->InitiatorCookie; in Ikev2InfoGenerator()
72 IkePacket->Header->ResponderCookie = IkeSaSession->ResponderCookie; in Ikev2InfoGenerator()
84 if (IkeSaSession->SessionCommon.IkeSessionType == IkeSessionTypeIkeSa) { in Ikev2InfoGenerator()
86 IkePacket->Header->InitiatorCookie = IkeSaSession->InitiatorCookie; in Ikev2InfoGenerator()
87 IkePacket->Header->ResponderCookie = IkeSaSession->ResponderCookie; in Ikev2InfoGenerator()
96 IkePacket->Header->MessageId = IkeSaSession->MessageId; in Ikev2InfoGenerator()
97 Ikev2SaSessionIncreaseMessageId (IkeSaSession); in Ikev2InfoGenerator()
102 if (IkeSaSession->SessionCommon.State == IkeStateSaDeleting ) { in Ikev2InfoGenerator()
[all …]
DUtility.c57 IKEV2_SA_SESSION *IkeSaSession; in Ikev2SaSessionAlloc() local
59 IkeSaSession = AllocateZeroPool (sizeof (IKEV2_SA_SESSION)); in Ikev2SaSessionAlloc()
60 if (IkeSaSession == NULL) { in Ikev2SaSessionAlloc()
67 IkeSaSession->NCookie = NULL; in Ikev2SaSessionAlloc()
68 IkeSaSession->Signature = IKEV2_SA_SESSION_SIGNATURE; in Ikev2SaSessionAlloc()
69 IkeSaSession->InitiatorCookie = IkeGenerateCookie (); in Ikev2SaSessionAlloc()
70 IkeSaSession->ResponderCookie = 0; in Ikev2SaSessionAlloc()
76 IkeSaSession->MessageId = 2; in Ikev2SaSessionAlloc()
77 SessionCommon = &IkeSaSession->SessionCommon; in Ikev2SaSessionAlloc()
97 FreePool (IkeSaSession); in Ikev2SaSessionAlloc()
[all …]
DPayload.c161 IN OUT IKEV2_SA_SESSION *IkeSaSession, in Ikev2GenerateKePayload() argument
183 IkeKeys = IkeSaSession->IkeKeys; in Ikev2GenerateKePayload()
185 if (IkeSaSession->SessionCommon.IsInitiator) { in Ikev2GenerateKePayload()
201 Ke->DhGroup = IkeSaSession->SessionCommon.PreferDhGroup; in Ikev2GenerateKePayload()
391 IN IKEV2_SA_SESSION *IkeSaSession, in Ikev2PskGenerateAuthPayload() argument
426 DigestSize = IpSecGetHmacDigestLength ((UINT8)IkeSaSession->SessionCommon.SaParams->Prf); in Ikev2PskGenerateAuthPayload()
443 (UINT8)IkeSaSession->SessionCommon.SaParams->Prf, in Ikev2PskGenerateAuthPayload()
444 IkeSaSession->Pad->Data->AuthData, in Ikev2PskGenerateAuthPayload()
445 IkeSaSession->Pad->Data->AuthDataSize, in Ikev2PskGenerateAuthPayload()
473 if ((IkeSaSession->SessionCommon.IsInitiator && IsVerify) || in Ikev2PskGenerateAuthPayload()
[all …]
DChildSa.c38 IKEV2_SA_SESSION *IkeSaSession; in Ikev2CreateChildGenerator() local
69 IkePacket->Header->InitiatorCookie = ChildSaSession->IkeSaSession->InitiatorCookie; in Ikev2CreateChildGenerator()
70 IkePacket->Header->ResponderCookie = ChildSaSession->IkeSaSession->ResponderCookie; in Ikev2CreateChildGenerator()
83 IkeSaSession = (IKEV2_SA_SESSION *) SaSession; in Ikev2CreateChildGenerator()
87 IkePacket->Header->InitiatorCookie = IkeSaSession->InitiatorCookie; in Ikev2CreateChildGenerator()
88 IkePacket->Header->ResponderCookie = IkeSaSession->ResponderCookie; in Ikev2CreateChildGenerator()
93 IkePacket->Header->MessageId = IkeSaSession->MessageId; in Ikev2CreateChildGenerator()
96 if (IkeSaSession->SessionCommon.IsInitiator) { in Ikev2CreateChildGenerator()
DUtility.h55 IN IKEV2_SA_SESSION *IkeSaSession,
87 IN IKEV2_SA_SESSION *IkeSaSession,
117 IN IKEV2_SA_SESSION *IkeSaSession
139 IN IKEV2_SA_SESSION *IkeSaSession
162 IN IKEV2_SA_SESSION *IkeSaSession
178 IN IKEV2_SA_SESSION *IkeSaSession
312 IN IKEV2_SA_SESSION *IkeSaSession,
375 IN IKEV2_SA_SESSION *IkeSaSession,
572 IN IKEV2_SA_SESSION *IkeSaSession,
597 IN IKEV2_SA_SESSION *IkeSaSession,
[all …]
DIkev2.h193 IKEV2_SA_SESSION *IkeSaSession; member
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIkeCommon.c33 IN IKEV2_SA_SESSION *IkeSaSession, in IkeSpiValueExisted() argument
48 NET_LIST_FOR_EACH_SAFE (Entry, Next, &IkeSaSession->ChildSaEstablishSessionList) { in IkeSpiValueExisted()
58 NET_LIST_FOR_EACH_SAFE (Entry, Next, &IkeSaSession->ChildSaSessionList) { in IkeSpiValueExisted()
214 IN IKEV2_SA_SESSION *IkeSaSession, in IkeGenerateSpi() argument
244 if (!IkeSpiValueExisted (IkeSaSession, *SpiValue)) { in IkeGenerateSpi()
DIkeService.h64 IN UINT8 *IkeSaSession,
80 IN UINT8 *IkeSaSession,
DIkeService.c548 UINT8 *IkeSaSession; in IkeNegotiate() local
568 IkeSaSession = (UINT8 *) Ikev2SaSessionLookup (&Private->Ikev2EstablishedList, RemoteIp); in IkeNegotiate()
571 if (IkeSaSession == NULL) { in IkeNegotiate()
595 IkeVersion = IkeGetVersionFromSession (IkeSaSession); in IkeNegotiate()
604 Status = Exchange->NegotiateChildSa (IkeSaSession, SpdEntry, NULL); in IkeNegotiate()
DIkeCommon.h145 IN IKEV2_SA_SESSION *IkeSaSession,