Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java356 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes() local
357 espPayloadBuffer.putInt(spi); in addPacketBytes()
358 espPayloadBuffer.putInt(seqNum); in addPacketBytes()
359 espPayloadBuffer.put(getCiphertext(key)); in addPacketBytes()
361 espPayloadBuffer.put(getIcv(getByteArrayFromBuffer(espPayloadBuffer)), 0, 16); in addPacketBytes()
362 resultBuffer.put(getByteArrayFromBuffer(espPayloadBuffer)); in addPacketBytes()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java435 ByteBuffer espPayloadBuffer = ByteBuffer.allocate(DATA_BUFFER_LEN); in addPacketBytes() local
436 espPayloadBuffer.putInt(spi); in addPacketBytes()
437 espPayloadBuffer.putInt(seqNum); in addPacketBytes()
439 espPayloadBuffer.put(cipher.getCipherText(nextHeader, payload, spi, seqNum)); in addPacketBytes()
440 espPayloadBuffer.put(auth.getIcv(getByteArrayFromBuffer(espPayloadBuffer))); in addPacketBytes()
442 resultBuffer.put(getByteArrayFromBuffer(espPayloadBuffer)); in addPacketBytes()