Lines Matching refs:result
490 void mbedtls_x509_crl_parse( char * crl_file, int result )
498 TEST_ASSERT( mbedtls_x509_crl_parse_file( &crl, crl_file ) == result );
546 int result, int flags_result,
581 TEST_ASSERT( ret == result );
591 TEST_ASSERT( ret == result || ret == MBEDTLS_ERR_ECP_IN_PROGRESS );
602 char *cn_name_str, int result, int flags_result,
652 TEST_ASSERT( res == ( result ) );
664 TEST_ASSERT( res == ( result ) );
772 void mbedtls_x509_time_is_past( char * crt_file, char * entity, int result )
781 TEST_ASSERT( mbedtls_x509_time_is_past( &crt.valid_from ) == result );
783 TEST_ASSERT( mbedtls_x509_time_is_past( &crt.valid_to ) == result );
793 void mbedtls_x509_time_is_future( char * crt_file, char * entity, int result )
802 TEST_ASSERT( mbedtls_x509_time_is_future( &crt.valid_from ) == result );
804 TEST_ASSERT( mbedtls_x509_time_is_future( &crt.valid_to ) == result );
814 void x509parse_crt_file( char * crt_file, int result )
820 TEST_ASSERT( mbedtls_x509_crt_parse_file( &crt, crt_file ) == result );
828 void x509parse_crt( data_t * buf, char * result_str, int result )
840 TEST_ASSERT( mbedtls_x509_crt_parse_der( &crt, buf->x, buf->len ) == ( result ) );
842 if( ( result ) == 0 )
856 TEST_ASSERT( mbedtls_x509_crt_parse_der_nocopy( &crt, buf->x, buf->len ) == ( result ) );
858 if( ( result ) == 0 )
875 …T( mbedtls_x509_crt_parse_der_with_ext_cb( &crt, buf->x, buf->len, 0, NULL, NULL ) == ( result ) );
877 if( ( result ) == 0 )
892 …T( mbedtls_x509_crt_parse_der_with_ext_cb( &crt, buf->x, buf->len, 1, NULL, NULL ) == ( result ) );
894 if( ( result ) == 0 )
911 void x509parse_crt_cb( data_t * buf, char * result_str, int result )
929 …509_crt_parse_der_with_ext_cb( &crt, buf->x, buf->len, 0, parse_crt_ext_cb, &oid ) == ( result ) );
931 if( ( result ) == 0 )
946 …509_crt_parse_der_with_ext_cb( &crt, buf->x, buf->len, 1, parse_crt_ext_cb, &oid ) == ( result ) );
948 if( ( result ) == 0 )
965 void x509parse_crl( data_t * buf, char * result_str, int result )
975 TEST_ASSERT( mbedtls_x509_crl_parse( &crl, buf->x, buf->len ) == ( result ) );
976 if( ( result ) == 0 )
1082 int flags_result, int result,
1114 TEST_ASSERT( res == ( result ) );