Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_throughput.c17 #define TEST_BLOCK_SIZE 1024 * 1024 /* 1MB */ macro
384 in_out_fd = rk_crypto_mem_alloc(TEST_BLOCK_SIZE); in test_cipher_tp()
386 printf("rk_crypto_mem_alloc %uByte error!\n", TEST_BLOCK_SIZE); in test_cipher_tp()
391 if (posix_memalign((void *)&in_out_virt, page_size, TEST_BLOCK_SIZE) || !in_out_virt) { in test_cipher_tp()
392 printf("malloc %uByte error!\n", TEST_BLOCK_SIZE); in test_cipher_tp()
408 len = TEST_BLOCK_SIZE; in test_cipher_tp()
433 len = TEST_BLOCK_SIZE; in test_cipher_tp()
668 .len = TEST_BLOCK_SIZE, in test_ae_tp()
679 .len = TEST_BLOCK_SIZE, in test_ae_tp()
688 in_fd = rk_crypto_mem_alloc(TEST_BLOCK_SIZE); in test_ae_tp()
[all …]