Home
last modified time | relevance | path

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

/mbedtls-3.5.0/programs/psa/
Dkey_ladder_demo.c364 FILE *output_file = NULL; in wrap_data() local
421 SYS_CHECK((output_file = fopen(output_file_name, "wb")) != NULL); in wrap_data()
423 mbedtls_setbuf(output_file, NULL); in wrap_data()
425 output_file) == sizeof(header)); in wrap_data()
427 output_file) == ciphertext_size); in wrap_data()
428 SYS_CHECK(fclose(output_file) == 0); in wrap_data()
429 output_file = NULL; in wrap_data()
435 if (output_file != NULL) { in wrap_data()
436 fclose(output_file); in wrap_data()
451 FILE *output_file = NULL; in unwrap_data() local
[all …]
/mbedtls-3.5.0/programs/pkey/
Dkey_app_writer.c103 const char *output_file; /* where to store the constructed key file */ member
107 static int write_public_key(mbedtls_pk_context *key, const char *output_file) in write_public_key() argument
135 if ((f = fopen(output_file, "w")) == NULL) { in write_public_key()
149 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() argument
177 if ((f = fopen(output_file, "w")) == NULL) { in write_private_key()
232 opt.output_file = DFL_OUTPUT_FILENAME; in main()
272 opt.output_file = q; in main()
398 write_public_key(&key, opt.output_file); in main()
401 write_private_key(&key, opt.output_file); in main()
Dgen_key.c137 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() argument
161 if ((f = fopen(output_file, "wb")) == NULL) { in write_private_key()
/mbedtls-3.5.0/scripts/
Dassemble_changelog.py420 def finish_output(changelog, output_file, input_file, merged_files): argument
426 if os.path.exists(output_file) and not os.path.isfile(output_file):
428 output_temp = output_file
432 output_temp = output_file + '.tmp'
435 if output_temp != output_file:
436 os.rename(output_temp, output_file)
484 output_file = getattr(options, 'output', None)
485 if output_file is None:
488 options.keep_entries = (output_file is not None)
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-3.5.0/tests/data_files/
DMakefile45 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_rsa) password=$(test_ca_pwd_rsa) su…
49 …est_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@
61 …est_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@
69 …t_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 output_file=$@
165 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_ec) subject_name="C=NL,O=PolarSSL,C…
169 …_key_file_ec) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 output_file=$@
205 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_ec) subject_name="C=NL, O=PolarSSL,…
234 …_1024_clear.pem not_before=20190210144406 not_after=20290210144406 md=SHA1 version=3 output_file=$@
247 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$< subject_name="C=NL,O=PolarSSL,CN=PolarSSL Client 2"…
251 …est_ca_pwd_rsa) not_before=20190210144406 not_after=20290210144406 md=SHA1 version=3 output_file=$@
[all …]
/mbedtls-3.5.0/programs/x509/
Dcert_req.c107 const char *output_file; /* where to store the constructed key file */ member
129 int write_certificate_request(mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument
145 if ((f = fopen(output_file, "w")) == NULL) { in write_certificate_request()
190 opt.output_file = DFL_OUTPUT_FILENAME; in main()
210 opt.output_file = q; in main()
436 if ((ret = write_certificate_request(&req, opt.output_file, in main()
Dcert_write.c188 const char *output_file; /* where to store the constructed CRT */ member
209 int write_certificate(mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument
240 if ((f = fopen(output_file, "w")) == NULL) { in write_certificate()
344 opt.output_file = DFL_OUTPUT_FILENAME; in main()
385 opt.output_file = q; in main()
865 if ((ret = write_certificate(&crt, opt.output_file, in main()
/mbedtls-3.5.0/programs/util/
Dpem2der.c57 const char *output_file; /* where to store the output */ member
199 opt.output_file = DFL_OUTPUT_FILENAME; in main()
212 opt.output_file = q; in main()
258 ret = write_file(opt.output_file, der_buffer, der_size); in main()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_bignum.function283 void mpi_write_file(char *input_X, char *output_file)
293 file_out = fopen(output_file, "w");
299 file_in = fopen(output_file, "r");