Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java379 int paddedLen = calculateEspEncryptedLength(payload.length, AES_CBC_BLK_SIZE); in getCiphertext()
434 payloadLen = calculateEspEncryptedLength(payloadLen, cryptBlockSize); in calculateEspPacketSize()
438 private static int calculateEspEncryptedLength(int payloadLen, int cryptBlockSize) { in calculateEspEncryptedLength() method in PacketUtils
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java465 payloadLen = calculateEspEncryptedLength(payloadLen, cryptBlockSize); in calculateEspPacketSize()
470 private static int calculateEspEncryptedLength(int payloadLen, int cryptBlockSize) { in calculateEspEncryptedLength() method in PacketUtils
522 final int paddedLen = calculateEspEncryptedLength(payload.length, blockSize); in getPaddedPayload()