/net-tools-3.4.0/mbedtls-2.4.0/scripts/ |
D | rename.pl | 73 while( my $filename = shift ) 75 print STDERR "$filename... "; 77 if( dir($filename)->parent eq $lib_include_dir || 78 dir($filename)->parent eq $lib_source_dir ) 83 if( -d $filename ) { print STDERR "skip (directory)\n"; next } 85 open my $rfh, '<', $filename or die; 104 $warnings{$filename} = [] unless $warnings{$filename}; 105 push @{ $warnings{$filename} }, $line; 110 open my $wfh, '>', $filename or die; 118 for my $filename (sort keys %warnings) { [all …]
|
D | generate_visualc_files.pl | 63 my ($filename) = @_; 66 open my $fh, '<', $filename or die "Could not read $filename\n"; 74 my ($content, $filename) = @_; 76 open my $fh, '>', $filename or die "Could not write to $filename\n";
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/hash/ |
D | generic_sum.c | 50 static int generic_wrapper( const mbedtls_md_info_t *md_info, char *filename, unsigned char *sum ) in generic_wrapper() argument 52 int ret = mbedtls_md_file( md_info, filename, sum ); in generic_wrapper() 55 mbedtls_fprintf( stderr, "failed to open: %s\n", filename ); in generic_wrapper() 58 mbedtls_fprintf( stderr, "failed to read: %s\n", filename ); in generic_wrapper() 63 static int generic_print( const mbedtls_md_info_t *md_info, char *filename ) in generic_print() argument 68 if( generic_wrapper( md_info, filename, sum ) != 0 ) in generic_print() 74 mbedtls_printf( " %s\n", filename ); in generic_print() 78 static int generic_check( const mbedtls_md_info_t *md_info, char *filename ) in generic_check() argument 94 if( ( f = fopen( filename, "rb" ) ) == NULL ) in generic_check() 96 mbedtls_printf( "failed to open: %s\n", filename ); in generic_check()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/pkey/ |
D | pk_sign.c | 68 char filename[512]; in main() local 133 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main() 135 if( ( f = fopen( filename, "wb+" ) ) == NULL ) in main() 138 mbedtls_printf( " failed\n ! Could not create %s\n\n", filename ); in main() 151 mbedtls_printf( "\n . Done (created \"%s\")\n\n", filename ); in main()
|
D | pk_verify.c | 63 char filename[512]; in main() local 91 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[2] ); in main() 93 if( ( f = fopen( filename, "rb" ) ) == NULL ) in main() 95 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
|
D | rsa_verify.c | 62 char filename[512]; in main() local 104 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main() 106 if( ( f = fopen( filename, "rb" ) ) == NULL ) in main() 108 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
|
D | rsa_sign_pss.c | 69 char filename[512]; in main() local 144 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main() 146 if( ( f = fopen( filename, "wb+" ) ) == NULL ) in main() 149 mbedtls_printf( " failed\n ! Could not create %s\n\n", filename ); in main() 162 mbedtls_printf( "\n . Done (created \"%s\")\n\n", filename ); in main()
|
D | rsa_sign.c | 63 char filename[512]; in main() local 141 mbedtls_snprintf( filename, sizeof(filename), "%s.sig", argv[1] ); in main() 143 if( ( f = fopen( filename, "wb+" ) ) == NULL ) in main() 156 mbedtls_printf( "\n . Done (created \"%s\")\n\n", filename ); in main()
|
D | rsa_verify_pss.c | 67 char filename[512]; in main() local 105 mbedtls_snprintf( filename, 512, "%s.sig", argv[2] ); in main() 107 if( ( f = fopen( filename, "rb" ) ) == NULL ) in main() 109 mbedtls_printf( "\n ! Could not open %s\n\n", filename ); in main()
|
D | key_app.c | 79 const char *filename; /* filename of the key file */ member 106 opt.filename = DFL_FILENAME; in main() 127 opt.filename = q; in main() 174 ret = mbedtls_pk_parse_keyfile( &pk, opt.filename, opt.password ); in main() 227 ret = mbedtls_pk_parse_public_keyfile( &pk, opt.filename ); in main()
|
D | key_app_writer.c | 100 const char *filename; /* filename of the key file */ member 213 opt.filename = DFL_FILENAME; in main() 256 opt.filename = q; in main() 283 ret = mbedtls_pk_parse_keyfile( &key, opt.filename, NULL ); in main() 336 ret = mbedtls_pk_parse_public_keyfile( &key, opt.filename ); in main()
|
D | gen_key.c | 143 const char *filename; /* filename of the key file */ member 226 opt.filename = DFL_FILENAME; in main() 271 opt.filename = q; in main() 392 if( ( ret = write_private_key( &key, opt.filename ) ) != 0 ) in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/x509/ |
D | crl_app.c | 65 const char *filename; /* filename of the certificate file */ member 88 opt.filename = DFL_FILENAME; in main() 98 opt.filename = q; in main() 109 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
|
D | req_app.c | 65 const char *filename; /* filename of the certificate request */ member 88 opt.filename = DFL_FILENAME; in main() 98 opt.filename = q; in main() 109 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
|
D | cert_req.c | 97 const char *filename; /* filename of the key file */ member 163 opt.filename = DFL_FILENAME; in main() 179 opt.filename = q; in main() 293 ret = mbedtls_pk_parse_keyfile( &key, opt.filename, NULL ); in main()
|
D | cert_app.c | 106 const char *filename; /* filename of the certificate file */ member 188 opt.filename = DFL_FILENAME; in main() 220 opt.filename = q; in main() 297 ret = mbedtls_x509_crt_parse_file( &crt, opt.filename ); in main()
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/util/ |
D | pem2der.c | 68 const char *filename; /* filename of the input file */ member 202 opt.filename = DFL_FILENAME; in main() 214 opt.filename = q; in main() 227 ret = load_file( opt.filename, &pem_buffer, &pem_size ); in main()
|
/net-tools-3.4.0/libcoap/examples/ |
D | etsi_iot_01.c | 499 make_large(char *filename) { in make_large() argument 504 if (!filename) in make_large() 508 if (stat(filename, &statbuf) < 0) { in make_large() 509 warn("cannot stat file %s\n", filename); in make_large() 517 inputfile = fopen(filename, "r"); in make_large() 519 warn("cannot read file %s\n", filename); in make_large()
|
D | client.c | 913 cmdline_input_from_file(char *filename, str *buf) { in cmdline_input_from_file() argument 919 if (!filename || !buf) in cmdline_input_from_file() 922 if (filename[0] == '-' && !filename[1]) { /* read from stdin */ in cmdline_input_from_file() 931 if (stat(filename, &statbuf) < 0) { in cmdline_input_from_file() 941 inputfile = fopen(filename, "r"); in cmdline_input_from_file()
|
D | coap-client.txt.in | 57 A filename to store data retrieved with GET.
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_dhm.function | 100 void dhm_file( char *filename, char *p, char *g, int len ) 111 TEST_ASSERT( mbedtls_dhm_parse_dhmfile( &ctx, filename ) == 0 );
|
D | helpers.function | 396 static void test_fail( const char *test, int line_no, const char* filename ) 402 filename );
|
D | test_suite_md.function | 381 void mbedtls_md_file( char *text_md_name, char *filename, char *hex_hash_string ) 396 TEST_ASSERT( mbedtls_md_file( md_info, filename, output ) == 0 );
|
/net-tools-3.4.0/mbedtls-2.4.0/library/ |
D | x509_crt.c | 1108 char filename[MAX_PATH]; in mbedtls_x509_crt_parse_path() local 1119 memset( filename, 0, MAX_PATH ); in mbedtls_x509_crt_parse_path() 1120 memcpy( filename, path, len ); in mbedtls_x509_crt_parse_path() 1121 filename[len++] = '\\'; in mbedtls_x509_crt_parse_path() 1122 p = filename + len; in mbedtls_x509_crt_parse_path() 1123 filename[len++] = '*'; in mbedtls_x509_crt_parse_path() 1125 w_ret = MultiByteToWideChar( CP_ACP, 0, filename, len, szDir, in mbedtls_x509_crt_parse_path() 1149 w_ret = mbedtls_x509_crt_parse_file( chain, filename ); in mbedtls_x509_crt_parse_path()
|