Lines Matching refs:res

544     int res;
551 res = mbedtls_x509_crt_info(buf, 2000, "", &crt);
553 TEST_ASSERT(res != -1);
554 TEST_ASSERT(res != -2);
569 int res;
576 res = mbedtls_x509_crl_info(buf, 2000, "", &crl);
578 TEST_ASSERT(res != -1);
579 TEST_ASSERT(res != -2);
612 int res;
619 res = mbedtls_x509_csr_info(buf, 2000, "", &csr);
621 TEST_ASSERT(res != -1);
622 TEST_ASSERT(res != -2);
636 int res;
641 res = mbedtls_x509_crt_verify_info(buf, sizeof(buf), prefix, flags);
643 TEST_ASSERT(res >= 0);
719 int res;
761 res = mbedtls_x509_crt_verify_with_profile(&crt,
770 TEST_EQUAL(res, result);
779 res = mbedtls_x509_crt_verify_with_ca_cb(&crt,
788 TEST_EQUAL(res, result);
879 int res = 0;
890 res = mbedtls_x509_dn_gets(buf, 2000, &crt.subject);
893 TEST_EQUAL(res, ret);
895 TEST_ASSERT(res != -1);
896 TEST_ASSERT(res != -2);
910 int res = 0;
919 res = mbedtls_x509_dn_gets(buf, 2000, &crt.subject);
921 res = mbedtls_x509_dn_gets(buf, 2000, &crt.issuer);
926 TEST_ASSERT(res != -1);
927 TEST_ASSERT(res != -2);
1120 int res;
1131 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1132 TEST_ASSERT(res != -1);
1133 TEST_ASSERT(res != -2);
1148 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1150 TEST_ASSERT(res != -1);
1151 TEST_ASSERT(res != -2);
1165 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1167 TEST_ASSERT(res != -1);
1168 TEST_ASSERT(res != -2);
1182 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1184 TEST_ASSERT(res != -1);
1185 TEST_ASSERT(res != -2);
1205 int res;
1221 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1223 TEST_ASSERT(res != -1);
1224 TEST_ASSERT(res != -2);
1238 res = mbedtls_x509_crt_info((char *) output, 2000, "", &crt);
1240 TEST_ASSERT(res != -1);
1241 TEST_ASSERT(res != -2);
1258 int res;
1268 res = mbedtls_x509_crl_info((char *) output, 2000, "", &crl);
1270 TEST_ASSERT(res != -1);
1271 TEST_ASSERT(res != -2);
1465 int res;
1490 res = mbedtls_x509_crt_verify_with_profile(&chain, &trusted, NULL, profile,
1493 TEST_EQUAL(res, (result));