/mbedtls-3.6.0/programs/psa/ |
D | key_ladder_demo.c | 352 FILE *output_file = NULL; in wrap_data() local 409 SYS_CHECK((output_file = fopen(output_file_name, "wb")) != NULL); in wrap_data() 411 mbedtls_setbuf(output_file, NULL); in wrap_data() 413 output_file) == sizeof(header)); in wrap_data() 415 output_file) == ciphertext_size); in wrap_data() 416 SYS_CHECK(fclose(output_file) == 0); in wrap_data() 417 output_file = NULL; in wrap_data() 423 if (output_file != NULL) { in wrap_data() 424 fclose(output_file); in wrap_data() 439 FILE *output_file = NULL; in unwrap_data() local [all …]
|
/mbedtls-3.6.0/programs/pkey/ |
D | key_app_writer.c | 91 const char *output_file; /* where to store the constructed key file */ member 95 static int write_public_key(mbedtls_pk_context *key, const char *output_file) in write_public_key() argument 123 if ((f = fopen(output_file, "w")) == NULL) { in write_public_key() 137 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() argument 165 if ((f = fopen(output_file, "w")) == NULL) { in write_private_key() 233 opt.output_file = DFL_OUTPUT_FILENAME; in main() 273 opt.output_file = q; in main() 399 write_public_key(&key, opt.output_file); in main() 402 write_private_key(&key, opt.output_file); in main()
|
D | gen_key.c | 125 static int write_private_key(mbedtls_pk_context *key, const char *output_file) in write_private_key() argument 149 if ((f = fopen(output_file, "wb")) == NULL) { in write_private_key()
|
/mbedtls-3.6.0/scripts/ |
D | assemble_changelog.py | 408 def finish_output(changelog, output_file, input_file, merged_files): argument 414 if os.path.exists(output_file) and not os.path.isfile(output_file): 416 output_temp = output_file 420 output_temp = output_file + '.tmp' 423 if output_temp != output_file: 424 os.rename(output_temp, output_file) 472 output_file = getattr(options, 'output', None) 473 if output_file is None: 476 options.keep_entries = (output_file is not None)
|
D | generate_psa_constants.py | 298 def write_file(self, output_file): argument 314 output_file.write(OUTPUT_TEMPLATE % data) 322 with open(temp_file_name, 'w') as output_file: 323 collector.write_file(output_file)
|
D | code_size_compare.py | 788 output_file = os.path.join( 795 os.path.exists(output_file): 799 size_dist_info.git_rev, output_file) 806 output = open(output_file, "w") 826 output_file = os.path.join( 833 output = open(output_file, "w")
|
/mbedtls-3.6.0/tests/data_files/ |
D | Makefile | 49 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_rsa) password=$(test_ca_pwd_rsa) su… 53 …est_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@ 68 not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@ 72 …est_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA1 version=3 output_file=$@ 80 …t_ca_pwd_rsa) not_before=20190210144400 not_after=20290210144400 md=SHA256 version=3 output_file=$@ 111 $(MBEDTLS_CERT_REQ) filename=$< output_file=$@ subject_name='C=NL' 189 $(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_ec) \ 199 md=SHA256 version=3 output_file=$@ 214 not_before=20290210144400 not_after=20390210144400 md=SHA256 version=3 output_file=$@ 263 …$(MBEDTLS_CERT_REQ) output_file=$@ filename=$(test_ca_key_file_ec) subject_name="C=NL, O=PolarSSL,… [all …]
|
/mbedtls-3.6.0/programs/util/ |
D | pem2der.c | 45 const char *output_file; /* where to store the output */ member 187 opt.output_file = DFL_OUTPUT_FILENAME; in main() 200 opt.output_file = q; in main() 246 ret = write_file(opt.output_file, der_buffer, der_size); in main()
|
/mbedtls-3.6.0/programs/x509/ |
D | cert_req.c | 99 const char *output_file; /* where to store the constructed key file */ member 109 int write_certificate_request(mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument 125 if ((f = fopen(output_file, "w")) == NULL) { in write_certificate_request() 183 opt.output_file = DFL_OUTPUT_FILENAME; in main() 203 opt.output_file = q; in main() 468 if ((ret = write_certificate_request(&req, opt.output_file, in main()
|
D | cert_write.c | 185 const char *output_file; /* where to store the constructed CRT */ member 207 int write_certificate(mbedtls_x509write_cert *crt, const char *output_file, in write_certificate() argument 238 if ((f = fopen(output_file, "w")) == NULL) { in write_certificate() 353 opt.output_file = DFL_OUTPUT_FILENAME; in main() 395 opt.output_file = q; in main() 981 if ((ret = write_certificate(&crt, opt.output_file, in main()
|
/mbedtls-3.6.0/tests/suites/ |
D | test_suite_bignum.function | 283 void mpi_write_file(char *input_X, char *output_file) 293 file_out = fopen(output_file, "w"); 299 file_in = fopen(output_file, "r");
|