Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java158 String blockMode = fileName.substring(0, 3); in runTestsForKatFile() local
159 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() argument
230 runKatTest(blockMode, encrypt, testVector); in runTestsForKatFile()
DCipherTest.java1596 String blockMode = in testEntropyConsumption() local
1599 switch (blockMode) { in testEntropyConsumption()
1611 throw new RuntimeException("Unsupported block mode " + blockMode); in testEntropyConsumption()
1614 String blockMode = in testEntropyConsumption() local
1617 switch (blockMode) { in testEntropyConsumption()
1625 throw new RuntimeException("Unsupported block mode " + blockMode); in testEntropyConsumption()
1707 String blockMode = TestUtils.getCipherBlockMode(transformation); in getWorkingDecryptionParameterSpec() local
1708 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getWorkingDecryptionParameterSpec()
1710 } else if ((KeyProperties.BLOCK_MODE_CBC.equalsIgnoreCase(blockMode)) in getWorkingDecryptionParameterSpec()
1711 || (KeyProperties.BLOCK_MODE_CTR.equalsIgnoreCase(blockMode))) { in getWorkingDecryptionParameterSpec()
[all …]
DImportWrappedKeyTest.java385 DERTaggedObject blockMode = new DERTaggedObject(true, 4, blockModeSet); in makeAuthList() local
400 allItems.add(blockMode); in makeAuthList()
DTestUtils.java953 String blockMode = TestUtils.getCipherBlockMode(transformation); in getMinimalWorkingImportParametersForCipheringWith() local
955 if (KeyProperties.BLOCK_MODE_ECB.equalsIgnoreCase(blockMode)) { in getMinimalWorkingImportParametersForCipheringWith()
963 .setBlockModes(blockMode) in getMinimalWorkingImportParametersForCipheringWith()