Lines Matching defs:c
18 static TEEC_Result cmd_new_var(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_var()
36 static TEEC_Result cmd_new_fmm_var(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_fmm_var()
55 static TEEC_Result cmd_new_fmm_ctx(ADBG_Case_t *c, TEEC_Session *s, in cmd_new_fmm_ctx()
76 static TEEC_Result cmd_free_handle(ADBG_Case_t *c, TEEC_Session *s, in cmd_free_handle()
96 static TEEC_Result cmd_from_octet_string(ADBG_Case_t *c, TEEC_Session *s, in cmd_from_octet_string()
118 static TEEC_Result cmd_from_s32(ADBG_Case_t *c, TEEC_Session *s, in cmd_from_s32()
136 static TEEC_Result cmd_get_bit(ADBG_Case_t *c, TEEC_Session *s, in cmd_get_bit()
155 static TEEC_Result cmd_get_bit_count(ADBG_Case_t *c, TEEC_Session *s, in cmd_get_bit_count()
174 static TEEC_Result cmd_binary_cmd(ADBG_Case_t *c, TEEC_Session *s, uint32_t cmd, in cmd_binary_cmd()
192 static TEEC_Result cmd_unary_cmd(ADBG_Case_t *c, TEEC_Session *s, uint32_t cmd, in cmd_unary_cmd()
209 static TEEC_Result cmd_ternary_cmd(ADBG_Case_t *c, TEEC_Session *s, in cmd_ternary_cmd()
229 static TEEC_Result cmd_neg(ADBG_Case_t *c, TEEC_Session *s, uint32_t hop, in cmd_neg()
235 static TEEC_Result cmd_add(ADBG_Case_t *c, TEEC_Session *s, in cmd_add()
241 static TEEC_Result cmd_sub(ADBG_Case_t *c, TEEC_Session *s, in cmd_sub()
247 static TEEC_Result cmd_mul(ADBG_Case_t *c, TEEC_Session *s, in cmd_mul()
253 static TEEC_Result cmd_mod(ADBG_Case_t *c, TEEC_Session *s, in cmd_mod()
259 static TEEC_Result cmd_invmod(ADBG_Case_t *c, TEEC_Session *s, in cmd_invmod()
266 static TEEC_Result cmd_addmod(ADBG_Case_t *c, TEEC_Session *s, in cmd_addmod()
274 static TEEC_Result cmd_submod(ADBG_Case_t *c, TEEC_Session *s, in cmd_submod()
282 static TEEC_Result cmd_mulmod(ADBG_Case_t *c, TEEC_Session *s, in cmd_mulmod()
290 static TEEC_Result cmd_is_prime(ADBG_Case_t *c, TEEC_Session *s, uint32_t hop, in cmd_is_prime()
310 static TEEC_Result cmd_shift_right(ADBG_Case_t *c, TEEC_Session *s, in cmd_shift_right()
329 static TEEC_Result cmd_to_fmm(ADBG_Case_t *c, TEEC_Session *s, uint32_t hsrc, in cmd_to_fmm()
348 static TEEC_Result cmd_from_fmm(ADBG_Case_t *c, TEEC_Session *s, uint32_t hsrc, in cmd_from_fmm()
368 static TEEC_Result cmd_compute_fmm(ADBG_Case_t *c, TEEC_Session *s, in cmd_compute_fmm()
390 static TEEC_Result cmd_compute_egcd(ADBG_Case_t *c, TEEC_Session *s, in cmd_compute_egcd()
412 static TEEC_Result cmd_compute_gcd(ADBG_Case_t *c, TEEC_Session *s, in cmd_compute_gcd()
433 static TEEC_Result convert_from_string(ADBG_Case_t *c, TEEC_Session *s, in convert_from_string()
477 static TEEC_Result cmd_get_value(ADBG_Case_t *c, TEEC_Session *s, uint8_t *buf, in cmd_get_value()
499 static TEEC_Result __maybe_unused print_handle(ADBG_Case_t *c, TEEC_Session *s, in print_handle()
529 static TEEC_Result cmd_get_value_s32(ADBG_Case_t *c, TEEC_Session *s, in cmd_get_value_s32()
548 static TEEC_Result cmd_cmp(ADBG_Case_t *c, TEEC_Session *s, uint32_t hop1, in cmd_cmp()
568 static TEEC_Result cmd_cmp_s32(ADBG_Case_t *c, TEEC_Session *s, uint32_t hop, in cmd_cmp_s32()
588 static TEEC_Result cmd_div(ADBG_Case_t *c, TEEC_Session *s, uint32_t hop1, in cmd_div()
607 static void test_4101(ADBG_Case_t *c) in test_4101()
684 static void test_4102(ADBG_Case_t *c) in test_4102()
766 static void test_4103(ADBG_Case_t *c) in test_4103()
829 static TEEC_Result compare_str(ADBG_Case_t *c, TEEC_Session *s, in compare_str()
863 static TEEC_Result compare_s32(ADBG_Case_t *c, TEEC_Session *s, in compare_s32()
890 static void test_4104(ADBG_Case_t *c) in test_4104()
974 static TEEC_Result compare_handle(ADBG_Case_t *c, TEEC_Session *s, in compare_handle()
988 static bool do_addsub(ADBG_Case_t *c, TEEC_Session *s, const char *str_s, in do_addsub()
1078 static void test_4105(ADBG_Case_t *c) in test_4105()
1157 static void test_4106(ADBG_Case_t *c) in test_4106()
1209 static bool do_mul(ADBG_Case_t *c, TEEC_Session *s, const char *str_s, in do_mul()
1257 static void test_4107(ADBG_Case_t *c) in test_4107()
1312 static bool do_div(ADBG_Case_t *c, TEEC_Session *s, const char *str_s, in do_div()
1397 static void test_4108(ADBG_Case_t *c) in test_4108()
1613 static bool test_4109_mod(ADBG_Case_t *c, TEEC_Session *s, const char *str_op, in test_4109_mod()
1658 static void test_4109(ADBG_Case_t *c) in test_4109()
1802 static bool test_4110_mod(ADBG_Case_t *c, TEEC_Session *s, in test_4110_mod()
1877 static bool test_4110_fmm(ADBG_Case_t *c, TEEC_Session *s, in test_4110_fmm()
1964 static void test_4110(ADBG_Case_t *c) in test_4110()
2027 static bool test_4111_invmod(ADBG_Case_t *c, TEEC_Session *s, in test_4111_invmod()
2090 static void test_4111(ADBG_Case_t *c) in test_4111()
2194 static bool test_4112_is_prime(ADBG_Case_t *c, TEEC_Session *s, in test_4112_is_prime()
2225 static void test_4112(ADBG_Case_t *c) in test_4112()
2304 static bool test_4113_shift_right(ADBG_Case_t *c, TEEC_Session *s, in test_4113_shift_right()
2343 static void test_4113(ADBG_Case_t *c) in test_4113()
2408 static bool test_4114_gcd(ADBG_Case_t *c, TEEC_Session *s, const char *strx, in test_4114_gcd()
2477 static void test_4114(ADBG_Case_t *c) in test_4114()