Home
last modified time | relevance | path

Searched refs:getMacLength (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java715 assertTrue("Length should be positive", (macs[i].getMacLength() >= 0)); in testGetMacLength()
775 assertEquals("Invalid mac length", 0, mac.getMacLength()); in testMacConstructor()
786 mac.getMacLength(); in testMacConstructor()
854 output = new byte[mac.getMacLength()]; in test_ConsistentBetweenProviders()
860 byte[] tmp = new byte[mac.getMacLength()]; in test_ConsistentBetweenProviders()
/libcore/luni/src/main/java/javax/crypto/
DMac.java279 public final int getMacLength() { in getMacLength() method in Mac