Searched refs:getBlockSize (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | NullCipherTest.java | 53 assertEquals("Incorrect BlockSize", 1, c.getBlockSize()); in testGetBlockSize()
|
D | CipherTest.java | 202 assertEquals("Block size does not match", 8, cipher.getBlockSize()); in test_getBlockSize()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 1457 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/ |
D | Cipher.java | 614 public final int getBlockSize() { in getBlockSize() method in Cipher
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 1119 return delegate.getBlockSize(); in engineGetBlockSize()
|