Home
last modified time | relevance | path

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

/mbedtls-development/programs/psa/
A Dkey_ladder_demo.c363 FILE *output_file = NULL; in wrap_data() local
425 SYS_CHECK( fclose( output_file ) == 0 ); in wrap_data()
426 output_file = NULL; in wrap_data()
431 if( output_file != NULL ) in wrap_data()
432 fclose( output_file ); in wrap_data()
445 FILE *output_file = NULL; in unwrap_data() local
513 output_file ) == plaintext_size ); in unwrap_data()
514 SYS_CHECK( fclose( output_file ) == 0 ); in unwrap_data()
515 output_file = NULL; in unwrap_data()
520 if( output_file != NULL ) in unwrap_data()
[all …]
/mbedtls-development/programs/pkey/
A Dkey_app_writer.c113 const char *output_file; /* where to store the constructed key file */ member
117 static int write_public_key( mbedtls_pk_context *key, const char *output_file ) in write_public_key() argument
145 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_public_key()
159 static int write_private_key( mbedtls_pk_context *key, const char *output_file ) in write_private_key() argument
187 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_private_key()
243 opt.output_file = DFL_OUTPUT_FILENAME; in main()
286 opt.output_file = q; in main()
427 write_public_key( &key, opt.output_file ); in main()
431 write_private_key( &key, opt.output_file ); in main()
A 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()
/mbedtls-development/scripts/
A Dassemble_changelog.py419 def finish_output(changelog, output_file, input_file, merged_files): argument
425 if os.path.exists(output_file) and not os.path.isfile(output_file):
427 output_temp = output_file
431 output_temp = output_file + '.tmp'
434 if output_temp != output_file:
435 os.rename(output_temp, output_file)
483 output_file = getattr(options, 'output', None)
484 if output_file is None:
487 options.keep_entries = (output_file is not None)
A Dgenerate_psa_constants.py310 def write_file(self, output_file): argument
326 output_file.write(OUTPUT_TEMPLATE % data)
334 with open(temp_file_name, 'w') as output_file:
335 collector.write_file(output_file)
/mbedtls-development/programs/x509/
A Dcert_req.c112 const char *output_file; /* where to store the constructed key file */ member
121 int write_certificate_request( mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument
136 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate_request()
181 opt.output_file = DFL_OUTPUT_FILENAME; in main()
202 opt.output_file = q; in main()
364 if( ( ret = write_certificate_request( &req, opt.output_file, in main()
A Dcert_write.c164 const char *output_file; /* where to store the constructed CRT */ member
182 int write_certificate( mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument
198 if( ( f = fopen( output_file, "w" ) ) == NULL ) in write_certificate()
262 opt.output_file = DFL_OUTPUT_FILENAME; in main()
300 opt.output_file = q; in main()
771 if( ( ret = write_certificate( &crt, opt.output_file, in main()
/mbedtls-development/tests/data_files/
A DMakefile197 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Client 2"…
238 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Test Clie…
869 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
873 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
877 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
881 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
885 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
889 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
905 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Server 1"…
917 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=localhost" md=SHA2…
[all …]
/mbedtls-development/programs/util/
A Dpem2der.c69 const char *output_file; /* where to store the output */ member
204 opt.output_file = DFL_OUTPUT_FILENAME; in main()
217 opt.output_file = q; in main()
264 ret = write_file( opt.output_file, der_buffer, der_size ); in main()
/mbedtls-development/tests/suites/
A Dtest_suite_mpi.function321 char * output_file )
331 file_out = fopen( output_file, "w" );
337 file_in = fopen( output_file, "r" );

Completed in 17 milliseconds