Searched refs:blockMode (Results 1 – 3 of 3) sorted by relevance
158 String blockMode = fileName.substring(0, 3); in runTestsForKatFile() local159 if ("CFB".equals(blockMode)) { in runTestsForKatFile()160 blockMode = fileName.substring(0, 4); in runTestsForKatFile()162 runTestsForKatFile(blockMode, entryContents); in runTestsForKatFile()166 private void runTestsForKatFile(String blockMode, byte[] fileContents) throws Exception { in runTestsForKatFile() argument230 runKatTest(blockMode, encrypt, testVector); in runTestsForKatFile()
1318 String blockMode = in testEntropyConsumption() local1321 switch (blockMode) { in testEntropyConsumption()1333 throw new RuntimeException("Unsupported block mode " + blockMode); in testEntropyConsumption()1414 String blockMode = TestUtils.getCipherBlockMode(transformation); in getWorkingDecryptionParameterSpec() local1415 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1417 } else if ((KeyProperties.BLOCK_MODE_CBC.equalsIgnoreCase(blockMode)) in getWorkingDecryptionParameterSpec()1418 || (KeyProperties.BLOCK_MODE_CTR.equalsIgnoreCase(blockMode))) { in getWorkingDecryptionParameterSpec()1421 } else if (KeyProperties.BLOCK_MODE_GCM.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1426 throw new IllegalArgumentException("Unsupported block mode: " + blockMode); in getWorkingDecryptionParameterSpec()
870 String blockMode = TestUtils.getCipherBlockMode(transformation); in getMinimalWorkingImportParametersForCipheringWith() local872 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getMinimalWorkingImportParametersForCipheringWith()880 .setBlockModes(blockMode) in getMinimalWorkingImportParametersForCipheringWith()