Searched refs:ChildSaSession (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
D | Utility.c | 513 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2ChildSaSessionAlloc() local 517 ChildSaSession = AllocateZeroPool (sizeof (IKEV2_CHILD_SA_SESSION)); in Ikev2ChildSaSessionAlloc() 518 if (ChildSaSession == NULL) { in Ikev2ChildSaSessionAlloc() 525 ChildSaSession->Signature = IKEV2_CHILD_SA_SESSION_SIGNATURE; in Ikev2ChildSaSessionAlloc() 526 ChildSaSession->IkeSaSession = IkeSaSession; in Ikev2ChildSaSessionAlloc() 527 ChildSaSession->MessageId = IkeSaSession->MessageId; in Ikev2ChildSaSessionAlloc() 532 Status = IkeGenerateSpi (IkeSaSession, &(ChildSaSession->LocalPeerSpi)); in Ikev2ChildSaSessionAlloc() 534 FreePool (ChildSaSession); in Ikev2ChildSaSessionAlloc() 538 ChildSaCommon = &ChildSaSession->SessionCommon; in Ikev2ChildSaSessionAlloc() 545 SaCommon = &ChildSaSession->IkeSaSession->SessionCommon; in Ikev2ChildSaSessionAlloc() [all …]
|
D | Sa.c | 66 IN IKEV2_CHILD_SA_SESSION *ChildSaSession, 441 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2AuthPskGenerator() local 445 …ChildSaSession = IKEV2_CHILD_SA_SESSION_BY_IKE_SA (GetFirstNode (&IkeSaSession->ChildSaSessionList… in Ikev2AuthPskGenerator() 472 if (ChildSaSession->SessionCommon.IsInitiator) { in Ikev2AuthPskGenerator() 509 ChildSaSession->IkeSaSession, in Ikev2AuthPskGenerator() 516 ChildSaSession->IkeSaSession, in Ikev2AuthPskGenerator() 523 ChildSaSession->IkeSaSession, in Ikev2AuthPskGenerator() 529 ChildSaSession->IkeSaSession, in Ikev2AuthPskGenerator() 548 ChildSaSession->SaData, in Ikev2AuthPskGenerator() 561 ChildSaSession, in Ikev2AuthPskGenerator() [all …]
|
D | Exchange.c | 174 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2NegotiateChildSa() local 192 ChildSaSession = Ikev2ChildSaSessionAlloc (UdpService, SaSession); in Ikev2NegotiateChildSa() 194 if (ChildSaSession == NULL) { in Ikev2NegotiateChildSa() 201 ChildSaSession->Spd = SpdEntry; in Ikev2NegotiateChildSa() 202 ChildSaCommon = &ChildSaSession->SessionCommon; in Ikev2NegotiateChildSa() 209 ChildSaSession->ProtoId = SpdEntry->Selector->NextLayerProtocol; in Ikev2NegotiateChildSa() 213 ChildSaSession->LocalPort = SpdEntry->Selector->LocalPort; in Ikev2NegotiateChildSa() 217 ChildSaSession->RemotePort = SpdEntry->Selector->RemotePort; in Ikev2NegotiateChildSa() 222 ChildSaSession->SaData = Ikev2InitializeSaData (ChildSaCommon); in Ikev2NegotiateChildSa() 223 if (ChildSaSession->SaData == NULL) { in Ikev2NegotiateChildSa() [all …]
|
D | Info.c | 42 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2InfoGenerator() local 140 ChildSaSession = (IKEV2_CHILD_SA_SESSION *) SaSession; in Ikev2InfoGenerator() 141 IkeSaSession = ChildSaSession->IkeSaSession; in Ikev2InfoGenerator() 142 IkePacket->Header->InitiatorCookie = ChildSaSession->IkeSaSession->InitiatorCookie; in Ikev2InfoGenerator() 143 IkePacket->Header->ResponderCookie = ChildSaSession->IkeSaSession->ResponderCookie; in Ikev2InfoGenerator() 152 IkePacket->Header->MessageId = ChildSaSession->IkeSaSession->MessageId; in Ikev2InfoGenerator() 157 ChildSaSession->IkeSaSession, in Ikev2InfoGenerator() 161 (UINT8 *)&ChildSaSession->LocalPeerSpi in Ikev2InfoGenerator() 173 IkePacket->Spi = ChildSaSession->LocalPeerSpi; in Ikev2InfoGenerator() 176 if (!ChildSaSession->SessionCommon.IsInitiator) { in Ikev2InfoGenerator() [all …]
|
D | ChildSa.c | 37 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2CreateChildGenerator() local 46 ChildSaSession = (IKEV2_CHILD_SA_SESSION *) SaSession; in Ikev2CreateChildGenerator() 47 if (ChildSaSession == NULL) { in Ikev2CreateChildGenerator() 65 if (ChildSaSession->SessionCommon.IkeSessionType == IkeSessionTypeChildSa) { in Ikev2CreateChildGenerator() 69 IkePacket->Header->InitiatorCookie = ChildSaSession->IkeSaSession->InitiatorCookie; in Ikev2CreateChildGenerator() 70 IkePacket->Header->ResponderCookie = ChildSaSession->IkeSaSession->ResponderCookie; in Ikev2CreateChildGenerator() 75 IkePacket->Header->MessageId = ChildSaSession->MessageId; in Ikev2CreateChildGenerator() 78 if (ChildSaSession->SessionCommon.IsInitiator) { in Ikev2CreateChildGenerator()
|
D | Utility.h | 192 IN IKEV2_CHILD_SA_SESSION *ChildSaSession, 239 IN IKEV2_CHILD_SA_SESSION *ChildSaSession 270 IN IKEV2_CHILD_SA_SESSION *ChildSaSession 281 IN IKEV2_CHILD_SA_SESSION *ChildSaSession 360 IN OUT IKEV2_CHILD_SA_SESSION *ChildSaSession 403 IN IKEV2_CHILD_SA_SESSION *ChildSaSession 1073 IN OUT IKEV2_CHILD_SA_SESSION *ChildSaSession, 1129 IN OUT IKEV2_CHILD_SA_SESSION *ChildSaSession
|
D | Payload.c | 2640 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2DecryptPacket() local 2672 ChildSaSession = IKEV2_CHILD_SA_SESSION_FROM_COMMON (SessionCommon); in Ikev2DecryptPacket() 2673 IkeSaSession = ChildSaSession->IkeSaSession; in Ikev2DecryptPacket() 2867 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2EncryptPacket() local 2897 ChildSaSession = IKEV2_CHILD_SA_SESSION_FROM_COMMON (SessionCommon); in Ikev2EncryptPacket() 2898 IkeSaSession = ChildSaSession->IkeSaSession; in Ikev2EncryptPacket() 3151 IKEV2_CHILD_SA_SESSION *ChildSaSession; in Ikev2OnPacketSent() local 3185 ChildSaSession = Ikev2ChildSaSessionLookupBySpi ( in Ikev2OnPacketSent() 3189 if (ChildSaSession != NULL) { in Ikev2OnPacketSent() 3192 ChildSaSession->LocalPeerSpi, in Ikev2OnPacketSent()
|