Home
last modified time | relevance | path

Searched refs:DhBuffer (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DSa.c1533 IkeKeys->DhBuffer = AllocateZeroPool (sizeof (IKEV2_DH_BUFFER)); in Ikev2GenerateSaDhPublicKey()
1534 if (IkeKeys->DhBuffer == NULL) { in Ikev2GenerateSaDhPublicKey()
1542 …IkeKeys->DhBuffer->GxSize = OakleyModpGroup[(UINT8)IkeSaSession->SessionCommon.PreferDhGroup].Si… in Ikev2GenerateSaDhPublicKey()
1543 IkeKeys->DhBuffer->GxBuffer = AllocateZeroPool (IkeKeys->DhBuffer->GxSize); in Ikev2GenerateSaDhPublicKey()
1544 if (IkeKeys->DhBuffer->GxBuffer == NULL) { in Ikev2GenerateSaDhPublicKey()
1545 FreePool (IkeKeys->DhBuffer); in Ikev2GenerateSaDhPublicKey()
1554 &IkeKeys->DhBuffer->DhContext, in Ikev2GenerateSaDhPublicKey()
1558 IkeKeys->DhBuffer->GxBuffer, in Ikev2GenerateSaDhPublicKey()
1559 &IkeKeys->DhBuffer->GxSize in Ikev2GenerateSaDhPublicKey()
1564 FreePool (IkeKeys->DhBuffer->GxBuffer); in Ikev2GenerateSaDhPublicKey()
[all …]
DUtility.c374 IKEV2_DH_BUFFER *DhBuffer; in Ikev2SaSessionFree() local
413 DhBuffer = IkeKeys->DhBuffer; in Ikev2SaSessionFree()
418 Ikev2DhBufferFree (DhBuffer); in Ikev2SaSessionFree()
840 Ikev2DhBufferFree (ChildSaSession->DhBuffer); in Ikev2ChildSaSessionFree()
1039 IKEV2_DH_BUFFER *DhBuffer in Ikev2DhBufferFree() argument
1042 if (DhBuffer != NULL) { in Ikev2DhBufferFree()
1043 if (DhBuffer->GxBuffer != NULL) { in Ikev2DhBufferFree()
1044 FreePool (DhBuffer->GxBuffer); in Ikev2DhBufferFree()
1046 if (DhBuffer->GyBuffer != NULL) { in Ikev2DhBufferFree()
1047 FreePool (DhBuffer->GyBuffer); in Ikev2DhBufferFree()
[all …]
DIkev2.h82 IKEV2_DH_BUFFER *DhBuffer; member
204 IKEV2_DH_BUFFER *DhBuffer; //New DH exchnaged by CREATE_CHILD_SA member
DUtility.h292 IN IKEV2_DH_BUFFER *DhBuffer
DPayload.c186 KeSize = sizeof (IKEV2_KEY_EXCHANGE) + IkeKeys->DhBuffer->GxSize; in Ikev2GenerateKePayload()
188 KeSize = sizeof (IKEV2_KEY_EXCHANGE) + IkeKeys->DhBuffer->GxSize; in Ikev2GenerateKePayload()
203 CopyMem (Ke + 1, IkeKeys->DhBuffer->GxBuffer, IkeKeys->DhBuffer->GxSize); in Ikev2GenerateKePayload()