Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 39) sorted by relevance

12

/openssl/util/perl/OpenSSL/
H A DParseC.pm86 my %opts;
93 if $opts{debug};
99 my %opts;
112 my %opts;
129 my %opts;
189 my %opts;
206 my %opts;
225 my %opts;
774 my %opts;
837 $opts{PLACE2} = $opts{filename}.":".$state{current_line};
[all …]
H A DTest.pm139 my %opts = @_;
202 my %opts = @_;
313 my %opts = @_;
327 my %opts = @_;
338 my %opts = @_;
349 my %opts = @_;
360 my %opts = @_;
374 my %opts = @_;
447 if $opts{statusvar} && ref($opts{statusvar}) ne "SCALAR";
472 if ($opts{capture} || defined($opts{prefix})) {
[all …]
H A DOrdinals.pm83 my %opts = @_;
100 $instance->load($opts{from}) if defined($opts{from});
206 my %opts = @_;
227 my %opts = @_;
269 my %opts = @_;
271 my $comparator = $opts{sort};
790 my %opts = @_;
795 if ($opts{from}) {
812 %opts = ( source => $opts{source},
823 if ($opts{name} && $opts{version} && defined $opts{exists} && $opts{type}
[all …]
H A DUtil.pm249 my %opts = @_;
251 my $indent = $opts{indent} // 1;
253 my $nlindent1 = defined $opts{indent} ? "\n" . ' ' x $indent : ' ';
255 my $nlindent2 = defined $opts{indent} ? "\n" . ' ' x ($indent + 4) : ' ';
259 $subopts{indent} = $opts{indent} + 4 if defined $opts{indent};
271 $product = $opts{delimiters} ? '[]' : '';
276 $delim_l = ($opts{delimiters} ? '[' : '').$nlindent2;
277 $delim_r = $nlindent1.($opts{delimiters} ? ']' : '');
283 $product = $opts{delimiters} ? '{}' : '';
288 $delim_l = ($opts{delimiters} ? '{' : '').$nlindent2;
[all …]
H A DTemplate.pm60 my %opts = @_;
61 my %hash = ( %{$opts{HASH}} );
62 delete $opts{HASH};
69 %opts);
/openssl/test/recipes/
H A D80-test_ca_internals.t102 my ($opts) = @_;
106 $opts->{command}
112 is($exit, 0, "command '".$opts->{command}."' completed without an error");
116 my ($opts) = @_;
117 my $amtexpectedexpired = scalar(@{$opts->{expirelist}});
124 if ($opts->{copydb}) {
131 $opts->{filename},
132 $opts->{testdate},
133 $opts->{need64bit}
147 foreach my $expire (@{$opts->{expirelist}}) {
[all …]
H A Dtconversion.pl25 my %opts = @_;
27 die "Missing option -type" unless $opts{-type};
28 die "Missing option -in" unless $opts{-in};
29 my $testtype = $opts{-type};
30 my $t = $opts{-in};
31 my $prefix = $opts{-prefix} // $testtype;
37 if (defined $opts{-args}) {
38 @openssl_args = @{$opts{-args}} if ref $opts{-args} eq 'ARRAY';
39 @openssl_args = ($opts{-args}) if ref $opts{-args} eq '';
H A D30-test_evp.t159 my %opts = @_;
160 my $infile = srctop_file('test', 'certs', $opts{key});
161 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
162 my $res = !run(app([@args], stderr => $opts{out}));
163 my $found = !exists $opts{expected};
164 open(my $in, '<', $opts{out}) or die "Could not open file $opts{out}";
172 if exists $opts{expected} && $errline =~ m/$opts{expected}/;
H A D80-test_ca.t118 my ($filename, $opts) = @_;
168 if (exists $opts->{lastupdate}) {
169 push @gencrl_opts, '-crl_lastupdate', $opts->{lastupdate};
172 if (exists $opts->{nextupdate}) {
173 push @gencrl_opts, '-crl_nextupdate', $opts->{nextupdate};
185 $opts->{should_succeed},
192 return unless $opts->{should_succeed};
195 if (exists $opts->{lastupdate}) {
198 rfc5280_time($opts->{lastupdate}),
213 if (exists $opts->{nextupdate}) {
[all …]
H A D80-test_cms.t623 sub { my %opts = @_; contentType_matches("$opts{output}2.cms") == 2; },
638 my %opts = ( @_ );
641 foreach (@{$opts{tests}}) {
643 $opts{output} = "$opts{prefix}-$cnt1";
648 1 while unlink "$opts{output}.txt";
652 $ok &&= $_->(%opts);
657 $x = $`.$opts{$1}.$' if exists $opts{$1};
664 $opts{input} = $opts{output};
674 my %opts = @_;
681 my %opts = @_;
[all …]
H A D60-test_x509_store.t29 my ($cert, $purpose, $trustedpath, $untrusted, @opts) = @_;
32 push(@args, "$purpose", @opts);
H A D25-test_x509.t107 my ($expected, $cert, @opts) = @_;
110 push(@args, $infile, @opts);
112 my $res = grep(/-text/, @opts) ? run(app([@args], stdout => $tmpfile))
/openssl/crypto/
H A Dinit.c488 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
510 if (opts & OPENSSL_INIT_BASE_ONLY) in OPENSSL_init_crypto()
521 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
570 if ((opts & OPENSSL_INIT_ATFORK) in OPENSSL_init_crypto()
574 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) in OPENSSL_init_crypto()
578 if (opts & OPENSSL_INIT_LOAD_CONFIG) { in OPENSSL_init_crypto()
604 if ((opts & OPENSSL_INIT_ASYNC) in OPENSSL_init_crypto()
609 if ((opts & OPENSSL_INIT_ENGINE_OPENSSL) in OPENSSL_init_crypto()
613 if ((opts & OPENSSL_INIT_ENGINE_RDRAND) in OPENSSL_init_crypto()
632 if ((opts & OPENSSL_INIT_ENGINE_CAPI) in OPENSSL_init_crypto()
[all …]
/openssl/util/
H A Ddofile.pl33 my %opts = ();
34 getopt('oi', \%opts);
39 . (defined($opts{o}) ? " by $opts{o}" : "")
43 if (defined($opts{s})) {
45 open VARS, $opts{s} or die "Couldn't open $opts{s}, $!";
52 if defined($opts{i}) and scalar(@ARGV) == 0;
H A Dfind-doc-nits165 my %opts = ( @_ ); # Make a copy of the arguments
167 $opts{TAGS} = [ $opts{TAGS} ] if ref($opts{TAGS}) eq '';
170 unless exists $opts{TAGS} && ref($opts{TAGS}) eq 'ARRAY';
172 my %tags = map { $_ => 1 } @{$opts{TAGS}};
/openssl/util/perl/OpenSSL/Config/
H A DQuery.pm71 my %opts = @_;
73 my @messages = _check_accepted_options(\%opts,
80 my $instance = { info => $opts{info} // {},
81 config => $opts{config} // {} };
159 my $opts = shift; # HASH reference (hopefully)
163 my %optnames = map { $_ => 1 } keys %$opts;
171 if (defined $conds{$_} && defined $opts->{$_}
172 && ref $opts->{$_} ne $conds{$_});
/openssl/ssl/
H A Dssl_init.c91 int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS * settings) in OPENSSL_init_ssl() argument
108 opts |= OPENSSL_INIT_ADD_ALL_CIPHERS in OPENSSL_init_ssl()
111 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) == 0) in OPENSSL_init_ssl()
112 opts |= OPENSSL_INIT_LOAD_CONFIG; in OPENSSL_init_ssl()
115 if (!OPENSSL_init_crypto(opts, settings)) in OPENSSL_init_ssl()
121 if ((opts & OPENSSL_INIT_NO_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
126 if ((opts & OPENSSL_INIT_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
/openssl/Configurations/
H A Dgentemplate.pm15 my %opts = @_;
40 my %opts = @_;
43 output => $opts{output},
44 config => $opts{config} // {},
45 disabled => $opts{disabled} // {},
55 my %opts = @_;
208 my %opts = @_;
226 %opts);
258 my %opts = @_;
279 join(",", map { "\n $_ = $opts{$_}" } sort keys %opts), "\n"
[all …]
/openssl/apps/
H A Dkdf.c74 STACK_OF(OPENSSL_STRING) *opts = NULL; in kdf_main()
105 if (opts == NULL) in kdf_main()
106 opts = sk_OPENSSL_STRING_new_null(); in kdf_main()
107 if (opts == NULL || !sk_OPENSSL_STRING_push(opts, opt_arg())) in kdf_main()
112 cipher = alloc_kdf_algorithm_name(&opts, "cipher", opt_arg()); in kdf_main()
118 digest = alloc_kdf_algorithm_name(&opts, "digest", opt_arg()); in kdf_main()
124 mac = alloc_kdf_algorithm_name(&opts, "mac", opt_arg()); in kdf_main()
151 if (opts != NULL) { in kdf_main()
154 app_params_new_from_opts(opts, EVP_KDF_settable_ctx_params(kdf)); in kdf_main()
202 sk_OPENSSL_STRING_free(opts); in kdf_main()
H A Dmac.c81 STACK_OF(OPENSSL_STRING) *opts = NULL; in mac_main()
115 if (opts == NULL) in mac_main()
116 opts = sk_OPENSSL_STRING_new_null(); in mac_main()
117 if (opts == NULL || !sk_OPENSSL_STRING_push(opts, opt_arg())) in mac_main()
122 cipher = alloc_mac_algorithm_name(&opts, "cipher", opt_arg()); in mac_main()
128 digest = alloc_mac_algorithm_name(&opts, "digest", opt_arg()); in mac_main()
154 if (opts != NULL) { in mac_main()
157 params = app_params_new_from_opts(opts, in mac_main()
233 sk_OPENSSL_STRING_free(opts); in mac_main()
H A Dfipsinstall.c303 STACK_OF(OPENSSL_STRING) *opts = NULL; in fipsinstall_main()
313 if ((opts = sk_OPENSSL_STRING_new_null()) == NULL) in fipsinstall_main()
368 if (!sk_OPENSSL_STRING_push(opts, opt_arg())) in fipsinstall_main()
421 if (!gotdigest && !sk_OPENSSL_STRING_push(opts, "digest:SHA256")) in fipsinstall_main()
423 if (!gotkey && !sk_OPENSSL_STRING_push(opts, "hexkey:" FIPS_KEY_STRING)) in fipsinstall_main()
448 if (opts != NULL) { in fipsinstall_main()
451 app_params_new_from_opts(opts, EVP_MAC_settable_ctx_params(mac)); in fipsinstall_main()
535 sk_OPENSSL_STRING_free(opts); in fipsinstall_main()
H A Dverify.c25 STACK_OF(OPENSSL_STRING) *opts);
248 STACK_OF(OPENSSL_STRING) *opts) in check()
260 if (opts != NULL) { in check()
261 for (i = 0; i < sk_OPENSSL_STRING_num(opts); i++) { in check()
262 char *opt = sk_OPENSSL_STRING_value(opts, i); in check()
/openssl/providers/common/der/
H A Doids_to_c.pm68 my %opts = %{ pop @_ } if ref $_[$#_] eq 'HASH';
74 my $input = File::Spec->catfile($opts{dir}, $file);
103 my %opts = %{ $_[$#_] } if ref $_[$#_] eq 'HASH';
109 my $lines = $opts{filter}->($_, encode_oid($_->[0]));
/openssl/test/
H A Drun_tests.pl174 my %opts = %{ shift() };
246 %opts = ( callbacks => { %callbacks }, %opts );
249 return $class->SUPER::new({ %opts });
/openssl/doc/man3/
H A DOPENSSL_init_ssl.pod11 int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings);
37 The B<opts> parameter specifies which aspects of libssl and libcrypto should be

Completed in 74 milliseconds

12