Searched refs:ProposalData (Results 1 – 2 of 2) sorted by relevance
1246 IKEV2_PROPOSAL_DATA *ProposalData; in Ikev2InitializeSaData() local1276 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1); in Ikev2InitializeSaData()1277 ProposalData->ProposalIndex = 1; in Ikev2InitializeSaData()1284 ProposalData->NumTransforms = 4; in Ikev2InitializeSaData()1286 ProposalData->NumTransforms = 3; in Ikev2InitializeSaData()1291 ProposalData->ProtocolId = IPSEC_PROTO_ISAKMP; in Ikev2InitializeSaData()1294 ProposalData->ProtocolId = IPSEC_PROTO_IPSEC_ESP; in Ikev2InitializeSaData()1295 ProposalData->Spi = AllocateZeroPool (sizeof (ChildSaSession->LocalPeerSpi)); in Ikev2InitializeSaData()1296 if (ProposalData->Spi == NULL) { in Ikev2InitializeSaData()1302 ProposalData->Spi, in Ikev2InitializeSaData()[all …]
1651 IKEV2_PROPOSAL_DATA *ProposalData; in Ikev2EncodeSa() local1676 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1) + ProposalIndex; in Ikev2EncodeSa()1677 TotalTransforms += ProposalData->NumTransforms; in Ikev2EncodeSa()1699 ProposalData = (IKEV2_PROPOSAL_DATA *) (SaData + 1); in Ikev2EncodeSa()1701 Proposal->ProposalIndex = ProposalData->ProposalIndex; in Ikev2EncodeSa()1702 Proposal->ProtocolId = ProposalData->ProtocolId; in Ikev2EncodeSa()1703 Proposal->NumTransforms = ProposalData->NumTransforms; in Ikev2EncodeSa()1705 if (ProposalData->Spi == 0) { in Ikev2EncodeSa()1709 *(UINT32 *) (Proposal + 1) = HTONL (*((UINT32*)ProposalData->Spi)); in Ikev2EncodeSa()1718 for (TransformIndex = 0; TransformIndex < ProposalData->NumTransforms; TransformIndex++) { in Ikev2EncodeSa()[all …]