Lines Matching refs:ret_orig
23 uint32_t ret_orig = 0; in cmd_new_var() local
28 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_NEW_VAR, &op, &ret_orig); in cmd_new_var()
29 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_new_var()
41 uint32_t ret_orig = 0; in cmd_new_fmm_var() local
47 &ret_orig); in cmd_new_fmm_var()
48 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_new_fmm_var()
61 uint32_t ret_orig = 0; in cmd_new_fmm_ctx() local
68 &ret_orig); in cmd_new_fmm_ctx()
69 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_new_fmm_ctx()
84 uint32_t ret_orig = 0; in cmd_free_handle() local
90 &ret_orig); in cmd_free_handle()
91 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_free_handle()
102 uint32_t ret_orig = 0; in cmd_from_octet_string() local
112 &ret_orig); in cmd_from_octet_string()
113 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_from_octet_string()
123 uint32_t ret_orig = 0; in cmd_from_s32() local
130 &ret_orig); in cmd_from_s32()
131 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_from_s32()
141 uint32_t ret_orig = 0; in cmd_get_bit() local
147 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_GET_BIT, &op, &ret_orig); in cmd_get_bit()
148 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_get_bit()
160 uint32_t ret_orig = 0; in cmd_get_bit_count() local
166 &ret_orig); in cmd_get_bit_count()
167 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_get_bit_count()
179 uint32_t ret_orig = 0; in cmd_binary_cmd() local
186 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in cmd_binary_cmd()
187 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_binary_cmd()
197 uint32_t ret_orig = 0; in cmd_unary_cmd() local
203 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in cmd_unary_cmd()
204 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_unary_cmd()
215 uint32_t ret_orig = 0; in cmd_ternary_cmd() local
223 res = TEEC_InvokeCommand(s, cmd, &op, &ret_orig); in cmd_ternary_cmd()
224 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_ternary_cmd()
295 uint32_t ret_orig = 0; in cmd_is_prime() local
302 &ret_orig); in cmd_is_prime()
303 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_is_prime()
315 uint32_t ret_orig = 0; in cmd_shift_right() local
323 &ret_orig); in cmd_shift_right()
324 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_shift_right()
334 uint32_t ret_orig = 0; in cmd_to_fmm() local
342 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_TO_FMM, &op, &ret_orig); in cmd_to_fmm()
343 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_to_fmm()
353 uint32_t ret_orig = 0; in cmd_from_fmm() local
362 &ret_orig); in cmd_from_fmm()
363 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_from_fmm()
374 uint32_t ret_orig = 0; in cmd_compute_fmm() local
384 &ret_orig); in cmd_compute_fmm()
385 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_compute_fmm()
396 uint32_t ret_orig = 0; in cmd_compute_egcd() local
406 &ret_orig); in cmd_compute_egcd()
407 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_compute_egcd()
482 uint32_t ret_orig = 0; in cmd_get_value() local
490 &ret_orig); in cmd_get_value()
491 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_get_value()
534 uint32_t ret_orig = 0; in cmd_get_value_s32() local
540 &ret_orig); in cmd_get_value_s32()
541 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_get_value_s32()
553 uint32_t ret_orig = 0; in cmd_cmp() local
559 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_CMP, &op, &ret_orig); in cmd_cmp()
560 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_cmp()
573 uint32_t ret_orig = 0; in cmd_cmp_s32() local
579 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_CMP_S32, &op, &ret_orig); in cmd_cmp_s32()
580 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_cmp_s32()
593 uint32_t ret_orig = 0; in cmd_div() local
601 res = TEEC_InvokeCommand(s, TA_CRYPT_CMD_ARITH_DIV, &op, &ret_orig); in cmd_div()
602 ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TRUSTED_APP, ret_orig); in cmd_div()
610 uint32_t ret_orig = 0; in test_4101() local
615 NULL, &ret_orig))) in test_4101()
687 uint32_t ret_orig = 0; in test_4102() local
710 NULL, &ret_orig))) in test_4102()
769 uint32_t ret_orig = 0; in test_4103() local
781 NULL, &ret_orig))) in test_4103()
893 uint32_t ret_orig = 0; in test_4104() local
916 NULL, &ret_orig))) in test_4104()
1081 uint32_t ret_orig = 0; in test_4105() local
1141 NULL, &ret_orig))) in test_4105()
1160 uint32_t ret_orig = 0; in test_4106() local
1176 NULL, &ret_orig))) in test_4106()
1260 uint32_t ret_orig = 0; in test_4107() local
1296 NULL, &ret_orig))) in test_4107()
1400 uint32_t ret_orig = 0; in test_4108() local
1446 NULL, &ret_orig))) in test_4108()
1661 uint32_t ret_orig = 0; in test_4109() local
1666 NULL, &ret_orig))) in test_4109()
1967 uint32_t ret_orig = 0; in test_4110() local
1972 NULL, &ret_orig))) in test_4110()
2093 uint32_t ret_orig = 0; in test_4111() local
2098 NULL, &ret_orig))) in test_4111()
2228 uint32_t ret_orig = 0; in test_4112() local
2233 NULL, &ret_orig))) in test_4112()
2346 uint32_t ret_orig = 0; in test_4113() local
2351 NULL, &ret_orig))) in test_4113()
2480 uint32_t ret_orig = 0; in test_4114() local
2485 NULL, &ret_orig))) in test_4114()