Lines Matching refs:PayloadSize
131 NoncePayload->PayloadSize = Size;
199 KePayload->PayloadSize = KeSize;
251 IdPayload->PayloadSize = IdSize;
327 IdPayload->PayloadSize = IdSize;
439 Fragments[0].DataSize = IdPayload->PayloadSize - sizeof (IKEV2_COMMON_PAYLOAD_HEADER);
514 AuthPayload->PayloadSize = sizeof (IKEV2_AUTH) + DigestSize;
515 PayloadBuf = (IKEV2_AUTH *) AllocateZeroPool (AuthPayload->PayloadSize);
521 PayloadBuf->Header.PayloadLength = (UINT16) (AuthPayload->PayloadSize);
669 Fragments[0].DataSize = IdPayload->PayloadSize - sizeof (IKEV2_COMMON_PAYLOAD_HEADER);
772 AuthPayload->PayloadSize = sizeof (IKEV2_AUTH) + SigSize;
774 AuthPayload->PayloadSize = sizeof (IKEV2_AUTH) + DigestSize;
777 PayloadBuf = (IKEV2_AUTH *) AllocateZeroPool (AuthPayload->PayloadSize);
783 PayloadBuf->Header.PayloadLength = (UINT16) (AuthPayload->PayloadSize);
1077 TsPayload->PayloadSize = TsPayloadSize;
1183 NotifyPayload->PayloadSize = NotifyPayloadLen;
1268 DelPayload->PayloadSize = DelPayloadLen;
1344 CpPayload->PayloadSize = PayloadLen;
1539 CertPayload->PayloadSize = PayloadLen;
2048 IkePayload->PayloadSize = PayloadHdr->PayloadLength;
2074 UINT16 PayloadSize;
2096 PayloadSize = (UINT16) IkePayload->PayloadSize;
2100 // The PayloadSize is the size of whole payload.
2103 PayloadHdr->PayloadLength = PayloadSize;
2108 if (PayloadSize < sizeof (IKEV2_SA)) {
2129 if (PayloadSize < sizeof (IKEV2_ID)) {
2136 if (PayloadSize < sizeof (IKEV2_NOTIFY)) {
2146 if (PayloadSize < sizeof (IKEV2_DELETE)) {
2156 if (PayloadSize < sizeof (IKEV2_AUTH)) {
2170 if (PayloadSize < sizeof (IKEV2_TS)) {
2191 if (TsTotalSize != PayloadSize - sizeof(IKEV2_TS)) {
2236 UINT16 PayloadSize;
2335 PayloadSize = NTOHS (PayloadHdr->PayloadLength);
2340 PayloadSize) {
2352 PayloadSize,
2365 IkePayload->PayloadSize = PayloadSize;
2373 IPSEC_DUMP_BUF ("After Decoding Payload", IkePayload->PayloadBuf, IkePayload->PayloadSize);
2381 RemainBytes -= PayloadSize;
2387 PayloadHdr = (IKEV2_COMMON_PAYLOAD_HEADER *) ((UINT8 *) PayloadHdr + PayloadSize);
2454 IkePayload->PayloadSize,
2459 PayloadTotalSize += IkePayload->PayloadSize;
2495 IkePayload->PayloadSize
2497 PayloadTotalSize = PayloadTotalSize + IkePayload->PayloadSize;
2512 IkePayload->PayloadSize
2514 PayloadTotalSize = PayloadTotalSize + IkePayload->PayloadSize;
2823 CopyMem (EncryptedBuf + Index, IkePayload->PayloadBuf, IkePayload->PayloadSize);
2824 Index += IkePayload->PayloadSize;
2974 EncryptPayload->PayloadSize = EncryptPayloadSize;