Searched refs:testVector (Results 1 – 4 of 4) sorted by relevance
177 TestVector testVector = null; in runTestsForKatFile() local213 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() argument274 new KeyStore.SecretKeyEntry(new SecretKeySpec(testVector.key, "AES")), in runKatTest()[all …]
319 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()
40 native boolean testVector(String path); in testVector() method in RSScriptTest42 assertTrue(testVector(this.getContext().getCacheDir().toString())); in testRSScriptTestVector()
670 public void testVector() { in testVector() method in ComputeTest