Home
last modified time | relevance | path

Searched refs:args (Results 1 – 25 of 112) sorted by relevance

12345

/openssl/test/recipes/
H A D30-test_evp_fetch_prov.t48 { args => [ '-property', '' ] },
59 { args => [ '-property', 'fips=yes' ],
61 { args => [ '-property', 'fips!=no' ],
63 { args => [ '-property', '-fips' ],
72 { args => [ '-property', '' ] },
81 { args => [ '-property', 'fips=yes' ],
83 { args => [ '-property', 'fips!=no' ],
85 { args => [ '-property', '-fips' ],
87 { args => [ '-property', 'fips=no' ],
89 { args => [ '-property', 'fips!=yes' ],
[all …]
H A D20-test_pkeyutl.t109 my @args = ();
116 push(@args, @extraopts);
117 ok(run(app([@args])),
125 push(@args, @extraopts);
126 ok(!run(app([@args])),
133 push(@args, @extraopts);
134 ok(run(app([@args])),
142 push(@args, @extraopts);
143 ok(run(app([@args])),
150 push(@args, @extraopts);
[all …]
H A D15-test_ec.t39 -args => "pkey" );
44 -args => [ "ec", "-pubin", "-pubout" ] );
54 -args => "pkey" );
59 -args => [ "pkey", "-pubin", "-pubout" ] );
72 -args => ["pkey"] );
77 -args => ["pkey", "-pubin", "-pubout"] );
86 -args => ["pkey"] );
91 -args => ["pkey", "-pubin", "-pubout"] );
H A D60-test_x509_store.t30 my @args = qw(openssl verify -auth_level 1 -purpose);
32 push(@args, "$purpose", @opts);
33 push(@args, "-CApath", $trustedpath);
34 for (@$untrusted) { push(@args, "-untrusted", srctop_file(@path, "$_.pem")) }
35 push(@args, srctop_file(@path, "$cert.pem"));
36 run(app([@args]));
H A D15-test_dsa.t35 -args => ["dsa", "-pubin", "-pubout"] );
41 -args => ["pkey"] );
46 -args => ["pkey", "-pubin", "-pubout"] );
H A D61-test_bio_prefix.t30 my @args = do $args_path;
33 unless ok(run(test([ 'bio_prefix_text', @args ],
35 "prefixing $_ with args " . join(' ', @args));
H A D30-test_evp.t177 my @args = ( qw(openssl pkey -in), $infile, @{$opts{args} // []} );
178 my $res = !run(app([@args], stderr => $opts{out}));
204 args => [ '-pubin' ],
H A D15-test_rsa.t51 -args => ["pkey"] );
62 -args => ["rsa", "-pubin", "-pubout"] );
73 -args => ["rsa", "-passin", "pass:testpass",
/openssl/demos/bio/
H A Dclient-arg.c22 char **args = argv + 1; in main() local
31 while (*args && **args == '-') { in main()
34 rv = SSL_CONF_cmd_argv(cctx, &nargs, &args); in main()
36 fprintf(stderr, "Missing argument for %s\n", *args); in main()
40 fprintf(stderr, "Error in command %s\n", *args); in main()
48 if (strcmp(*args, "-connect") == 0) { in main()
49 connect_str = args[1]; in main()
54 args += 2; in main()
58 fprintf(stderr, "Unknown argument %s\n", *args); in main()
H A Dserver-arg.c32 char **args = argv + 1; in main() local
41 while (*args && **args == '-') { in main()
44 rv = SSL_CONF_cmd_argv(cctx, &nargs, &args); in main()
46 fprintf(stderr, "Missing argument for %s\n", *args); in main()
50 fprintf(stderr, "Error in command %s\n", *args); in main()
58 if (strcmp(*args, "-port") == 0) { in main()
59 port = args[1]; in main()
64 args += 2; in main()
68 fprintf(stderr, "Unknown argument %s\n", *args); in main()
/openssl/ssl/quic/
H A Dquic_tls.c23 QUIC_TLS_ARGS args; member
303 if (!rl->qtls->args.alert_cb(rl->qtls->args.alert_cb_arg, alert)) { in quic_write_records()
635 if (args->crypto_send_cb == NULL in ossl_quic_tls_new()
636 || args->crypto_recv_rcd_cb == NULL in ossl_quic_tls_new()
651 qtls->args = *args; in ossl_quic_tls_new()
744 if (qtls->args.is_server) { in ossl_quic_tls_tick()
780 if (qtls->args.is_server) in ossl_quic_tls_tick()
781 SSL_set_accept_state(qtls->args.s); in ossl_quic_tls_tick()
793 ret = SSL_read(qtls->args.s, NULL, 0); in ossl_quic_tls_tick()
795 ret = SSL_do_handshake(qtls->args.s); in ossl_quic_tls_tick()
[all …]
H A Dquic_txp.c458 if (args == NULL in ossl_quic_tx_packetiser_new()
459 || args->qtx == NULL in ossl_quic_tx_packetiser_new()
461 || args->cfq == NULL in ossl_quic_tx_packetiser_new()
462 || args->ackm == NULL in ossl_quic_tx_packetiser_new()
463 || args->qsm == NULL in ossl_quic_tx_packetiser_new()
476 txp->args = *args; in ossl_quic_tx_packetiser_new()
480 txp->args.cfq, txp->args.ackm, txp->args.txpim, in ossl_quic_tx_packetiser_new()
616 txp->args.peer = *peer; in ossl_quic_tx_packetiser_set_peer()
772 uint64_t cc_limit = txp->args.cc_method->get_tx_allowance(txp->args.cc_data); in ossl_quic_tx_packetiser_generate()
2833 tpkt->ackm_pkt.time = txp->args.now(txp->args.now_arg); in txp_generate_for_el()
[all …]
H A Dquic_tserver.c24 QUIC_TSERVER_ARGS args; member
64 if (srv->args.alpn == NULL) { in alpn_select_cb()
68 alpn = srv->args.alpn; in alpn_select_cb()
69 alpnlen = srv->args.alpnlen; in alpn_select_cb()
87 if (args->net_rbio == NULL || args->net_wbio == NULL) in ossl_quic_tserver_new()
93 srv->args = *args; in ossl_quic_tserver_new()
100 if (args->ctx != NULL) in ossl_quic_tserver_new()
101 srv->ctx = args->ctx; in ossl_quic_tserver_new()
103 srv->ctx = SSL_CTX_new_ex(srv->args.libctx, srv->args.propq, in ossl_quic_tserver_new()
155 if (args->ctx == NULL) in ossl_quic_tserver_new()
[all …]
H A Dquic_engine.c26 QUIC_ENGINE *ossl_quic_engine_new(const QUIC_ENGINE_ARGS *args) in ossl_quic_engine_new() argument
33 qeng->libctx = args->libctx; in ossl_quic_engine_new()
34 qeng->propq = args->propq; in ossl_quic_engine_new()
35 qeng->mutex = args->mutex; in ossl_quic_engine_new()
36 qeng->now_cb = args->now_cb; in ossl_quic_engine_new()
37 qeng->now_cb_arg = args->now_cb_arg; in ossl_quic_engine_new()
96 const QUIC_PORT_ARGS *args) in ossl_quic_engine_create_port() argument
98 QUIC_PORT_ARGS largs = *args; in ossl_quic_engine_create_port()
H A Dquic_port.c42 port->engine = args->engine; in ossl_quic_port_new()
43 port->channel_ctx = args->channel_ctx; in ossl_quic_port_new()
308 QUIC_CHANNEL_ARGS args = {0}; in port_make_channel() local
311 args.port = port; in port_make_channel()
312 args.is_server = is_server; in port_make_channel()
314 args.lcidm = port->lcidm; in port_make_channel()
315 args.srtm = port->srtm; in port_make_channel()
316 if (args.tls == NULL) in port_make_channel()
321 args.qlog_title = args.tls->ctx->qlog_title; in port_make_channel()
324 ch = ossl_quic_channel_new(&args); in port_make_channel()
[all …]
H A Dquic_impl.c163 va_list args; in quic_raise_non_normal_error() local
175 va_start(args, fmt); in quic_raise_non_normal_error()
177 va_end(args); in quic_raise_non_normal_error()
1318 args != NULL ? args->quic_error_code : 0, in ossl_quic_conn_shutdown()
1319 args != NULL ? args->quic_reason : NULL); in ossl_quic_conn_shutdown()
2276 if (!quic_validate_for_write(args->xso, &args->err)) in quic_write_again()
2284 if (!xso_sstream_append(args->xso, args->buf, args->len, &actual_written)) in quic_write_again()
2288 args->len == actual_written, args->flags, 0); in quic_write_again()
2744 if (!quic_read_actual(args->ctx, args->stream, in quic_read_again()
2745 args->buf, args->len, args->bytes_read, in quic_read_again()
[all …]
H A Dquic_lcidm.c430 struct retire_args *args = arg; in retire_for_conn() local
434 || lcid_obj->seq_num >= args->retire_prior_to) in retire_for_conn()
437 if (lcid_obj->seq_num < args->earliest_seq_num) { in retire_for_conn()
438 args->earliest_seq_num = lcid_obj->seq_num; in retire_for_conn()
439 args->earliest_seq_num_lcid_obj = lcid_obj; in retire_for_conn()
452 struct retire_args args = {0}; in ossl_quic_lcidm_retire() local
463 args.retire_prior_to = retire_prior_to; in ossl_quic_lcidm_retire()
464 args.earliest_seq_num = UINT64_MAX; in ossl_quic_lcidm_retire()
466 lh_QUIC_LCID_doall_arg(conn->lcids, retire_for_conn, &args); in ossl_quic_lcidm_retire()
467 if (args.earliest_seq_num_lcid_obj == NULL) in ossl_quic_lcidm_retire()
[all …]
/openssl/crypto/bio/
H A Dbio_print.c155 min = va_arg(args, int); in _dopr()
175 max = va_arg(args, int); in _dopr()
231 value = va_arg(args, int); in _dopr()
880 va_list args; in BIO_printf() local
883 va_start(args, format); in BIO_printf()
885 ret = BIO_vprintf(bio, format, args); in BIO_printf()
887 va_end(args); in BIO_printf()
905 args)) { in BIO_vprintf()
926 va_list args; in BIO_snprintf() local
929 va_start(args, format); in BIO_snprintf()
[all …]
H A Dbio_cb.c27 BIO_MMSG_CB_ARGS *args; in BIO_debug_callback_ex() local
75 args = (BIO_MMSG_CB_ARGS *)argp; in BIO_debug_callback_ex()
77 args->num_msg, bio->method->name); in BIO_debug_callback_ex()
80 args = (BIO_MMSG_CB_ARGS *)argp; in BIO_debug_callback_ex()
82 args->num_msg, bio->method->name); in BIO_debug_callback_ex()
/openssl/test/
H A Dquic_txp_test.c45 OSSL_QUIC_TX_PACKETISER_ARGS args; member
93 ossl_qtx_free(h->args.qtx); in helper_cleanup()
94 ossl_quic_txpim_free(h->args.txpim); in helper_cleanup()
95 ossl_quic_cfq_free(h->args.cfq); in helper_cleanup()
103 ossl_quic_sstream_free(h->args.crypto[i]); in helper_cleanup()
104 ossl_ackm_free(h->args.ackm); in helper_cleanup()
200 h->args.cur_scid = scid_1; in helper_init()
201 h->args.cur_dcid = dcid_1; in helper_init()
202 h->args.qsm = &h->qsm; in helper_init()
209 h->args.now = fake_now; in helper_init()
[all …]
/openssl/crypto/err/
H A Derr_blocks.c42 va_list args; in ERR_set_error() local
44 va_start(args, fmt); in ERR_set_error()
45 ERR_vset_error(lib, reason, fmt, args); in ERR_set_error()
46 va_end(args); in ERR_set_error()
49 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args) in ERR_vset_error() argument
90 printed_len = BIO_vsnprintf(buf, buf_size, fmt, args); in ERR_vset_error()
/openssl/Configurations/
H A Dwindows-makefile.tmpl712 my %args = @_;
715 $args{target}: $deps
724 my %args = @_;
743 $args{src}: "$pod"
870 my %args = @_;
931 my %args = @_;
978 my %args = @_;
1008 my %args = @_;
1021 my %args = @_;
1045 my %args = @_;
[all …]
H A Ddescrip.mms.tmpl974 my %args = @_;
977 $args{target} : $deps
982 my %args = @_;
1000 $args{src} : $pod
1016 $args{generator}->[1] || basename($args{product}, '.EXE');
1143 my %args = @_;
1248 my %args = @_;
1297 my %args = @_;
1353 my %args = @_;
1368 my %args = @_;
[all …]
/openssl/crypto/perlasm/
H A Darm-xlate.pl45 my @args = split(/,\s*/,shift);
46 my $name = @args[0];
51 $ret = ".comm\t_$name,@args[1]\n";
57 } else { $ret = ".comm\t".join(',',@args); }
118 my ($args,$comment) = split(m|\s*//|,shift);
119 "\tadrp\t$args\@PAGE";
/openssl/crypto/modes/asm/
H A Dghash-parisc.pl640 my ($mod,$args) = @_;
641 my $orig = "ldd$mod\t$args";
658 my ($mod,$args) = @_;
659 my $orig = "std$mod\t$args";
669 my ($mod,$args) = @_;
670 my $orig = "extrd$mod\t$args";
691 my ($mod,$args) = @_;
708 my ($mod,$args) = @_;
709 my $orig = "depd$mod\t$args";
724 my ($mnemonic,$mod,$args)=@_;
[all …]

Completed in 99 milliseconds

12345