Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java177 TestVector testVector = null; in runTestsForKatFile() local
213 testVector = new TestVector(); in runTestsForKatFile()
230 runKatTest(blockMode, encrypt, testVector); in runTestsForKatFile()
232 testVector = null; in runTestsForKatFile()
244 testVector.key = HexEncoding.decode(value); in runTestsForKatFile()
246 testVector.iv = HexEncoding.decode(value); in runTestsForKatFile()
248 testVector.plaintext = HexEncoding.decode(value); in runTestsForKatFile()
250 testVector.ciphertext = HexEncoding.decode(value); in runTestsForKatFile()
269 private void runKatTest(String mode, boolean encrypt, TestVector testVector) throws Exception { in runKatTest() argument
274 new KeyStore.SecretKeyEntry(new SecretKeySpec(testVector.key, "AES")), in runKatTest()
[all …]
DMacTest.java319 for (KatVector testVector : SHORT_MSG_KAT_MACS.get(algorithm)) { in testSmallMsgKat()
320 byte[] keyBytes = testVector.key; in testSmallMsgKat()
327 byte[] goodMacBytes = testVector.mac.clone(); in testSmallMsgKat()
/cts/tests/tests/rscpp/src/android/cts/rscpp/
DRSScriptTest.java40 native boolean testVector(String path); in testVector() method in RSScriptTest
42 assertTrue(testVector(this.getContext().getCacheDir().toString())); in testRSScriptTestVector()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DComputeTest.java670 public void testVector() { in testVector() method in ComputeTest