Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DECDSASignatureTest.java45 int keySizeBits = TestUtils.getKeySizeBits(keyPair.getPublic()); in assertNONEwithECDSATruncatesInputToFieldSize()
87 int keySizeBits = TestUtils.getKeySizeBits(keyPair.getPublic()); in assertNONEwithECDSASupportsMessagesShorterThanFieldSize()
DTestUtils.java192 static int getKeySizeBits(Key key) { in getKeySizeBits() method in TestUtils
203 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPrivate())); in assertKeySize()
204 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPublic())); in assertKeySize()
883 return isKeyLongEnoughForSignatureAlgorithm(algorithm, getKeySizeBits(key)); in isKeyLongEnoughForSignatureAlgorithm()
912 return getMaxSupportedPlaintextInputSizeBytes(transformation, getKeySizeBits(key)); in getMaxSupportedPlaintextInputSizeBytes()
DRSACipherTest.java239 byte[] expectedCiphertext = new byte[(TestUtils.getKeySizeBits(publicKey) + 7) / 8]; in testNoPaddingWithZeroMessage()