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.java1515 private int getExpectedCiphertextLength(int plaintextLength) { in getExpectedCiphertextLength() argument
1525 return plaintextLength + authTagLength; in getExpectedCiphertextLength()
1528 return ((plaintextLength / blockSize) + 1) * blockSize + authTagLength; in getExpectedCiphertextLength()
1530 return ((plaintextLength + blockSize - 1) / blockSize) * blockSize + authTagLength; in getExpectedCiphertextLength()