HomeSort by relevance Sort by last modified time
    Searched defs:mac1 (Results 1 - 4 of 4) sorted by null

  /external/conscrypt/src/test/java/org/conscrypt/
MacTest.java 56 Mac mac1 = Mac.getInstance("HmacSHA256", p); local
57 mac1.init(key1);
58 mac1.update(testString);
59 byte[] output1 = mac1.doFinal();
60 assertEquals(mac1.getMacLength(), output1.length);
  /libcore/luni/src/test/java/libcore/java/text/
OldAttributedCharacterIteratorAttributeTest.java 80 MockAttributedCharacterIteratorAttribute mac1 = new MockAttributedCharacterIteratorAttribute( local
85 assertFalse("Attributes are equal", mac2.equals(mac1));
90 assertFalse("Attributes are equal", mac3.equals(mac1));
92 AttributedCharacterIterator.Attribute mac4 = mac1;
94 assertTrue("Attributes are non-equal", mac4.equals(mac1));
106 MockAttributedCharacterIteratorAttribute mac1 = new MockAttributedCharacterIteratorAttribute( local
108 assertEquals("Incorrect attribute name", "test1", mac1.getName());
119 MockAttributedCharacterIteratorAttribute mac1 = new MockAttributedCharacterIteratorAttribute( local
124 assertTrue("The hash codes of same attributes are not equal", mac1
130 assertTrue("The hash codes of different attributes are equal", mac1
148 MockAttributedCharacterIteratorAttribute mac1 = new MockAttributedCharacterIteratorAttribute( local
199 MockAttributedCharacterIteratorAttribute mac1 = new MockAttributedCharacterIteratorAttribute( local
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java 552 Mac mac1 = (Mac) macs[i].clone(); local
553 assertEquals(mac1.getAlgorithm(), macs[i].getAlgorithm());
554 assertEquals(mac1.getProvider(), macs[i].getProvider());
555 assertFalse(macs[i].equals(mac1));
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java 548 Mac mac1 = (Mac) macs[i].clone(); local
549 assertEquals(mac1.getAlgorithm(), macs[i].getAlgorithm());
550 assertEquals(mac1.getProvider(), macs[i].getProvider());
551 assertFalse(macs[i].equals(mac1));
    [all...]

Completed in 377 milliseconds