Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 25 of 47) sorted by relevance

12

/openssl/test/
H A Dpem_read_depr_test.c29 BIO *infile = NULL; in getfile() local
37 return infile; in getfile()
47 if (!TEST_ptr(infile)) in test_read_dh_params()
57 BIO_free(infile); in test_read_dh_params()
68 if (!TEST_ptr(infile)) in test_read_dh_x942_params()
78 BIO_free(infile); in test_read_dh_x942_params()
101 BIO_free(infile); in test_read_dsa_params()
122 BIO_free(infile); in test_read_dsa_private()
143 BIO_free(infile); in test_read_dsa_public()
165 BIO_free(infile); in test_read_rsa_private()
[all …]
H A Dbntests.pl129 my $infile = shift || 'bntests.txt';
130 die "No such file, $infile" unless -f $infile;
131 open my $IN, $infile || die "Can't read $infile, $!\n";
155 if $infile eq 'bntests.txt' and $failures != $EXPECTED_FAILURES;
H A Dossl_store_test.c35 static const char *infile = NULL; variable
45 char *input = test_mk_file_path(inputdir, infile); in test_store_open()
206 infile = opt_arg(); in setup_tests()
231 if (infile != NULL) in setup_tests()
/openssl/test/recipes/
H A D03-test_fipsinstall.t192 '-module', $infile,
201 '-module', $infile,
211 '-module', $infile,
239 '-module', $infile,
247 '-module', $infile,
255 '-module', $infile,
263 '-module', $infile,
271 '-module', $infile,
279 '-module', $infile,
287 '-module', $infile,
[all …]
H A D15-test_rsax931.t21 my $infile = srctop_file("test", "certs", "sm2.key");
24 ok(run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
31 ok(run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
38 ok(!run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
45 ok(!run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
51 ok(run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
58 ok(!run(app(['openssl', 'pkeyutl', '-in', $infile, '-rawin', '-inkey', $inkey,
H A D90-test_sslapi.t78 my ($infile, $srch, $repl, $outfile) = @_;
81 open(my $in, "<", $infile) or return 0;
99 my ($infile, $key, $value, $outfile) = @_;
107 return replace_line_file_internal($infile, $srch, $rep, $outfile);
114 my ($infile, $key, $newkey, $outfile) = @_;
117 return replace_line_file_internal($infile,
H A D25-test_crl.t65 my ($cmdarray, $infile, $str) = @_;
66 my @lines = run(app($cmdarray, stdin => $infile), capture => 1);
H A D80-test_ssl_old.t112 my ($infile, $srch, $repl, $outfile) = @_;
115 open(my $in, "<", $infile) or return 0;
133 my ($infile, $key, $value, $outfile) = @_;
141 return replace_line_file_internal($infile, $srch, $rep, $outfile);
148 my ($infile, $key, $newkey, $outfile) = @_;
151 return replace_line_file_internal($infile,
H A D30-test_evp.t176 my $infile = srctop_file('test', 'certs', $opts{key});
177 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
/openssl/apps/
H A Dnseq.c45 char *infile = NULL, *outfile = NULL, *prog; in nseq_main() local
63 infile = opt_arg(); in nseq_main()
79 in = bio_open_default(infile, 'r', FORMAT_PEM); in nseq_main()
100 prog, infile); in nseq_main()
112 prog, infile); in nseq_main()
H A Dsess_id.c53 char *infile = NULL, *outfile = NULL, *context = NULL, *prog; in sess_id_main() local
80 infile = opt_arg(); in sess_id_main()
104 x = load_sess_id(infile, informat); in sess_id_main()
176 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() argument
181 in = bio_open_default(infile, 'r', format); in load_sess_id()
H A Dpkeyparam.c54 char *infile = NULL, *outfile = NULL, *prog; in pkeyparam_main() local
69 infile = opt_arg(); in pkeyparam_main()
97 in = bio_open_default(infile, 'r', FORMAT_PEM); in pkeyparam_main()
H A Decparam.c107 char *infile = NULL, *outfile = NULL, *prog; in ecparam_main() local
131 infile = opt_arg(); in ecparam_main()
235 params_key = load_keyparams_suppress(infile, informat, 1, "EC", in ecparam_main()
238 params_key = load_keyparams_suppress(infile, informat, 1, "SM2", in ecparam_main()
242 BIO_printf(bio_err, "Unable to load parameters from %s\n", infile); in ecparam_main()
H A Dmac.c87 const char *infile = NULL; in mac_main() local
109 infile = opt_arg(); in mac_main()
172 in = bio_open_default(infile, 'r', inform); in mac_main()
188 BIO_printf(bio_err, "Read Error in '%s'\n", infile); in mac_main()
H A Ddhparam.c87 char *infile = NULL, *outfile = NULL, *prog; in dhparam_main() local
115 infile = opt_arg(); in dhparam_main()
189 if (infile != NULL) { in dhparam_main()
190 BIO_printf(bio_err, "Warning, input file %s ignored\n", infile); in dhparam_main()
250 in = bio_open_default(infile, 'r', informat); in dhparam_main()
H A Ddsa.c83 char *infile = NULL, *outfile = NULL, *prog; in dsa_main() local
114 infile = opt_arg(); in dsa_main()
179 pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); in dsa_main()
181 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main()
H A Dec.c73 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in ec_main() local
101 infile = opt_arg(); in ec_main()
176 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main()
178 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
H A Dpkey.c75 char *infile = NULL, *outfile = NULL, *passin = NULL, *passout = NULL; in pkey_main() local
117 infile = opt_arg(); in pkey_main()
212 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); in pkey_main()
214 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main()
H A Dpkcs7.c62 char *infile = NULL, *outfile = NULL, *prog; in pkcs7_main() local
88 infile = opt_arg(); in pkcs7_main()
122 in = bio_open_default(infile, 'r', informat); in pkcs7_main()
H A Dspkac.c67 char *infile = NULL, *outfile = NULL, *passinarg = NULL, *passin = NULL; in spkac_main() local
89 infile = opt_arg(); in spkac_main()
183 if ((conf = app_load_config(infile)) == NULL) in spkac_main()
H A Dcrl2pkcs7.c58 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local
84 infile = opt_arg(); in crl2pkcs7_main()
111 in = bio_open_default(infile, 'r', informat); in crl2pkcs7_main()
H A Ddsaparam.c74 char *infile = NULL, *outfile = NULL, *prog; in dsaparam_main() local
94 infile = opt_arg(); in dsaparam_main()
192 params = load_keyparams(infile, informat, 1, "DSA", "DSA parameters"); in dsaparam_main()
H A Drsa.c129 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in rsa_main() local
160 infile = opt_arg(); in rsa_main()
249 pkey = load_pubkey(infile, tmpformat, 1, passin, e, "public key"); in rsa_main()
251 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main()
H A Dpkcs8.c83 char *infile = NULL, *outfile = NULL, *ciphername = NULL; in pkcs8_main() local
115 infile = opt_arg(); in pkcs8_main()
226 in = bio_open_default(infile, 'r', in pkcs8_main()
232 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main()
H A DCA.pl.in97 my ($infile, $outfile, $bound) = @_;
100 open IN, $infile || die "Cannot open $infile, $!";

Completed in 26 milliseconds

12