Home
last modified time | relevance | path

Searched refs:SaData (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
DIpSecConfigImpl.c1278 EFI_IPSEC_SA_DATA2 *SaData; in SetSadEntry() local
1284 SaData = (Data == NULL) ? NULL : (EFI_IPSEC_SA_DATA2 *) Data; in SetSadEntry()
1324 if (SaData == NULL || SaId == NULL) { in SetSadEntry()
1353 SadEntrySize += SaData->AlgoInfo.AhAlgoInfo.AuthKeyLength; in SetSadEntry()
1355 SadEntrySize = ALIGN_VARIABLE (SadEntrySize + SaData->AlgoInfo.EspAlgoInfo.AuthKeyLength); in SetSadEntry()
1356 SadEntrySize += ALIGN_VARIABLE (SaData->AlgoInfo.EspAlgoInfo.EncKeyLength); in SetSadEntry()
1359 if (SaData->SpdSelector != NULL) { in SetSadEntry()
1360 SadEntrySize += SadEntrySize + (UINTN)SIZE_OF_SPD_SELECTOR (SaData->SpdSelector); in SetSadEntry()
1376 SadEntry->Data->Mode = SaData->Mode; in SetSadEntry()
1377 SadEntry->Data->SequenceNumber = SaData->SNCount; in SetSadEntry()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DUtility.c447 if (IkeSaSession->SaData != NULL) { in Ikev2SaSessionFree()
448 FreePool (IkeSaSession->SaData); in Ikev2SaSessionFree()
809 if (ChildSaSession->SaData != NULL) { in Ikev2ChildSaSessionFree()
810 FreePool (ChildSaSession->SaData); in Ikev2ChildSaSessionFree()
1245 IKEV2_SA_DATA *SaData; in Ikev2InitializeSaData() local
1256 SaData = AllocateZeroPool ( in Ikev2InitializeSaData()
1262 SaData = AllocateZeroPool ( in Ikev2InitializeSaData()
1268 if (SaData == NULL) { in Ikev2InitializeSaData()
1275 SaData->NumProposals = 2; in Ikev2InitializeSaData()
1276 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1); in Ikev2InitializeSaData()
[all …]
DPayload.c51 IKEV2_SA_DATA *SaData; in Ikev2GenerateSaPayload() local
75 SaData = AllocateZeroPool (SaDataSize); in Ikev2GenerateSaPayload()
76 if (SaData == NULL) { in Ikev2GenerateSaPayload()
81 CopyMem (SaData, SessionSaData, SaDataSize); in Ikev2GenerateSaPayload()
82 SaData->SaHeader.Header.NextPayload = NextPayload; in Ikev2GenerateSaPayload()
84 SaPayload->PayloadBuf = (UINT8 *) SaData; in Ikev2GenerateSaPayload()
1646 IN IKEV2_SA_DATA *SaData in Ikev2EncodeSa() argument
1674 for (ProposalIndex = 0; ProposalIndex < SaData->NumProposals; ProposalIndex++) { in Ikev2EncodeSa()
1676 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1) + ProposalIndex; in Ikev2EncodeSa()
1681 SaData->NumProposals * sizeof (IKEV2_PROPOSAL) + in Ikev2EncodeSa()
[all …]
DExchange.c109 IkeSaSession->SaData = Ikev2InitializeSaData (SessionCommon); in Ikev2NegotiateSa()
110 if (IkeSaSession->SaData == NULL) { in Ikev2NegotiateSa()
222 ChildSaSession->SaData = Ikev2InitializeSaData (ChildSaCommon); in Ikev2NegotiateChildSa()
223 if (ChildSaSession->SaData == NULL) { in Ikev2NegotiateChildSa()
261 if (ChildSaSession->SaData != NULL) { in Ikev2NegotiateChildSa()
262 FreePool (ChildSaSession->SaData); in Ikev2NegotiateChildSa()
535 ChildSaSession->SaData = Ikev2InitializeSaData (ChildSaCommon); in Ikev2HandleSa()
DIkev2.h168 IKEV2_SA_DATA *SaData; // SA Private struct used for SA payload generation member
195 IKEV2_SA_DATA *SaData; member
DSa.c147 IkeSaSession->SaData, in Ikev2InitPskGenerator()
548 ChildSaSession->SaData, in Ikev2AuthPskGenerator()
1143 ChildSaSession->SaData, in Ikev2AuthCertGenerator()