Home
last modified time | relevance | path

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

/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp32 #define TEST_BUFSIZE (1 * 1024 * 1024) /* 1 MiB */ macro
64 buf = new (std::nothrow) uint8_t[TEST_BUFSIZE + in android_security_cts_EncryptionTest_aesIsFast()
73 memset(buf, 0xF0, TEST_BUFSIZE); in android_security_cts_EncryptionTest_aesIsFast()
79 EVP_DecryptUpdate(&ctx, buf, &len, buf, TEST_BUFSIZE); in android_security_cts_EncryptionTest_aesIsFast()
88 (double)(TEST_ITERATIONS * TEST_BUFSIZE / (1024 * 1024)) * 1000.0 / ms; in android_security_cts_EncryptionTest_aesIsFast()