Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 46) 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;
780 my %opts;
843 $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};
792 my %opts = @_;
797 if ($opts{from}) {
814 %opts = ( source => $opts{source},
825 if ($opts{name} && $opts{version} && defined $opts{exists} && $opts{type}
[all …]
H A DUtil.pm268 my %opts = @_;
270 my $indent = $opts{indent} // 1;
272 my $nlindent1 = defined $opts{indent} ? "\n" . ' ' x $indent : ' ';
274 my $nlindent2 = defined $opts{indent} ? "\n" . ' ' x ($indent + 4) : ' ';
278 $subopts{indent} = $opts{indent} + 4 if defined $opts{indent};
290 $product = $opts{delimiters} ? '[]' : '';
295 $delim_l = ($opts{delimiters} ? '[' : '').$nlindent2;
296 $delim_r = $nlindent1.($opts{delimiters} ? ']' : '');
302 $product = $opts{delimiters} ? '{}' : '';
307 $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 D80-test_cms.t523 sub { my %opts = @_; rsapssSaltlen("$opts{output}.cms") == 222; },
554 sub { my %opts = @_; rsapssSaltlen("$opts{output}.cms") == 16; },
566 sub { my %opts = @_; rsapssSaltlen("$opts{output}.cms") == 32; },
675 sub { my %opts = @_; rsapssSaltlen("$opts{output}.cms") == 32; },
688 sub { my %opts = @_; rsapssSaltlen("$opts{output}.cms") == 62; },
725 $opts{output} = "$opts{prefix}-$cnt1";
739 $x = $`.$opts{$1}.$' if exists $opts{$1};
746 $opts{input} = $opts{output};
756 my %opts = @_;
763 my %opts = @_;
[all …]
H A D30-test_evp.t175 my %opts = @_;
176 my $infile = srctop_file('test', 'certs', $opts{key});
177 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
178 my $res = !run(app([@args], stderr => $opts{out}));
179 my $found = !exists $opts{expected};
180 open(my $in, '<', $opts{out}) or die "Could not open file $opts{out}";
188 if exists $opts{expected} && $errline =~ m/$opts{expected}/;
H A D80-test_ca.t133 my ($filename, $opts) = @_;
183 if (exists $opts->{lastupdate}) {
184 push @gencrl_opts, '-crl_lastupdate', $opts->{lastupdate};
187 if (exists $opts->{nextupdate}) {
188 push @gencrl_opts, '-crl_nextupdate', $opts->{nextupdate};
200 $opts->{should_succeed},
207 return unless $opts->{should_succeed};
210 if (exists $opts->{lastupdate}) {
213 rfc5280_time($opts->{lastupdate}),
228 if (exists $opts->{nextupdate}) {
[all …]
H A Dtconversion.pl27 my %opts = @_;
29 die "Missing option -type" unless $opts{-type};
30 die "Missing option -in" unless $opts{-in};
31 my $testtype = $opts{-type};
32 my $t = $opts{-in};
33 my $prefix = $opts{-prefix} // $testtype;
39 if (defined $opts{-args}) {
40 @openssl_args = @{$opts{-args}} if ref $opts{-args} eq 'ARRAY';
41 @openssl_args = ($opts{-args}) if ref $opts{-args} eq '';
H A D60-test_x509_store.t29 my ($cert, $purpose, $trustedpath, $untrusted, @opts) = @_;
32 push(@args, "$purpose", @opts);
H A D25-test_x509.t358 my ($expected, $cert, @opts) = @_;
361 push(@args, $infile, @opts);
363 my $res = grep(/-text/, @opts) ? run(app([@args], stdout => $tmpfile))
/openssl/crypto/
H A Dinit.c501 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
523 if (opts & OPENSSL_INIT_BASE_ONLY) in OPENSSL_init_crypto()
534 if ((tmp & opts) == opts) in OPENSSL_init_crypto()
583 if ((opts & OPENSSL_INIT_ATFORK) in OPENSSL_init_crypto()
587 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) in OPENSSL_init_crypto()
591 if (opts & OPENSSL_INIT_LOAD_CONFIG) { in OPENSSL_init_crypto()
617 if ((opts & OPENSSL_INIT_ASYNC) in OPENSSL_init_crypto()
622 if ((opts & OPENSSL_INIT_ENGINE_OPENSSL) in OPENSSL_init_crypto()
626 if ((opts & OPENSSL_INIT_ENGINE_RDRAND) in OPENSSL_init_crypto()
645 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/apps/
H A Dfipsinstall.c368 const FIPS_OPTS *opts, in write_config_fips_section() argument
383 opts->hmac_key_check ? "1": "0") <= 0 in write_config_fips_section()
385 opts->kmac_key_check ? "1": "0") <= 0 in write_config_fips_section()
389 opts->no_short_mac ? "1" : "0") <= 0 in write_config_fips_section()
451 && opts->self_test_onload == 0) { in write_config_fips_section()
478 opts, NULL, 0)) in generate_config_and_load()
583 STACK_OF(OPENSSL_STRING) *opts = NULL; in fipsinstall_main()
593 if ((opts = sk_OPENSSL_STRING_new_null()) == NULL) in fipsinstall_main()
739 if (!sk_OPENSSL_STRING_push(opts, opt_arg())) in fipsinstall_main()
827 if (opts != NULL) { in fipsinstall_main()
[all …]
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()
230 sk_OPENSSL_STRING_free(opts); in mac_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/ssl/
H A Dssl_init.c68 int OPENSSL_init_ssl(uint64_t opts, const OPENSSL_INIT_SETTINGS *settings) in OPENSSL_init_ssl() argument
85 opts |= OPENSSL_INIT_ADD_ALL_CIPHERS in OPENSSL_init_ssl()
88 if ((opts & OPENSSL_INIT_NO_LOAD_CONFIG) == 0) in OPENSSL_init_ssl()
89 opts |= OPENSSL_INIT_LOAD_CONFIG; in OPENSSL_init_ssl()
92 if (!OPENSSL_init_crypto(opts, settings)) in OPENSSL_init_ssl()
98 if ((opts & OPENSSL_INIT_NO_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
103 if ((opts & OPENSSL_INIT_LOAD_SSL_STRINGS) in OPENSSL_init_ssl()
/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/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/providers/common/der/
H A Doids_to_c.pm66 my %opts = %{ pop @_ } if ref $_[$#_] eq 'HASH';
72 my $input = File::Spec->catfile($opts{dir}, $file);
101 my %opts = %{ $_[$#_] } if ref $_[$#_] eq 'HASH';
107 my $lines = $opts{filter}->($_, encode_oid($_->[0]));
/openssl/demos/guide/
H A Dtls-server-block.c66 long opts; in main() local
120 opts = SSL_OP_IGNORE_UNEXPECTED_EOF; in main()
127 opts |= SSL_OP_NO_RENEGOTIATION; in main()
133 opts |= SSL_OP_CIPHER_SERVER_PREFERENCE; in main()
136 SSL_CTX_set_options(ctx, opts); in main()
/openssl/test/
H A Drun_tests.pl174 my %opts = %{ shift() };
268 %opts = ( callbacks => { %callbacks }, %opts );
271 return $class->SUPER::new({ %opts });

Completed in 145 milliseconds

12