Searched refs:expectedPlaintext (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CipherTest.java | 467 byte[] expectedPlaintext = plaintext; in testEmptyPlaintextEncryptsAndDecrypts() 472 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEmptyPlaintextEncryptsAndDecrypts() 473 expectedPlaintext, modulusLengthBytes); in testEmptyPlaintextEncryptsAndDecrypts() 480 assertArrayEquals(expectedPlaintext, actualPlaintext); in testEmptyPlaintextEncryptsAndDecrypts() 520 byte[] expectedPlaintext = plaintext; in testEncryptsAndDecryptsInterrupted() 525 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEncryptsAndDecryptsInterrupted() 526 expectedPlaintext, modulusLengthBytes); in testEncryptsAndDecryptsInterrupted() 534 assertArrayEquals(expectedPlaintext, actualPlaintext); in testEncryptsAndDecryptsInterrupted() 577 byte[] expectedPlaintext = plaintext; in testEncryptsAndDecryptsUsingCipherStreams() 582 expectedPlaintext = TestUtils.leftPadWithZeroBytes( in testEncryptsAndDecryptsUsingCipherStreams() [all …]
|
D | RSACipherTest.java | 284 byte[] expectedPlaintext = new byte[expectedCiphertext.length]; in testNoPaddingWithZeroMessage() 285 assertArrayEquals(expectedPlaintext, cipher.doFinal(ciphertext)); in testNoPaddingWithZeroMessage()
|
D | BlockCipherTestBase.java | 876 byte[] expectedPlaintext = getKatPlaintext(); in testKatDecryptOneByteAtATime() 886 assertArrayEquals(expectedPlaintext, finalOutput); in testKatDecryptOneByteAtATime() 900 expectedPlaintext[ciphertextIndex], output[0]); in testKatDecryptOneByteAtATime() 914 assertArrayEquals(expectedPlaintext, actualPlaintext.toByteArray()); in testKatDecryptOneByteAtATime() 943 subarray(expectedPlaintext, plaintextIndex, in testKatDecryptOneByteAtATime() 959 subarray(expectedPlaintext, plaintextIndex, expectedPlaintext.length); in testKatDecryptOneByteAtATime()
|