Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java1336 private int getExpectedCiphertextLength(int plaintextLength) { in getExpectedCiphertextLength() argument
1346 return plaintextLength + authTagLength; in getExpectedCiphertextLength()
1349 return ((plaintextLength / blockSize) + 1) * blockSize + authTagLength; in getExpectedCiphertextLength()
1351 return ((plaintextLength + blockSize - 1) / blockSize) * blockSize + authTagLength; in getExpectedCiphertextLength()