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.java837 int maxSupportedPlaintextSizeBytes = in testMaxSizedPlaintextSupported() local
840 if (maxSupportedPlaintextSizeBytes < 0) { in testMaxSizedPlaintextSupported()
843 } else if (maxSupportedPlaintextSizeBytes == Integer.MAX_VALUE) { in testMaxSizedPlaintextSupported()
847 byte[] plaintext = new byte[maxSupportedPlaintextSizeBytes]; in testMaxSizedPlaintextSupported()
916 int maxSupportedPlaintextSizeBytes = in testLargerThanMaxSizedPlaintextRejected() local
919 if (maxSupportedPlaintextSizeBytes < 0) { in testLargerThanMaxSizedPlaintextRejected()
922 } else if (maxSupportedPlaintextSizeBytes == Integer.MAX_VALUE) { in testLargerThanMaxSizedPlaintextRejected()
927 byte[] plaintext = new byte[maxSupportedPlaintextSizeBytes + 1]; in testLargerThanMaxSizedPlaintextRejected()
1857 int maxSupportedPlaintextSizeBytes = in truncatePlaintextIfNecessary() local
1860 if (plaintext.length <= maxSupportedPlaintextSizeBytes) { in truncatePlaintextIfNecessary()
[all …]