Home
last modified time | relevance | path

Searched refs:getBlockSize (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DNullCipherTest.java53 assertEquals("Incorrect BlockSize", 1, c.getBlockSize()); in testGetBlockSize()
DCipherTest.java202 assertEquals("Block size does not match", 8, cipher.getBlockSize()); in test_getBlockSize()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java1457 getExpectedBlockSize(algorithm, encryptMode, providerName), c.getBlockSize()); in test_Cipher()
1502 getExpectedBlockSize(algorithm, decryptMode, providerName), c.getBlockSize()); in test_Cipher()
3167 assertEquals(0, c.getBlockSize()); in testRSA_ECB_NoPadding_GetBlockSize_Success()
3170 c.getBlockSize(); in testRSA_ECB_NoPadding_GetBlockSize_Success()
3178 assertEquals(getExpectedBlockSize("RSA", Cipher.ENCRYPT_MODE, provider), c.getBlockSize()); in testRSA_ECB_NoPadding_GetBlockSize_Success()
3942 c.getBlockSize()); in checkCipher()
3970 c.getBlockSize()); in checkCipher()
4284 int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_DoFinal_invalidMode_Failure()
4325 int bs = createAesCipher(opmode).getBlockSize(); in checkCipher_Update_invalidMode_Failure()
4343 assertNull(c.update(new byte[c.getBlockSize() * 2], 0, 0)); in testCipher_Update_WithZeroLengthInput_ReturnsNull()
[all …]
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java614 public final int getBlockSize() { in getBlockSize() method in Cipher
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1119 return delegate.getBlockSize(); in engineGetBlockSize()