Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java788 for (int plaintextIndex = 0; plaintextIndex < plaintext.length; plaintextIndex++) { in testKatEncryptOneByteAtATime()
789 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime()
796 assertEquals("plaintext index: " + plaintextIndex, 1, output.length); in testKatEncryptOneByteAtATime()
797 assertEquals("plaintext index: " + plaintextIndex, in testKatEncryptOneByteAtATime()
798 expectedCiphertext[plaintextIndex], output[0]); in testKatEncryptOneByteAtATime()
827 for (int plaintextIndex = 0; plaintextIndex < plaintext.length; plaintextIndex++) { in testKatEncryptOneByteAtATime()
828 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime()
841 if ((plaintextIndex % blockSize) == blockSize - 1) { in testKatEncryptOneByteAtATime()
844 "plaintext index: " + plaintextIndex + additionalInformation, in testKatEncryptOneByteAtATime()
853 "plaintext index: " + plaintextIndex + additionalInformation, in testKatEncryptOneByteAtATime()
[all …]