Searched refs:blockMode (Results 1 – 4 of 4) sorted by relevance
196 String blockMode = fileName.substring(0, 3); in runTestsForKatFile() local197 if ("CFB".equals(blockMode)) { in runTestsForKatFile()198 blockMode = fileName.substring(0, 4); in runTestsForKatFile()200 runTestsForKatFile(blockMode, entryContents); in runTestsForKatFile()204 private void runTestsForKatFile(String blockMode, byte[] fileContents) throws Exception { in runTestsForKatFile() argument268 runKatTest(blockMode, encrypt, testVector); in runTestsForKatFile()
1919 String blockMode = TestUtils.getCipherBlockMode(transformation); in getWorkingDecryptionParameterSpec() local1920 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1922 } else if ((KeyProperties.BLOCK_MODE_CBC.equalsIgnoreCase(blockMode)) in getWorkingDecryptionParameterSpec()1923 || (KeyProperties.BLOCK_MODE_CTR.equalsIgnoreCase(blockMode))) { in getWorkingDecryptionParameterSpec()1926 } else if (KeyProperties.BLOCK_MODE_GCM.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1931 throw new IllegalArgumentException("Unsupported block mode: " + blockMode); in getWorkingDecryptionParameterSpec()1934 String blockMode = TestUtils.getCipherBlockMode(transformation); in getWorkingDecryptionParameterSpec() local1935 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1937 } else if (KeyProperties.BLOCK_MODE_CBC.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()1941 throw new IllegalArgumentException("Unsupported block mode: " + blockMode); in getWorkingDecryptionParameterSpec()
545 DERTaggedObject blockMode = in makeSymKeyAuthList() local563 allItems.add(blockMode); in makeSymKeyAuthList()
1188 String blockMode = TestUtils.getCipherBlockMode(transformation); in getMinimalWorkingImportParametersForCipheringWith() local1190 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getMinimalWorkingImportParametersForCipheringWith()1198 .setBlockModes(blockMode) in getMinimalWorkingImportParametersForCipheringWith()