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.java725 for (int plaintextIndex = 0; plaintextIndex < plaintext.length; plaintextIndex++) { in testKatEncryptOneByteAtATime()
726 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime()
727 assertEquals("plaintext index: " + plaintextIndex, 1, output.length); in testKatEncryptOneByteAtATime()
728 assertEquals("plaintext index: " + plaintextIndex, in testKatEncryptOneByteAtATime()
729 expectedCiphertext[plaintextIndex], output[0]); in testKatEncryptOneByteAtATime()
746 for (int plaintextIndex = 0; plaintextIndex < plaintext.length; plaintextIndex++) { in testKatEncryptOneByteAtATime()
747 byte[] output = update(new byte[] {plaintext[plaintextIndex]}); in testKatEncryptOneByteAtATime()
748 if ((plaintextIndex % blockSize) == blockSize - 1) { in testKatEncryptOneByteAtATime()
751 "plaintext index: " + plaintextIndex, in testKatEncryptOneByteAtATime()
759 assertEquals("plaintext index: " + plaintextIndex, null, output); in testKatEncryptOneByteAtATime()
[all …]