Lines Matching refs:ADBG_EXPECT_TEEC_SUCCESS

517 		if (!ADBG_EXPECT_TEEC_SUCCESS(c, res))  in print_handle()
613 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
620 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
626 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
633 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
639 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
646 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
652 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
659 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
665 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
668 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4101()
674 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, &session, handle))) in test_4101()
708 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4102()
713 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, &session, 512, &ha))) in test_4102()
715 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, &session, 512, &hb))) in test_4102()
727 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, in test_4102()
733 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_get_value(c, &session, in test_4102()
748 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_from_octet_string(c, in test_4102()
752 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_cmp(c, &session, in test_4102()
779 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4103()
784 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, &session, 512, &h))) in test_4103()
793 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4103()
796 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4103()
801 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4103()
814 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, in test_4103()
839 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_str()
842 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_str()
846 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_str()
849 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_str()
853 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_str()
858 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, h1)); in compare_str()
859 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, h2)); in compare_str()
872 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_s32()
876 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_s32()
880 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_s32()
885 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, h)); in compare_s32()
914 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4104()
921 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_str(c, &session, in test_4104()
961 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_s32(c, &session, in test_4104()
980 if (!ADBG_EXPECT_TEEC_SUCCESS(c, res)) in compare_handle()
997 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &ha))) in do_addsub()
999 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &hb))) in do_addsub()
1001 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &hc))) in do_addsub()
1003 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &hr))) in do_addsub()
1008 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_r, hr))) in do_addsub()
1010 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_s, ha))) in do_addsub()
1012 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_t, hb))) in do_addsub()
1016 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, ha, hb, hc))) in do_addsub()
1019 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hr, 0))) in do_addsub()
1022 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, ha, hb, ha))) in do_addsub()
1025 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, ha, hr, 0))) in do_addsub()
1028 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_sub(c, s, ha, hb, ha))) in do_addsub()
1031 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, ha, hb, hb))) in do_addsub()
1034 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hb, hr, 0))) in do_addsub()
1039 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_s, hr))) in do_addsub()
1041 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_r, ha))) in do_addsub()
1043 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_t, hb))) in do_addsub()
1047 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_sub(c, s, ha, hb, hc))) in do_addsub()
1050 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hr, 0))) in do_addsub()
1053 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_sub(c, s, ha, hb, ha))) in do_addsub()
1056 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, ha, hr, 0))) in do_addsub()
1059 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, ha, hb, ha))) in do_addsub()
1062 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_sub(c, s, ha, hb, hb))) in do_addsub()
1065 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hb, hr, 0))) in do_addsub()
1070 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, ha)); in do_addsub()
1071 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hb)); in do_addsub()
1072 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in do_addsub()
1073 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hr)); in do_addsub()
1139 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4105()
1174 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4106()
1179 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, &session, 1024, &h1))) in test_4106()
1181 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, &session, 1024, &h2))) in test_4106()
1185 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, in test_4106()
1189 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, in test_4106()
1193 if (n && !ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, in test_4106()
1197 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_neg(c, &session, h1, h1))) in test_4106()
1199 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, &session, in test_4106()
1218 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &ha))) in do_mul()
1220 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 1024, &hb))) in do_mul()
1222 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in do_mul()
1224 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hr))) in do_mul()
1227 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_r, hr))) in do_mul()
1229 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_s, ha))) in do_mul()
1231 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_t, hb))) in do_mul()
1235 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mul(c, s, ha, hb, hc))) in do_mul()
1238 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hr, 0))) in do_mul()
1241 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mul(c, s, ha, hb, ha))) in do_mul()
1244 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, ha, hr, 0))) in do_mul()
1249 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, ha)); in do_mul()
1250 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hb)); in do_mul()
1251 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in do_mul()
1252 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hr)); in do_mul()
1294 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4107()
1325 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hn))) in do_div()
1327 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hd))) in do_div()
1329 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hq))) in do_div()
1331 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hr))) in do_div()
1333 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hv))) in do_div()
1337 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in do_div()
1340 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in do_div()
1345 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_s, hn))) in do_div()
1347 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_t, hd))) in do_div()
1351 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_div(c, s, hn, hd, hq, hr))) in do_div()
1354 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in do_div()
1360 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mul(c, s, hq, hd, hv))) in do_div()
1363 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, hv, hr, hv))) in do_div()
1366 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hn, hv, 0))) in do_div()
1370 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in do_div()
1378 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in do_div()
1387 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hn)); in do_div()
1388 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hd)); in do_div()
1389 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hq)); in do_div()
1390 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hr)); in do_div()
1391 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hv)); in do_div()
1392 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hout)); in do_div()
1444 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4108()
1622 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop))) in test_4109_mod()
1624 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hn))) in test_4109_mod()
1626 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in test_4109_mod()
1628 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hres))) in test_4109_mod()
1631 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4109_mod()
1634 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4109_mod()
1637 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4109_mod()
1642 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mod(c, s, hop, hn, hc))) in test_4109_mod()
1645 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hres, 0))) in test_4109_mod()
1650 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop)); in test_4109_mod()
1651 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hn)); in test_4109_mod()
1652 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in test_4109_mod()
1653 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hres)); in test_4109_mod()
1664 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4109()
1815 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop1))) in test_4110_mod()
1817 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop2))) in test_4110_mod()
1819 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hn))) in test_4110_mod()
1821 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in test_4110_mod()
1823 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &haddres))) in test_4110_mod()
1825 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hmulres))) in test_4110_mod()
1828 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_mod()
1831 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_mod()
1834 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_mod()
1837 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_mod()
1840 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_mod()
1845 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_addmod(c, s, hop1, hop2, hn, hc))) in test_4110_mod()
1848 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, haddres, 0))) in test_4110_mod()
1851 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_submod(c, s, haddres, hop2, hn, in test_4110_mod()
1855 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hop1, 0))) in test_4110_mod()
1859 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mulmod(c, s, hop1, hop2, hn, hc))) in test_4110_mod()
1862 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hmulres, 0))) in test_4110_mod()
1867 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop1)); in test_4110_mod()
1868 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop2)); in test_4110_mod()
1869 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hn)); in test_4110_mod()
1870 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in test_4110_mod()
1871 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, haddres)); in test_4110_mod()
1872 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hmulres)); in test_4110_mod()
1892 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_fmm_var(c, s, 2048, &hop1))) in test_4110_fmm()
1894 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_fmm_var(c, s, 2048, &hop2))) in test_4110_fmm()
1896 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hn))) in test_4110_fmm()
1898 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hres))) in test_4110_fmm()
1900 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_fmm_var(c, s, 2048, &hfmmres))) in test_4110_fmm()
1902 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in test_4110_fmm()
1905 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, str_n, hn))) in test_4110_fmm()
1907 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1911 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_get_bit(c, s, hn, 0, &n_is_odd))) in test_4110_fmm()
1918 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1922 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1927 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1930 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_to_fmm(c, s, hc, hn, hctx, hop1))) in test_4110_fmm()
1934 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1937 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_to_fmm(c, s, hc, hn, hctx, hop2))) in test_4110_fmm()
1941 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1945 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110_fmm()
1949 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hres, 0))) in test_4110_fmm()
1954 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop1)); in test_4110_fmm()
1955 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop2)); in test_4110_fmm()
1956 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hn)); in test_4110_fmm()
1957 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hres)); in test_4110_fmm()
1958 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hfmmres)); in test_4110_fmm()
1959 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in test_4110_fmm()
1960 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hctx)); in test_4110_fmm()
1970 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4110()
2038 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop))) in test_4111_invmod()
2040 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hn))) in test_4111_invmod()
2042 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in test_4111_invmod()
2044 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hres))) in test_4111_invmod()
2047 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4111_invmod()
2050 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4111_invmod()
2053 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4111_invmod()
2058 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_invmod(c, s, hop, hn, hc))) in test_4111_invmod()
2061 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hres, 0))) in test_4111_invmod()
2065 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mulmod(c, s, hres, hop, hn, hc))) in test_4111_invmod()
2068 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_cmp_s32(c, s, hc, 1, &cres))) in test_4111_invmod()
2074 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_invmod(c, s, hres, hn, hc))) in test_4111_invmod()
2077 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hop, 0))) in test_4111_invmod()
2082 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop)); in test_4111_invmod()
2083 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hn)); in test_4111_invmod()
2084 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in test_4111_invmod()
2085 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hres)); in test_4111_invmod()
2096 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4111()
2202 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop))) in test_4112_is_prime()
2205 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4112_is_prime()
2209 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_is_prime(c, s, hop, conf_level, in test_4112_is_prime()
2220 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop)); in test_4112_is_prime()
2231 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4112()
2313 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hop))) in test_4113_shift_right()
2315 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hc))) in test_4113_shift_right()
2317 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hres))) in test_4113_shift_right()
2320 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4113_shift_right()
2323 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4113_shift_right()
2328 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_shift_right(c, s, hop, bits, hc))) in test_4113_shift_right()
2331 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hc, hres, 0))) in test_4113_shift_right()
2336 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hop)); in test_4113_shift_right()
2337 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hc)); in test_4113_shift_right()
2338 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hres)); in test_4113_shift_right()
2349 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4113()
2420 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hx))) in test_4114_gcd()
2422 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hy))) in test_4114_gcd()
2424 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &ha))) in test_4114_gcd()
2426 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hb))) in test_4114_gcd()
2428 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &hgcd))) in test_4114_gcd()
2430 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &ht1))) in test_4114_gcd()
2432 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_new_var(c, s, 2048, &ht2))) in test_4114_gcd()
2435 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, strx, hx))) in test_4114_gcd()
2437 if (!ADBG_EXPECT_TEEC_SUCCESS(c, convert_from_string(c, s, stry, hy))) in test_4114_gcd()
2441 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4114_gcd()
2445 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_compute_gcd(c, s, hx, hy, ht1))) in test_4114_gcd()
2448 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hgcd, ht1, 0))) in test_4114_gcd()
2452 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mul(c, s, ha, hx, ht1))) in test_4114_gcd()
2455 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_mul(c, s, hb, hy, ht2))) in test_4114_gcd()
2458 if (!ADBG_EXPECT_TEEC_SUCCESS(c, cmd_add(c, s, ht1, ht2, ht1))) in test_4114_gcd()
2461 if (!ADBG_EXPECT_TEEC_SUCCESS(c, compare_handle(c, s, hgcd, ht1, 0))) in test_4114_gcd()
2466 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hx)); in test_4114_gcd()
2467 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hy)); in test_4114_gcd()
2468 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, ha)); in test_4114_gcd()
2469 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hb)); in test_4114_gcd()
2470 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, hgcd)); in test_4114_gcd()
2471 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, ht1)); in test_4114_gcd()
2472 ADBG_EXPECT_TEEC_SUCCESS(c, cmd_free_handle(c, s, ht2)); in test_4114_gcd()
2483 if (!ADBG_EXPECT_TEEC_SUCCESS(c, in test_4114()