Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DPayload.h382 } IKEV2_ENCRYPTED; typedef
DPayload.c2806 IkePacket->Header->NextPayload = ((IKEV2_ENCRYPTED *) IkePacket->PayloadsBuf)->Header.NextPayload; in Ikev2DecryptPacket()
2977 EncryptPayloadSize = sizeof(IKEV2_ENCRYPTED) + IvSize + EncryptedSize + CheckSumSize; in Ikev2EncryptPacket()
2987 ((IKEV2_ENCRYPTED *) EncryptPayloadBuf)->Header.NextPayload = IkePacket->Header->NextPayload; in Ikev2EncryptPacket()
2988 …((IKEV2_ENCRYPTED *) EncryptPayloadBuf)->Header.PayloadLength = HTONS ((UINT16)EncryptPayloadSize); in Ikev2EncryptPacket()
2993 CopyMem (EncryptPayloadBuf + sizeof (IKEV2_ENCRYPTED), IvBuffer, IvSize); in Ikev2EncryptPacket()
2998 CopyMem (EncryptPayloadBuf + sizeof (IKEV2_ENCRYPTED) + IvSize, EncryptedBuf, EncryptedSize); in Ikev2EncryptPacket()