Searched refs:GENERIC_HEADER_LENGTH (Results 1 – 22 of 22) sorted by relevance
68 IkeHeader.IKE_HEADER_LENGTH + GENERIC_HEADER_LENGTH + SKF_HEADER_LEN, in IkeSkfPayload()78 inputBuffer.get(new byte[IkeHeader.IKE_HEADER_LENGTH + GENERIC_HEADER_LENGTH]); in IkeSkfPayload()163 return GENERIC_HEADER_LENGTH + SKF_HEADER_LEN + mIkeEncryptedPayloadBody.getLength(); in getPayloadLength()
87 int payloadLength = GENERIC_HEADER_LENGTH + nonceData.length; in encodeToByteBuffer()100 return GENERIC_HEADER_LENGTH + nonceData.length; in getPayloadLength()
96 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN + certificate.getEncoded().length; in getPayloadLength()98 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN; in getPayloadLength()
68 IkeHeader.IKE_HEADER_LENGTH + GENERIC_HEADER_LENGTH, in IkeSkPayload()195 return GENERIC_HEADER_LENGTH + mIkeEncryptedPayloadBody.getLength(); in getPayloadLength()
119 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody()153 return GENERIC_HEADER_LENGTH + ID_HEADER_LEN + ikeId.getEncodedIdData().length; in getPayloadLength()
223 IkePayload.GENERIC_HEADER_LENGTH in generateOutboundChecksum()300 + IkePayload.GENERIC_HEADER_LENGTH in combinedModeEncrypt()306 IkePayload.GENERIC_HEADER_LENGTH in combinedModeEncrypt()
144 if (payloadLength <= IkePayload.GENERIC_HEADER_LENGTH) { in getIkePayload()148 int bodyLength = payloadLength - IkePayload.GENERIC_HEADER_LENGTH; in getIkePayload()
64 return GENERIC_HEADER_LENGTH + vendorId.length; in getPayloadLength()
81 return GENERIC_HEADER_LENGTH + eapMessage.length; in getPayloadLength()
85 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN + caSubjectPublicKeyInforHashes.length; in getPayloadLength()
164 return GENERIC_HEADER_LENGTH + DELETE_HEADER_LEN + spisToDelete.length * spiSize; in getPayloadLength()
133 int len = GENERIC_HEADER_LENGTH + TS_HEADER_LEN; in getPayloadLength()
123 return GENERIC_HEADER_LENGTH + AUTH_HEADER_LEN + getAuthDataLength(); in getPayloadLength()
41 public static final int GENERIC_HEADER_LENGTH = 4; field in IkePayload
305 return GENERIC_HEADER_LENGTH + KE_HEADER_LEN + keyExchangeData.length; in getPayloadLength()
422 return GENERIC_HEADER_LENGTH + NOTIFY_HEADER_LEN + spiSize + notifyData.length; in getPayloadLength()
1255 int len = GENERIC_HEADER_LENGTH + CONFIG_HEADER_LEN; in getPayloadLength()
624 - IkePayload.GENERIC_HEADER_LENGTH in encryptAndEncode()
1928 int len = GENERIC_HEADER_LENGTH; in getPayloadLength()
74 IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH;
162 IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH;
275 byteBuffer.get(new byte[IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH]); in makeFragmentBytes()967 packetBuffer.get(new byte[IkePayload.GENERIC_HEADER_LENGTH]); in verifyEncodeAndEncryptFragments()