Searched refs:unit (Results 1 – 3 of 3) sorted by relevance
/optee_test-3.20.0/ta/aes_perf/ |
A D | ta_aes_perf.c | 89 int unit = 0; in cmd_process() local 138 unit = params[2].value.b; in cmd_process() 139 if (!unit) in cmd_process() 140 unit = insz; in cmd_process() 149 for (i = 0; i < insz / unit; i++) { in cmd_process() 150 res = do_update(crypto_op, in, unit, out, &outsz); in cmd_process() 152 in = (void *)((uintptr_t)in + unit); in cmd_process() 153 out = (void *)((uintptr_t)out + unit); in cmd_process() 155 if (insz % unit) { in cmd_process() 156 res = do_update(crypto_op, in, insz % unit, out, &outsz); in cmd_process()
|
/optee_test-3.20.0/host/xtest/ |
A D | aes_perf.c | 188 size_t unit, int warmup, unsigned int l, unsigned int n) in usage() argument 212 fprintf(stderr, " (0 to ignore) [%zu]\n", unit); in usage() 429 void aes_perf_run_test(int mode, int keysize, int decrypt, size_t size, size_t unit, in aes_perf_run_test() argument 477 op.params[2].value.b = unit; in aes_perf_run_test() 484 verbose("unit=%zu\n", unit); in aes_perf_run_test() 545 #define USAGE() usage(argv[0], keysize, mode, size, unit, warmup, l, n) 554 size_t unit = CRYPTO_DEF_UNIT_SIZE; /* Divide buffer (-u) */ in aes_perf_runner_cmd_parser() local 658 unit = atoi(argv[i]); in aes_perf_runner_cmd_parser() 680 aes_perf_run_test(mode, keysize, decrypt, size, unit, n, l, in aes_perf_runner_cmd_parser()
|
A D | crypto_common.h | 42 size_t unit, unsigned int n, unsigned int l,
|
Completed in 4 milliseconds