Home
last modified time | relevance | path

Searched refs:messageSize (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/keystore/src/android/keystore/cts/
DRsaCipherPerformanceTest.java55 for (int messageSize : messageSizes) { in testRsaCipher()
56 if (messageSize > maxMessageSize) { in testRsaCipher()
63 messageSize), in testRsaCipher()
67 messageSize), in testRsaCipher()
71 messageSize), in testRsaCipher()
75 messageSize)); in testRsaCipher()
108 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreRsaEncryptMeasurable() argument
109 super(keyGenerator, "encrypt", keySize, messageSize); in KeystoreRsaEncryptMeasurable()
136 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreRsaDecryptMeasurable() argument
137 super(keyGenerator, "decrypt", keySize, messageSize); in KeystoreRsaDecryptMeasurable()
DEcdsaSignaturePerformanceTest.java62 for (int messageSize : messageSizes) { in testEcdsaSign()
65 androidKeystoreEcGenerator, keySize, messageSize), in testEcdsaSign()
67 androidKeystoreEcGenerator, keySize, messageSize), in testEcdsaSign()
69 defaultKeystoreEcGenerator, keySize, messageSize), in testEcdsaSign()
71 defaultKeystoreEcGenerator, keySize, messageSize)); in testEcdsaSign()
103 KeystoreEcSignMeasurable(KeystoreKeyGenerator keyGen, int keySize, int messageSize) in KeystoreEcSignMeasurable() argument
105 super(keyGen, "sign", keySize, messageSize); in KeystoreEcSignMeasurable()
131 KeystoreEcVerifyMeasurable(KeystoreKeyGenerator keyGen, int keySize, int messageSize) in KeystoreEcVerifyMeasurable() argument
133 super(keyGen, "verify", keySize, messageSize); in KeystoreEcVerifyMeasurable()
DAesCipherPerformanceTest.java64 for (int messageSize : messageSizes) { in testAesCipher()
67 androidKeystoreAesGenerator, keySize, messageSize), in testAesCipher()
69 defaultKeystoreAesGenerator, keySize, messageSize), in testAesCipher()
71 androidKeystoreAesGenerator, keySize, messageSize), in testAesCipher()
73 defaultKeystoreAesGenerator, keySize, messageSize)); in testAesCipher()
100 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreAesEncryptMeasurable() argument
101 super(keyGenerator, "encrypt", keySize, messageSize); in KeystoreAesEncryptMeasurable()
128 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreAesDecryptMeasurable() argument
129 super(keyGenerator, "decrypt", keySize, messageSize); in KeystoreAesDecryptMeasurable()
DDesCipherPerformanceTest.java66 for (int messageSize : messageSizes) { in testDesCipher()
69 androidKeystoreDesGenerator, keySize, messageSize), in testDesCipher()
71 defaultKeystoreDesGenerator, keySize, messageSize), in testDesCipher()
73 androidKeystoreDesGenerator, keySize, messageSize), in testDesCipher()
75 defaultKeystoreDesGenerator, keySize, messageSize)); in testDesCipher()
102 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreDesEncryptMeasurable() argument
103 super(keyGenerator, "encrypt", keySize, messageSize); in KeystoreDesEncryptMeasurable()
130 KeystoreKeyGenerator keyGenerator, int keySize, int messageSize) throws Exception { in KeystoreDesDecryptMeasurable() argument
131 super(keyGenerator, "decrypt", keySize, messageSize); in KeystoreDesDecryptMeasurable()
DRsaSignaturePerformanceTest.java95 for (int messageSize : messageSizes) { in testRsaSign()
98 androidKeystoreRsaGenerator, keySize, messageSize), in testRsaSign()
100 defaultKeystoreRsaGenerator, keySize, messageSize), in testRsaSign()
102 androidKeystoreRsaGenerator, keySize, messageSize), in testRsaSign()
104 defaultKeystoreRsaGenerator, keySize, messageSize)); in testRsaSign()
130 KeystoreRsaSignMeasurable(KeystoreKeyGenerator keyGen, int keySize, int messageSize) in KeystoreRsaSignMeasurable() argument
132 super(keyGen, "sign", keySize, messageSize); in KeystoreRsaSignMeasurable()
158 KeystoreRsaVerifyMeasurable(KeystoreKeyGenerator keyGen, int keySize, int messageSize) in KeystoreRsaVerifyMeasurable() argument
160 super(keyGen, "verify", keySize, messageSize); in KeystoreRsaVerifyMeasurable()
DHmacMacPerformanceTest.java57 for (int messageSize : messageSizes) { in testHmac()
60 androidKeystoreHmacKeyGenerator, keySize, messageSize), in testHmac()
62 defaultKeystoreHmacGenerator, keySize, messageSize)); in testHmac()
86 KeystoreKeyGenerator generator, int keySize, int messageSize) throws Exception { in KeystoreHmacMacMeasurable() argument
87 super(generator, "sign", keySize, messageSize); in KeystoreHmacMacMeasurable()
DPerformanceTestBase.java164 KeystoreKeyGenerator generator, String operation, int keySize, int messageSize) in KeystoreMeasurable() argument
168 if (messageSize < 0) { in KeystoreMeasurable()
177 + "/" + messageSize); in KeystoreMeasurable()
178 mMessage = TestUtils.generateRandomMessage(messageSize); in KeystoreMeasurable()
DTestUtils.java1078 static byte[] generateRandomMessage(int messageSize) { in generateRandomMessage() argument
1079 byte[] message = new byte[messageSize]; in generateRandomMessage()
/cts/tests/tests/midi/src/android/midi/cts/
DMidiEchoTest.java360 public void checkEchoVariableMessage(int messageSize) throws Exception { in checkEchoVariableMessage() argument
372 int numNotes = messageSize / 3; in checkEchoVariableMessage()