Home
last modified time | relevance | path

Searched refs:output_file (Results 1 – 8 of 8) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/programs/pkey/
Dkey_app_writer.c102 const char *output_file; /* where to store the constructed key file */ member
106 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key() argument
134 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_public_key()
148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() argument
176 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_private_key()
215 opt.output_file = DFL_OUTPUT_FILENAME; in main()
258 opt.output_file = q; in main()
378 write_public_key( &key, opt.output_file ); in main()
382 write_private_key( &key, opt.output_file ); in main()
Dgen_key.c148 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() argument
173 if( ( f = fopen( output_file, "wb" ) ) == NULL ) in write_private_key()
/net-tools-3.7.0/mbedtls-2.4.0/programs/x509/
Dcert_req.c99 const char *output_file; /* where to store the constructed key file */ member
105 int write_certificate_request( mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument
120 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate_request()
165 opt.output_file = DFL_OUTPUT_FILENAME; in main()
181 opt.output_file = q; in main()
311 if( ( ret = write_certificate_request( &req, opt.output_file, in main()
Dcert_write.c143 const char *output_file; /* where to store the constructed key file */ member
156 int write_certificate( mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument
171 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate()
235 opt.output_file = DFL_OUTPUT_FILENAME; in main()
268 opt.output_file = q; in main()
641 if( ( ret = write_certificate( &crt, opt.output_file, in main()
/net-tools-3.7.0/mbedtls-2.4.0/programs/util/
Dpem2der.c69 const char *output_file; /* where to store the output */ member
203 opt.output_file = DFL_OUTPUT_FILENAME; in main()
216 opt.output_file = q; in main()
263 ret = write_file( opt.output_file, der_buffer, der_size ); in main()
/net-tools-3.7.0/tinydtls-0.8.2/tests/
Ddtls-client.c43 static dtls_str output_file = { 0, NULL }; /* output file name */ variable
389 output_file.length = strlen(optarg);
390 output_file.s = (unsigned char *)malloc(output_file.length + 1);
392 if (!output_file.s) {
397 memcpy(output_file.s, optarg, output_file.length + 1);
/net-tools-3.7.0/libcoap/examples/
Dclient.c46 static str output_file = { 0, NULL }; /* output file name */ variable
83 if (!output_file.s || (output_file.length && output_file.s[0] == '-')) in append_to_output()
86 if (!(file = fopen((char *)output_file.s, "w"))) { in append_to_output()
108 if (!output_file.s || (output_file.length && output_file.s[0] == '-')) in close_output()
1077 output_file.length = strlen(optarg); in main()
1078 output_file.s = (unsigned char *)coap_malloc(output_file.length + 1); in main()
1080 if (!output_file.s) { in main()
1085 memcpy(output_file.s, optarg, output_file.length + 1); in main()
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_mpi.function149 char *output_file )
159 file_out = fopen( output_file, "w" );
165 file_in = fopen( output_file, "r" );