Home
last modified time | relevance | path

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

/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeEncryptedPayloadBody.java199 int padLength = padding.length; in encrypt() local
200 int paddedDataLength = dataToEncrypt.length + padLength + PAD_LEN_LEN; in encrypt()
202 inputBuffer.put(dataToEncrypt).put(padding).put((byte) padLength); in encrypt()
229 int padLength = Byte.toUnsignedInt(outputBuffer.get(encryptedData.length - PAD_LEN_LEN)); in decrypt() local
230 byte[] decryptedData = new byte[encryptedData.length - padLength - PAD_LEN_LEN]; in decrypt()
241 int padLength = (unpaddedLen + blockSize - 1) / blockSize * blockSize - unpaddedLen; in calculatePadding() local
242 byte[] padding = new byte[padLength]; in calculatePadding()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2479 final int padLength = 2 + 2 + maxLength + 2 + 10 + 11; in dumpRecentHistory() local
2480 final char chars[] = new char[padLength]; in dumpRecentHistory()