Home
last modified time | relevance | path

Searched refs:getKeySizeBits (Results 1 – 5 of 5) 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()
DCipherTest.java336 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEmptyPlaintextEncryptsAndDecrypts()
381 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testCiphertextGeneratedByAndroidKeyStoreDecryptsByAndroidKeyStore()
458 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testCiphertextGeneratedByHighestPriorityProviderDecryptsByAndroidKeyStore()
528 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testCiphertextGeneratedByAndroidKeyStoreDecryptsByHighestPriorityProvider()
602 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testMaxSizedPlaintextSupported()
766 int modulusLengthBytes = (TestUtils.getKeySizeBits(decryptionKey) + 7) / 8; in testKat()
1368 (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEntropyConsumption()
DTestUtils.java117 static int getKeySizeBits(Key key) { in getKeySizeBits() method in TestUtils
128 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPrivate())); in assertKeySize()
129 assertEquals(expectedSizeBits, getKeySizeBits(keyPair.getPublic())); in assertKeySize()
766 int modulusSizeBytes = (getKeySizeBits(key) + 7) / 8; in getMaxSupportedPlaintextInputSizeBytes()
DRSACipherTest.java239 byte[] expectedCiphertext = new byte[(TestUtils.getKeySizeBits(publicKey) + 7) / 8]; in testNoPaddingWithZeroMessage()
DSignatureTest.java604 (TestUtils.getKeySizeBits(privateKey) + 7) / 8; in DISABLED_testEntropyConsumption()