Home
last modified time | relevance | path

Searched refs:GENERIC_HEADER_LENGTH (Results 1 – 22 of 22) sorted by relevance

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayload.java68 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()
DIkeNoncePayload.java87 int payloadLength = GENERIC_HEADER_LENGTH + nonceData.length; in encodeToByteBuffer()
100 return GENERIC_HEADER_LENGTH + nonceData.length; in getPayloadLength()
DIkeCertX509CertPayload.java97 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN + certificate.getEncoded().length; in getPayloadLength()
99 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN; in getPayloadLength()
DIkeEncryptedPayloadBody.java223 IkePayload.GENERIC_HEADER_LENGTH in generateOutboundChecksum()
300 + IkePayload.GENERIC_HEADER_LENGTH in combinedModeEncrypt()
306 IkePayload.GENERIC_HEADER_LENGTH in combinedModeEncrypt()
DIkeSkPayload.java68 IkeHeader.IKE_HEADER_LENGTH + GENERIC_HEADER_LENGTH, in IkeSkPayload()
195 return GENERIC_HEADER_LENGTH + mIkeEncryptedPayloadBody.getLength(); in getPayloadLength()
DIkeIdPayload.java120 ByteBuffer byteBuffer = ByteBuffer.allocate(getPayloadLength() - GENERIC_HEADER_LENGTH); in getEncodedPayloadBody()
154 return GENERIC_HEADER_LENGTH + ID_HEADER_LEN + ikeId.getEncodedIdData().length; in getPayloadLength()
DIkePayloadFactory.java144 if (payloadLength <= IkePayload.GENERIC_HEADER_LENGTH) { in getIkePayload()
148 int bodyLength = payloadLength - IkePayload.GENERIC_HEADER_LENGTH; in getIkePayload()
DIkeVendorPayload.java64 return GENERIC_HEADER_LENGTH + vendorId.length; in getPayloadLength()
DIkeEapPayload.java81 return GENERIC_HEADER_LENGTH + eapMessage.length; in getPayloadLength()
DIkeCertReqPayload.java85 return GENERIC_HEADER_LENGTH + CERT_ENCODING_LEN + caSubjectPublicKeyInforHashes.length; in getPayloadLength()
DIkeDeletePayload.java165 return GENERIC_HEADER_LENGTH + DELETE_HEADER_LEN + spisToDelete.length * spiSize; in getPayloadLength()
DIkeTsPayload.java134 int len = GENERIC_HEADER_LENGTH + TS_HEADER_LEN; in getPayloadLength()
DIkeAuthPayload.java123 return GENERIC_HEADER_LENGTH + AUTH_HEADER_LEN + getAuthDataLength(); in getPayloadLength()
DIkePayload.java41 public static final int GENERIC_HEADER_LENGTH = 4; field in IkePayload
DIkeKePayload.java241 return GENERIC_HEADER_LENGTH + KE_HEADER_LEN + keyExchangeData.length; in getPayloadLength()
DIkeNotifyPayload.java345 return GENERIC_HEADER_LENGTH + NOTIFY_HEADER_LEN + spiSize + notifyData.length; in getPayloadLength()
DIkeConfigPayload.java1075 int len = GENERIC_HEADER_LENGTH + CONFIG_HEADER_LEN; in getPayloadLength()
DIkeMessage.java481 - IkePayload.GENERIC_HEADER_LENGTH in encryptAndEncode()
DIkeSaPayload.java1836 int len = GENERIC_HEADER_LENGTH; in getPayloadLength()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayloadTest.java74 IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH;
DIkeMessageTest.java273 byteBuffer.get(new byte[IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH]); in makeFragmentBytes()
928 packetBuffer.get(new byte[IkePayload.GENERIC_HEADER_LENGTH]); in testEncodeAndEncryptFragments()
DIkeEncryptedPayloadBodyTest.java162 IkeHeader.IKE_HEADER_LENGTH + IkePayload.GENERIC_HEADER_LENGTH;