Home
last modified time | relevance | path

Searched refs:expectedSizeBits (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyGeneratorTest.java272 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize() local
276 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testDefaultKeySize()
788 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testLimitedUseKey() local
792 assertEquals(expectedSizeBits, TestUtils.getKeyInfo(key).getKeySize()); in testLimitedUseKey()
DKeyPairGeneratorTest.java264 int expectedSizeBits = DEFAULT_KEY_SIZES.get(algorithm); in testDefaultKeySize() local
268 assertEquals(expectedSizeBits, in testDefaultKeySize()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java347 public static void assertKeySize(int expectedSizeBits, KeyPair keyPair) { in assertKeySize() argument
348 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPrivate())); in assertKeySize()
349 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPublic())); in assertKeySize()