Searched refs:getBlockSize (Results 1 – 9 of 9) sorted by relevance
83 protected abstract int getBlockSize(); in getBlockSize() method in BlockCipherTestBase135 assertEquals(getBlockSize(), mCipher.getBlockSize()); in testGetBlockSize()170 int blockSize = getBlockSize(); in testGetOutputSizeInEncryptionMode()236 int blockSize = getBlockSize(); in testGetOutputSizeInDecryptionMode()362 byte[] ciphertext = doFinal(new byte[getBlockSize()]); in testGetIV()393 byte[] plaintext = new byte[getBlockSize()]; in testIvGeneratedAndUsedWhenEncryptingWithoutExplicitIv()479 mCipher.update(new byte[getBlockSize() * 2]); in testReinitializingInDecryptModeDoesNotUsePreviouslyUsedIv()589 if (input.length < getBlockSize() * 2) { in assertDoFinalResetsCipher()593 update(subarray(input, 0, getBlockSize() * 3 / 2)), in assertDoFinalResetsCipher()594 doFinal(subarray(input, getBlockSize() * 3 / 2, input.length)))); in assertDoFinalResetsCipher()[all …]
41 protected int getBlockSize() { in getBlockSize() method in AESECBCipherTestBase59 assertInitRejectsIvParameterSpec(new byte[getBlockSize()]); in testInitRejectsIvParameterSpec()
43 protected int getBlockSize() { in getBlockSize() method in AESCTRCipherTestBase
43 protected int getBlockSize() { in getBlockSize() method in AESCBCCipherTestBase
11 protected int getBlockSize() { in getBlockSize() method in DESedeCipherTestBase
50 protected int getBlockSize() { in getBlockSize() method in AESGCMCipherTestBase
29 assertTrue(stat.getBlockSize() > 0); in testStatFs()46 assertTrue(stat.getBlockSize() > 0); in testStatFs()
44 return (long)statFs.getAvailableBlocks() * statFs.getBlockSize(); in getFreeDiskSize()