Lines Matching refs:res
125 int res;
131 res = mbedtls_x509_crt_info( buf, 2000, "", &crt );
133 TEST_ASSERT( res != -1 );
134 TEST_ASSERT( res != -2 );
148 int res;
154 res = mbedtls_x509_crl_info( buf, 2000, "", &crl );
156 TEST_ASSERT( res != -1 );
157 TEST_ASSERT( res != -2 );
171 int res;
177 res = mbedtls_x509_csr_info( buf, 2000, "", &csr );
179 TEST_ASSERT( res != -1 );
180 TEST_ASSERT( res != -2 );
193 int res;
197 res = mbedtls_x509_crt_verify_info( buf, sizeof( buf ), prefix, flags );
199 TEST_ASSERT( res >= 0 );
214 int res;
238 …res = mbedtls_x509_crt_verify_with_profile( &crt, &ca, &crl, &compat_profile, cn_name, &flags, f_v…
240 TEST_ASSERT( res == ( result ) );
284 int res = 0;
291 res = mbedtls_x509_dn_gets( buf, 2000, &crt.subject );
293 res = mbedtls_x509_dn_gets( buf, 2000, &crt.issuer );
297 TEST_ASSERT( res != -1 );
298 TEST_ASSERT( res != -2 );
369 int data_len, res;
380 res = mbedtls_x509_crt_info( (char *) output, 2000, "", &crt );
382 TEST_ASSERT( res != -1 );
383 TEST_ASSERT( res != -2 );
399 int data_len, res;
410 res = mbedtls_x509_crl_info( (char *) output, 2000, "", &crl );
412 TEST_ASSERT( res != -1 );
413 TEST_ASSERT( res != -2 );
479 int result, res;
491 res = mbedtls_x509_crt_verify( &chain, &trusted, NULL, NULL, &flags, NULL, NULL );
493 TEST_ASSERT( res == ( result ) );