Home
last modified time | relevance | path

Searched refs:ProposalData (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DUtility.c1225 IKEV2_PROPOSAL_DATA *ProposalData; in Ikev2InitializeSaData() local
1255 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1); in Ikev2InitializeSaData()
1256 ProposalData->ProposalIndex = 1; in Ikev2InitializeSaData()
1263 ProposalData->NumTransforms = 4; in Ikev2InitializeSaData()
1265 ProposalData->NumTransforms = 3; in Ikev2InitializeSaData()
1270 ProposalData->ProtocolId = IPSEC_PROTO_ISAKMP; in Ikev2InitializeSaData()
1273 ProposalData->ProtocolId = IPSEC_PROTO_IPSEC_ESP; in Ikev2InitializeSaData()
1274 ProposalData->Spi = AllocateZeroPool (sizeof (ChildSaSession->LocalPeerSpi)); in Ikev2InitializeSaData()
1275 ASSERT (ProposalData->Spi != NULL); in Ikev2InitializeSaData()
1277 ProposalData->Spi, in Ikev2InitializeSaData()
[all …]
DPayload.c1593 IKEV2_PROPOSAL_DATA *ProposalData; in Ikev2EncodeSa() local
1618 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1) + ProposalIndex; in Ikev2EncodeSa()
1619 TotalTransforms += ProposalData->NumTransforms; in Ikev2EncodeSa()
1638 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1); in Ikev2EncodeSa()
1640 Proposal->ProposalIndex = ProposalData->ProposalIndex; in Ikev2EncodeSa()
1641 Proposal->ProtocolId = ProposalData->ProtocolId; in Ikev2EncodeSa()
1642 Proposal->NumTransforms = ProposalData->NumTransforms; in Ikev2EncodeSa()
1644 if (ProposalData->Spi == 0) { in Ikev2EncodeSa()
1648 *(UINT32 *) (Proposal + 1) = HTONL (*((UINT32*)ProposalData->Spi)); in Ikev2EncodeSa()
1657 for (TransformIndex = 0; TransformIndex < ProposalData->NumTransforms; TransformIndex++) { in Ikev2EncodeSa()
[all …]