Lines Matching refs:char

44 char *mystrsep(char **stringp, const char *delim)
46 const char *p;
47 char *ret = *stringp;
75 char buf[512];
76 char *p;
89 char *p = ctx->p;
121 void x509_cert_info( char *crt_file, char *result_str )
124 char buf[2000];
144 void mbedtls_x509_crl_info( char *crl_file, char *result_str )
147 char buf[2000];
167 void mbedtls_x509_csr_info( char *csr_file, char *result_str )
170 char buf[2000];
190 void x509_verify_info( int flags, char *prefix, char *result_str )
192 char buf[2000];
206 void x509_verify( char *crt_file, char *ca_file, char *crl_file,
207 char *cn_name_str, int result, int flags_result,
208 char *verify_callback )
216 char * cn_name = NULL;
251 void x509_verify_callback( char *crt_file, char *ca_file,
252 int exp_ret, char *exp_vrfy_out )
280 void mbedtls_x509_dn_gets( char *crt_file, char *entity, char *result_str )
283 char buf[2000];
308 void mbedtls_x509_time_is_past( char *crt_file, char *entity, int result )
329 void mbedtls_x509_time_is_future( char *crt_file, char *entity, int result )
350 void x509parse_crt_file( char *crt_file, int result )
364 void x509parse_crt( char *crt_data, char *result_str, int result )
367 unsigned char buf[2000];
368 unsigned char output[2000];
380 res = mbedtls_x509_crt_info( (char *) output, 2000, "", &crt );
385 TEST_ASSERT( strcmp( (char *) output, result_str ) == 0 );
394 void x509parse_crl( char *crl_data, char *result_str, int result )
397 unsigned char buf[2000];
398 unsigned char output[2000];
410 res = mbedtls_x509_crl_info( (char *) output, 2000, "", &crl );
415 TEST_ASSERT( strcmp( (char *) output, result_str ) == 0 );
424 void mbedtls_x509_csr_parse( char *csr_der_hex, char *ref_out, int ref_ret )
427 unsigned char *csr_der = NULL;
428 char my_out[1000];
453 void mbedtls_x509_crt_parse_path( char *crt_path, int ret, int nb_crt )
475 void mbedtls_x509_crt_verify_chain( char *chain_paths, char *trusted_ca, int flags_result )
477 char* act;
503 void x509_oid_desc( char *oid_str, char *ref_desc )
506 const char *desc = NULL;
507 unsigned char buf[20];
533 void x509_oid_numstr( char *oid_str, char *numstr, int blen, int ret )
536 unsigned char oid_buf[20];
537 char num_buf[100];
559 void x509_check_key_usage( char *crt_file, int usage, int ret )
575 void x509_check_extended_key_usage( char *crt_file, char *usage_hex, int ret )
578 char oid[50];
583 len = unhexify( (unsigned char *) oid, usage_hex );
595 void x509_get_time( int tag, char *time_str, int ret,
600 unsigned char buf[17];
601 unsigned char* start = buf;
602 unsigned char* end = buf;
605 *end = (unsigned char)tag; end++;
628 void x509_parse_rsassa_pss_params( char *hex_params, int params_tag,