Searched refs:msgSize (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/keymaster/4.0/vts/performance/ |
D | Benchmark.cpp | 421 #define BENCHMARK_KM_MSG(func, transform, keySize, msgSize) \ argument 422 BENCHMARK_CAPTURE(func, transform/keySize/msgSize, #transform "/" #keySize "/" #msgSize, \ 423 keySize, msgSize) \ 431 #define BENCHMARK_KM_CIPHER(transform, keySize, msgSize) \ argument 432 BENCHMARK_KM_MSG(encrypt, transform, keySize, msgSize) \ 433 BENCHMARK_KM_MSG(decrypt, transform, keySize, msgSize) 484 static void sign(benchmark::State& state, string transform, int keySize, int msgSize) { in sign() argument 492 string message = keymaster->GenerateMessage(msgSize); in sign() 510 static void verify(benchmark::State& state, string transform, int keySize, int msgSize) { in verify() argument 519 string message = keymaster->GenerateMessage(msgSize); in verify() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/performance/ |
D | KeyMintBenchmark.cpp | 354 #define BENCHMARK_KM_MSG(func, transform, keySize, msgSize) \ argument 355 BENCHMARK_CAPTURE(func, transform/keySize/msgSize, #transform "/" #keySize "/" #msgSize, \ 356 keySize, msgSize) \ 364 #define BENCHMARK_KM_CIPHER(transform, keySize, msgSize) \ argument 365 BENCHMARK_KM_MSG(encrypt, transform, keySize, msgSize) \ 366 BENCHMARK_KM_MSG(decrypt, transform, keySize, msgSize) 417 static void sign(benchmark::State& state, string transform, int keySize, int msgSize) { in sign() argument 427 string message = keymintTest->GenerateMessage(msgSize); in sign() 446 static void verify(benchmark::State& state, string transform, int keySize, int msgSize) { in verify() argument 455 string message = keymintTest->GenerateMessage(msgSize); in verify() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | SocketComm.cpp | 180 int32_t msgSize = readInt(mSockFd); in read() local 181 if (msgSize <= 0) { in read() 186 return readExactly(mSockFd, msgSize); in read()
|