/openssl-master/test/ |
A D | pem_read_depr_test.c | 29 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 …]
|
A D | bntests.pl | 129 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;
|
A D | v3ext.c | 18 static const char *infile; variable 27 if (!TEST_ptr(b = BIO_new_file(infile, "r")) in test_pathlen() 49 if (!TEST_ptr(infile = test_get_argument(0))) in setup_tests()
|
A D | ossl_store_test.c | 35 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-master/test/recipes/ |
A D | 03-test_fipsinstall.t | 29 my $infile = bldtop_file('providers', platform->dso('fips')); 36 my ($infile, $srch, $repl, $outfile) = @_; 39 open(my $in, "<", $infile) or return 0; 114 '-module', $infile, 123 '-module', $infile, 133 '-module', $infile, 143 '-module', $infile, 153 '-module', $infile, 294 '-module', $infile, '-self_test_onload'])), 298 '-module', $infile, '-verify'])), [all …]
|
A D | 25-test_crl.t | 65 my ($cmdarray, $infile, $str) = @_; 66 my @lines = run(app($cmdarray, stdin => $infile), capture => 1);
|
A D | 30-test_evp.t | 156 my $infile = srctop_file('test', 'certs', $opts{key}); 157 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
|
A D | 25-test_x509.t | 108 my $infile = srctop_file(@certs, $cert); 110 push(@args, $infile, @opts);
|
/openssl-master/apps/ |
A D | nseq.c | 45 char *infile = NULL, *outfile = NULL, *prog; in nseq_main() local 63 infile = opt_arg(); in nseq_main() 80 in = bio_open_default(infile, 'r', FORMAT_PEM); in nseq_main() 101 prog, infile); in nseq_main() 113 prog, infile); in nseq_main()
|
A D | mac.c | 87 const char *infile = NULL; in mac_main() local 109 infile = opt_arg(); in mac_main() 174 if (infile == NULL || strcmp(infile, "-") == 0) in mac_main() 176 in = bio_open_default(infile, 'r', inform); in mac_main() 192 BIO_printf(bio_err, "Read Error in '%s'\n", infile); in mac_main()
|
A D | sess_id.c | 53 char *infile = NULL, *outfile = NULL, *context = NULL, *prog; in sess_id_main() local 80 infile = opt_arg(); in sess_id_main() 105 x = load_sess_id(infile, informat); in sess_id_main() 177 static SSL_SESSION *load_sess_id(char *infile, int format) in load_sess_id() argument 182 in = bio_open_default(infile, 'r', format); in load_sess_id()
|
A D | pkeyparam.c | 54 char *infile = NULL, *outfile = NULL, *prog; in pkeyparam_main() local 69 infile = opt_arg(); in pkeyparam_main() 98 in = bio_open_default(infile, 'r', FORMAT_PEM); in pkeyparam_main()
|
A D | pkey.c | 75 char *infile = NULL, *outfile = NULL, *passin = NULL, *passout = NULL; in pkey_main() local 116 infile = opt_arg(); in pkey_main() 218 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); in pkey_main() 220 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main()
|
A D | dsa.c | 83 char *infile = NULL, *outfile = NULL, *prog; in dsa_main() local 113 infile = opt_arg(); in dsa_main() 183 pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); in dsa_main() 185 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main()
|
A D | ec.c | 73 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in ec_main() local 100 infile = opt_arg(); in ec_main() 180 eckey = load_pubkey(infile, informat, 1, passin, e, "public key"); in ec_main() 182 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
|
A D | pkcs7.c | 60 char *infile = NULL, *outfile = NULL, *prog; in pkcs7_main() local 86 infile = opt_arg(); in pkcs7_main() 118 in = bio_open_default(infile, 'r', informat); in pkcs7_main()
|
A D | spkac.c | 67 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()
|
A D | crl2pkcs7.c | 58 char *infile = NULL, *outfile = NULL, *prog, *certfile; in crl2pkcs7_main() local 84 infile = opt_arg(); in crl2pkcs7_main() 112 in = bio_open_default(infile, 'r', informat); in crl2pkcs7_main()
|
A D | dsaparam.c | 75 char *infile = NULL, *outfile = NULL, *prog; in dsaparam_main() local 95 infile = opt_arg(); in dsaparam_main() 182 params = load_keyparams(infile, informat, 1, "DSA", "DSA parameters"); in dsaparam_main()
|
A D | rsa.c | 129 char *infile = NULL, *outfile = NULL, *ciphername = NULL, *prog; in rsa_main() local 159 infile = opt_arg(); in rsa_main() 251 pkey = load_pubkey(infile, tmpformat, 1, passin, e, "public key"); in rsa_main() 253 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main()
|
A D | pkcs8.c | 78 char *infile = NULL, *outfile = NULL, *ciphername = NULL; in pkcs8_main() local 109 infile = opt_arg(); in pkcs8_main() 217 in = bio_open_default(infile, 'r', in pkcs8_main() 226 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main()
|
A D | CA.pl.in | 95 my ($infile, $outfile, $bound) = @_; 98 open IN, $infile || die "Cannot open $infile, $!";
|
A D | rsautl.c | 79 char *infile = NULL, *outfile = NULL, *keyfile = NULL; in rsautl_main() local 105 infile = opt_arg(); in rsautl_main() 210 in = bio_open_default(infile, 'r', FORMAT_BINARY); in rsautl_main()
|
A D | ecparam.c | 107 char *infile = NULL, *outfile = NULL, *prog; in ecparam_main() local 131 infile = opt_arg(); in ecparam_main() 244 params_key = load_keyparams(infile, informat, 1, "EC", "EC parameters"); in ecparam_main()
|
A D | ca.c | 91 static int certify(X509 **xret, const char *infile, int informat, 319 infile = opt_arg(); in ca_main() 463 infile = opt_arg(); in ca_main() 467 infile = opt_arg(); in ca_main() 991 if (infile != NULL) { in ca_main() 993 j = certify(&x, infile, informat, pkey, x509p, dgst, in ca_main() 1294 if (infile == NULL) { in ca_main() 1300 revcert = load_cert_pass(infile, informat, 1, passin, in ca_main() 1372 req = load_csr(infile, informat, "certificate request"); in certify() 2008 parms = CONF_load(NULL, infile, &errline); in certify_spkac() [all …]
|