Home
last modified time | relevance | path

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

12

/openssl-master/util/perl/OpenSSL/
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;
768 my %opts;
831 $opts{PLACE2} = $opts{filename}.":".$state{current_line};
[all …]
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 …]
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 …]
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 …]
A DTemplate.pm60 my %opts = @_;
61 my %hash = ( %{$opts{HASH}} );
62 delete $opts{HASH};
69 %opts);
/openssl-master/crypto/
A Dinit.c484 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
506 if (opts & OPENSSL_INIT_BASE_ONLY) in OPENSSL_init_crypto()
517 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
566 if ((opts & OPENSSL_INIT_ATFORK) in OPENSSL_init_crypto()
570 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) in OPENSSL_init_crypto()
574 if (opts & OPENSSL_INIT_LOAD_CONFIG) { in OPENSSL_init_crypto()
600 if ((opts & OPENSSL_INIT_ASYNC) in OPENSSL_init_crypto()
605 if ((opts & OPENSSL_INIT_ENGINE_OPENSSL) in OPENSSL_init_crypto()
609 if ((opts & OPENSSL_INIT_ENGINE_RDRAND) in OPENSSL_init_crypto()
628 if ((opts & OPENSSL_INIT_ENGINE_CAPI) in OPENSSL_init_crypto()
[all …]
/openssl-master/util/
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;
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-master/test/recipes/
A Dtconversion.pl24 my %opts = @_;
26 die "Missing option -type" unless $opts{-type};
27 die "Missing option -in" unless $opts{-in};
28 my $testtype = $opts{-type};
29 my $t = $opts{-in};
30 my $prefix = $opts{-prefix} // $testtype;
36 if (defined $opts{-args}) {
37 @openssl_args = @{$opts{-args}} if ref $opts{-args} eq 'ARRAY';
38 @openssl_args = ($opts{-args}) if ref $opts{-args} eq '';
A D30-test_evp.t155 my %opts = @_;
156 my $infile = srctop_file('test', 'certs', $opts{key});
157 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
158 my $res = !run(app([@args], stderr => $opts{out}));
159 my $found = !exists $opts{expected};
160 open(my $in, '<', $opts{out}) or die "Could not open file $opts{out}";
168 if exists $opts{expected} && $errline =~ m/$opts{expected}/;
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 …]
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 …]
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))
A D60-test_x509_store.t29 my ($cert, $purpose, $trustedpath, $untrusted, @opts) = @_;
32 push(@args, "$purpose", @opts);
A D25-test_verify.t21 my ($cert, $purpose, $trusted, $untrusted, @opts) = @_;
25 push(@args, @opts);
/openssl-master/util/perl/OpenSSL/Config/
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-master/ssl/
A Dssl_init.c103 int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS * settings) in OPENSSL_init_ssl() argument
120 opts |= OPENSSL_INIT_ADD_ALL_CIPHERS in OPENSSL_init_ssl()
123 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) == 0) in OPENSSL_init_ssl()
124 opts |= OPENSSL_INIT_LOAD_CONFIG; in OPENSSL_init_ssl()
127 if (!OPENSSL_init_crypto(opts, settings)) in OPENSSL_init_ssl()
133 if ((opts & OPENSSL_INIT_NO_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
138 if ((opts & OPENSSL_INIT_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
/openssl-master/Configurations/
A Dgentemplate.pm15 my %opts = @_;
40 my %opts = @_;
43 output => $opts{output},
44 config => $opts{config} // {},
45 disabled => $opts{disabled} // {},
55 my %opts = @_;
207 my %opts = @_;
223 %opts);
251 my %opts = @_;
272 join(",", map { "\n $_ = $opts{$_}" } sort keys %opts), "\n"
[all …]
/openssl-master/apps/
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()
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()
155 if (opts != NULL) { in mac_main()
158 params = app_params_new_from_opts(opts, in mac_main()
234 sk_OPENSSL_STRING_free(opts); in mac_main()
A Dfipsinstall.c304 STACK_OF(OPENSSL_STRING) *opts = NULL; in fipsinstall_main()
314 if ((opts = sk_OPENSSL_STRING_new_null()) == NULL) in fipsinstall_main()
369 if (!sk_OPENSSL_STRING_push(opts, opt_arg())) in fipsinstall_main()
419 if (!gotdigest && !sk_OPENSSL_STRING_push(opts, "digest:SHA256")) in fipsinstall_main()
421 if (!gotkey && !sk_OPENSSL_STRING_push(opts, "hexkey:" FIPS_KEY_STRING)) in fipsinstall_main()
446 if (opts != NULL) { in fipsinstall_main()
449 app_params_new_from_opts(opts, EVP_MAC_settable_ctx_params(mac)); in fipsinstall_main()
533 sk_OPENSSL_STRING_free(opts); in fipsinstall_main()
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-master/providers/common/der/
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-master/test/
A Drun_tests.pl169 my %opts = %{ shift() };
241 %opts = ( callbacks => { %callbacks }, %opts );
244 return $class->SUPER::new({ %opts });
/openssl-master/doc/man3/
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 34 milliseconds

12