Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DBlockCipherTestBase.java826 int ciphertextIndex = 0; in testKatEncryptOneByteAtATime() local
847 ciphertextIndex, in testKatEncryptOneByteAtATime()
848 ciphertextIndex + blockSize), in testKatEncryptOneByteAtATime()
858 ciphertextIndex += output.length; in testKatEncryptOneByteAtATime()
864 subarray(expectedCiphertext, ciphertextIndex, expectedCiphertext.length); in testKatEncryptOneByteAtATime()
880 for (int ciphertextIndex = 0; ciphertextIndex < ciphertext.length; ciphertextIndex++) { in testKatDecryptOneByteAtATime()
881 byte[] output = update(new byte[] {ciphertext[ciphertextIndex]}); in testKatDecryptOneByteAtATime()
882 assertEquals("ciphertext index: " + ciphertextIndex, in testKatDecryptOneByteAtATime()
890 for (int ciphertextIndex = 0; ciphertextIndex < ciphertext.length; ciphertextIndex++) { in testKatDecryptOneByteAtATime()
891 byte[] output = update(new byte[] {ciphertext[ciphertextIndex]}); in testKatDecryptOneByteAtATime()
[all …]