Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java1055 int maxSupportedPlaintextSizeBytes = in testMaxSizedPlaintextSupported() local
1058 if (maxSupportedPlaintextSizeBytes < 0) { in testMaxSizedPlaintextSupported()
1061 } else if (maxSupportedPlaintextSizeBytes == Integer.MAX_VALUE) { in testMaxSizedPlaintextSupported()
1065 byte[] plaintext = new byte[maxSupportedPlaintextSizeBytes]; in testMaxSizedPlaintextSupported()
1135 int maxSupportedPlaintextSizeBytes = in testLargerThanMaxSizedPlaintextRejected() local
1138 if (maxSupportedPlaintextSizeBytes < 0) { in testLargerThanMaxSizedPlaintextRejected()
1141 } else if (maxSupportedPlaintextSizeBytes == Integer.MAX_VALUE) { in testLargerThanMaxSizedPlaintextRejected()
1146 byte[] plaintext = new byte[maxSupportedPlaintextSizeBytes + 1]; in testLargerThanMaxSizedPlaintextRejected()
2069 int maxSupportedPlaintextSizeBytes = in truncatePlaintextIfNecessary() local
2072 if (plaintext.length <= maxSupportedPlaintextSizeBytes) { in truncatePlaintextIfNecessary()
[all …]