Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 173) sorted by relevance

1234567

/openssl/test/recipes/
H A D20-test_kdf.t19 …{ cmd => [qw{openssl kdf -keylen 16 -digest SHA256 -kdfopt secret:secret -kdfopt seed:seed TLS1-PR…
22 …{ cmd => [qw{openssl kdf -keylen 16 -digest MD5-SHA1 -kdfopt secret:secret -kdfopt seed:seed TLS1-…
25 …{ cmd => [qw{openssl kdf -keylen 10 -digest SHA256 -kdfopt key:secret -kdfopt salt:salt -kdfopt in…
28 …{ cmd => [qw{openssl kdf -keylen 25 -digest SHA256 -kdfopt pass:passwordPASSWORDpassword -kdfopt s…
40 …{ cmd => [qw{openssl kdf -keylen 16 -digest SHA256 -kdfopt hexkey:0102030405 -kdfopt hexxcghash:06…
45 …{ cmd => [qw{openssl kdf -keylen 16 -kdfopt digest:SHA256 -kdfopt secret:secret -kdfopt seed:seed …
48 …{ cmd => [qw{openssl kdf -keylen 16 -kdfopt digest:MD5-SHA1 -kdfopt secret:secret -kdfopt seed:see…
51 …{ cmd => [qw{openssl kdf -keylen 10 -kdfopt digest:SHA256 -kdfopt key:secret -kdfopt salt:salt -kd…
66 …{ cmd => [qw{openssl kdf -keylen 16 -kdfopt digest:SHA256 -kdfopt hexkey:0102030405 -kdfopt hexxcg…
80 …{ cmd => [qw{openssl kdf -keylen 64 -kdfopt pass:password -kdfopt salt:NaCl -kdfopt n:1024 -kdfopt…
[all …]
H A D15-test_rsa.t30 my $cmd = shift;
33 "$cmd -check" );
41 skip "Skipping $cmd conversion test", 3
44 subtest "$cmd conversions -- private key" => sub {
45 tconversion( -type => $cmd, -prefix => "$cmd-priv",
49 tconversion( -type => $cmd, -prefix => "$cmd-pkcs8",
57 if disabled($cmd) || $cmd eq 'pkey';
59 subtest "$cmd conversions -- public key" => sub {
67 if disabled($cmd) || $cmd eq 'pkey' || disabled("rc4")
70 subtest "$cmd conversions -- private key" => sub {
[all …]
H A D20-test_mac.t40 …{ cmd => [qw{openssl mac -macopt hexkey:404142434445464748494A4B4C4D4E4F505152535455565758595A5B5C…
58 { cmd => [qw{openssl mac -macopt hexkey:000102030405060708090A0B0C0D0E0F}],
66 …{ cmd => [qw{openssl mac -cipher AES-256-CBC -macopt hexkey:0B122AC8F34ED1FE082A3625D157561454167A…
79 …{ cmd => [qw{openssl mac -macopt hexkey:02000000000000000000000000000000ffffffffffffffffffffffffff…
91 { cmd => [qw{openssl mac}],
96 …{ cmd => [qw{openssl mac -propquery unknown -macopt hexkey:404142434445464748494A4B4C4D4E4F5051525…
101 { cmd => [qw{openssl mac -cipher AES-128-CBC -macopt hexkey:00}],
109 { cmd => [qw{openssl mac}],
124 ok(compareline($_->{cmd}, $_->{type}, $_->{input}, $_->{expected}, $_->{err}), $_->{desc});
128 ok(comparefile($_->{cmd}, $_->{type}, $_->{input}, $_->{expected}), $_->{desc});
[all …]
H A D20-test_enc.t31 my $cmd = "openssl";
38 run(app([$cmd, "list", "-cipher-commands"]),
70 ok(run(app([$cmd, @e, @prov, "-in", $test, "-out", $cipherfile]))
71 && run(app([$cmd, @d, @prov, "-in", $cipherfile, "-out", $clearfile]))
75 ok(run(app([$cmd, "enc", "-in", $test, "-aes256", "-pbkdf2", "-out",
77 && run(app([$cmd, "enc", "-d", "-in", "salted_default.cipher", "-aes256", "-pbkdf2",
82 ok(!run(app([$cmd, "enc", "-d", "-in", "salted_default.cipher", "-aes256", "-pbkdf2",
86 ok(run(app([$cmd, "enc", "-in", $test, "-aes256", "-pbkdf2", "-saltlen", "16",
88 && run(app([$cmd, "enc", "-d", "-in", "salted.cipher", "-aes256", "-pbkdf2",
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_commands.csv4 1,minimum options, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
6 0,no cmd, -section,,BLANK,,,BLANK,,,BLANK,,,BLANK,,BLANK,
7 0,cmd missing arg, -section,, -cmd,,,BLANK,,,BLANK,,,BLANK,,BLANK,
8 0,cmd undefined , -section,, -cmd,abc,,BLANK,,,BLANK,,,BLANK,,BLANK,
9 0,cmd incomplete, -section,, -cmd,i,,BLANK,,,BLANK,,,BLANK,,BLANK,
11 1,no cacertsout, -section,, -cmd,ir,,BLANK,,,BLANK,,,BLANK,,BLANK,
14 0,cacertsout missing arg, -section,, -cmd,ir,, -cacertsout,,,BLANK,,,BLANK,,BLANK,
39 0,without oldcert, -section,, -cmd,rr,,BLANK,,,BLANK,,,BLANK,,BLANK,
41 0,empty oldcert file, -section,, -cmd,rr,,BLANK,,,BLANK,,, -oldcert,empty.txt,BLANK,
61 1,ir + infotype, -section,, -cmd,ir,,BLANK,,, -infotype,signKeyPairTypes,,BLANK,,BLANK,
[all …]
H A Dtest_enrollment.csv6 0,missing chain, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLA…
8 0,newkey missing arg, -section,, -cmd,ir, -newkey,,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK…
31 1,days 1, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,, -days,1,BLANK,,BLANK,,B…
32 1,days 0, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,, -days,0,BLANK,,BLANK,,B…
60 0,popo NONE, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK,,…
72 0,no certout, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BLANK,…
73 0,certout missing arg, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLAN…
75 0,certout too many parameters, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLA…
77 1,no out_trusted, -section,, -cmd,ir, -newkey,new.key,, -newkeypass,pass:,,,BLANK,,BLANK,,BLANK,,BL…
99 1,p10cr csr present, -section,, -cmd,p10cr,BLANK,,, BLANK,,,,BLANK,,BLANK,,BLANK,,BLANK,,BLANK,,BLA…
[all …]
/openssl/apps/
H A Dprogs.pl120 foreach my $cmd ( @ARGV ) {
122 " {FT_general, \"$cmd\", ${cmd}_main, ${cmd}_options, NULL, NULL},\n";
123 if ($cmd =~ /^s_/) {
125 } elsif (my $deprecated = $cmd_deprecated{$cmd}) {
138 } elsif (grep { $cmd eq $_ } @disablables) {
140 } elsif (my $disabler = $cmd_disabler{$cmd}) {
151 foreach my $cmd (
161 if (grep { $cmd eq $_ } @disablables) {
163 } elsif (my $disabler = $md_disabler{$cmd}) {
175 foreach my $cmd (
[all …]
/openssl/util/
H A Dcheckplatformsyms.pl22 my $cmd;
26 $cmd = "dumpbin /imports " . $objfilelist;
34 open($OBJFH, "$cmd|") or die "Cannot open process: $!";
63 $cmd = "objdump -t " . $objfilelist . " | grep UND | grep -v \@OPENSSL";
64 $cmd = $cmd . " | awk '{print \$NF}' |";
65 $cmd = $cmd . " sed -e\"s/@.*\$//\" | sort | uniq";
74 open($OBJFH, "$cmd|") or die "Cannot open process: $!";
H A Dwrap.pl.in79 my @cmd;
83 @cmd = fixup_cmd(@ARGV);
85 @cmd = ( $unix_shlib_wrap, @ARGV );
88 @cmd = ( @ARGV );
93 my $waitcode = system @cmd;
98 die "wrap.pl: Failed to execute '", join(' ', @cmd), "': $!\n"
H A Dfind-doc-nits1067 my $cmd = shift;
1075 open CFH, "apps/$cmd.c"
1076 or die "Can't open apps/$cmd.c to list options for $cmd, $!";
1122 err("$doc: undocumented $cmd option -$_");
1130 err("$doc: $cmd does not implement -$_");
1162 foreach my $cmd ( @commands ) {
1163 $cmd =~ s/\.c$//;
1164 next if $cmd eq 'progs' || $cmd eq 'vms_decc_init';
1167 || basename($_) eq "$cmd.pod" }
1173 err("no manual for 'openssl $cmd'");
[all …]
/openssl/util/perl/OpenSSL/
H A DUtil.pm195 my $cmd = shift;
203 if ($cmd =~ m|^\@|) {
207 } elsif ($cmd =~ m|^MCR$|) {
211 @prefix = ( $cmd );
212 $cmd = shift;
219 my $executable = ($cmd =~ m|.[a-z0-9\$]*$|) ? $cmd : $cmd . '.exe';
226 $cmd = '[]' . $cmd unless $cmd =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i;
235 return ( @prefix, $cmd, fixup_cmd_elements(@_) );
H A DTest.pm311 sub cmd { subroutine
312 my $cmd = shift;
326 my $cmd = shift;
337 my $cmd = shift;
348 my $cmd = shift;
359 my $cmd = shift;
373 my $cmd = shift;
435 return () if !$cmd;
833 return $cmd;
1221 my $cmd = shift;
[all …]
/openssl/crypto/conf/
H A Dconf_ssl.c33 char *cmd; member
51 OPENSSL_free(tname->cmds[j].cmd); in ssl_module_free()
111 struct ssl_conf_cmd_st *cmd = ssl_name->cmds + j; in ssl_module_init() local
119 cmd->cmd = OPENSSL_strdup(name); in ssl_module_init()
120 cmd->arg = OPENSSL_strdup(cmd_conf->value); in ssl_module_init()
121 if (cmd->cmd == NULL || cmd->arg == NULL) in ssl_module_init()
172 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr, in conf_ssl_get_cmd() argument
175 *cmdstr = cmd[idx].cmd; in conf_ssl_get_cmd()
176 *arg = cmd[idx].arg; in conf_ssl_get_cmd()
/openssl/apps/lib/
H A Dapp_x509.c37 static int x509_ctrl(void *object, int cmd, void *value, size_t value_n) in x509_ctrl() argument
39 switch (cmd) { in x509_ctrl()
61 static int x509_req_ctrl(void *object, int cmd, void *value, size_t value_n) in x509_req_ctrl() argument
63 switch (cmd) { in x509_req_ctrl()
85 static int do_x509_ctrl_string(int (*ctrl)(void *object, int cmd, in do_x509_ctrl_string() argument
92 int cmd = 0; /* Will get command values that make sense somehow */ in do_x509_ctrl_string() local
106 cmd = EVP_PKEY_CTRL_SET1_ID; /* ... except we put it in X509 */ in do_x509_ctrl_string()
119 cmd = EVP_PKEY_CTRL_SET1_ID; /* ... except we put it in X509 */ in do_x509_ctrl_string()
123 rv = ctrl(object, cmd, vtmp, vtmp_len); in do_x509_ctrl_string()
/openssl/crypto/engine/
H A Deng_ctrl.c64 static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p, in int_ctrl_helper() argument
72 if (cmd == ENGINE_CTRL_GET_FIRST_CMD_TYPE) { in int_ctrl_helper()
78 if ((cmd == ENGINE_CTRL_GET_CMD_FROM_NAME) || in int_ctrl_helper()
79 (cmd == ENGINE_CTRL_GET_NAME_FROM_CMD) || in int_ctrl_helper()
80 (cmd == ENGINE_CTRL_GET_DESC_FROM_CMD)) { in int_ctrl_helper()
87 if (cmd == ENGINE_CTRL_GET_CMD_FROM_NAME) { in int_ctrl_helper()
106 switch (cmd) { in int_ctrl_helper()
143 switch (cmd) { in ENGINE_ctrl()
155 return int_ctrl_helper(e, cmd, i, p, f); in ENGINE_ctrl()
173 return e->ctrl(e, cmd, i, p, f); in ENGINE_ctrl()
[all …]
/openssl/crypto/bio/
H A Dbf_null.c23 static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2);
24 static long nullf_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
73 static long nullf_ctrl(BIO *b, int cmd, long num, void *ptr) in nullf_ctrl() argument
79 switch (cmd) { in nullf_ctrl()
82 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nullf_ctrl()
89 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nullf_ctrl()
94 static long nullf_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in nullf_callback_ctrl() argument
98 return BIO_callback_ctrl(b->next_bio, cmd, fp); in nullf_callback_ctrl()
H A Dbf_nbio.c24 static long nbiof_ctrl(BIO *h, int cmd, long arg1, void *arg2);
27 static long nbiof_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
148 static long nbiof_ctrl(BIO *b, int cmd, long num, void *ptr) in nbiof_ctrl() argument
154 switch (cmd) { in nbiof_ctrl()
157 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
164 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in nbiof_ctrl()
170 static long nbiof_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in nbiof_callback_ctrl() argument
174 return BIO_callback_ctrl(b->next_bio, cmd, fp); in nbiof_callback_ctrl()
H A Dbf_lbuf.c20 static long linebuffer_ctrl(BIO *h, int cmd, long arg1, void *arg2);
23 static long linebuffer_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
200 static long linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) in linebuffer_ctrl() argument
211 switch (cmd) { in linebuffer_ctrl()
216 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
226 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
253 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
261 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
281 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
292 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in linebuffer_ctrl()
[all …]
H A Dbf_prefix.c20 static long prefix_ctrl(BIO *b, int cmd, long arg1, void *arg2);
23 static long prefix_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
151 static long prefix_ctrl(BIO *b, int cmd, long num, void *ptr) in prefix_ctrl() argument
159 switch (cmd) { in prefix_ctrl()
181 switch (cmd) { in prefix_ctrl()
188 ret = BIO_ctrl(BIO_next(b), cmd, num, ptr); in prefix_ctrl()
194 static long prefix_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in prefix_callback_ctrl() argument
196 return BIO_callback_ctrl(BIO_next(b), cmd, fp); in prefix_callback_ctrl()
H A Dbf_buff.c19 static long buffer_ctrl(BIO *h, int cmd, long arg1, void *arg2);
246 switch (cmd) { in buffer_ctrl()
254 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
259 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
277 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
285 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
354 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
362 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
383 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
406 ret = BIO_ctrl(b->next_bio, cmd, num, ptr); in buffer_ctrl()
[all …]
/openssl/crypto/evp/
H A Dbio_md.c23 static long md_ctrl(BIO *h, int cmd, long arg1, void *arg2);
26 static long md_callback_ctrl(BIO *h, int cmd, BIO_info_cb *fp);
131 static long md_ctrl(BIO *b, int cmd, long num, void *ptr) in md_ctrl() argument
143 switch (cmd) { in md_ctrl()
150 ret = BIO_ctrl(next, cmd, num, ptr); in md_ctrl()
172 ret = BIO_ctrl(next, cmd, num, ptr); in md_ctrl()
190 ret = BIO_ctrl(next, cmd, num, ptr); in md_ctrl()
196 static long md_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp) in md_callback_ctrl() argument
205 return BIO_callback_ctrl(next, cmd, fp); in md_callback_ctrl()
H A Dbio_enc.c21 static long enc_ctrl(BIO *h, int cmd, long arg1, void *arg2);
296 static long enc_ctrl(BIO *b, int cmd, long num, void *ptr) in enc_ctrl() argument
311 switch (cmd) { in enc_ctrl()
318 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
324 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
329 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
334 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
366 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
374 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
393 ret = BIO_ctrl(next, cmd, num, ptr); in enc_ctrl()
[all …]
/openssl/doc/man3/
H A DSSL_CTX_ctrl.pod11 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
12 long SSL_CTX_callback_ctrl(SSL_CTX *, int cmd, void (*fp)());
14 long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
15 long SSL_callback_ctrl(SSL *, int cmd, void (*fp)());
20 the SSL_CTX and SSL objects. Depending on the command B<cmd> the arguments
28 supplied via the B<cmd> parameter.
/openssl/test/
H A Dcms-examples.pl224 $cmd =
229 $cmd .= " -content $cmsdir/ExContent.bin" if $tlist =~ /cont_extern/;
231 system("$cmd 2>cms.err 1>cms.out");
255 $cmd =
261 system("$cmd 2>cms.err 1>cms.out");
282 my $cmd =
285 system("$cmd 2>cms.err 1>cms.out");
/openssl/ssl/
H A Dbio_ssl.c22 static long ssl_ctrl(BIO *h, int cmd, long arg1, void *arg2);
225 static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) in ssl_ctrl() argument
237 if (ssl == NULL && cmd != BIO_C_SET_SSL) in ssl_ctrl()
239 switch (cmd) { in ssl_ctrl()
258 ret = BIO_ctrl(next, cmd, num, ptr); in ssl_ctrl()
260 ret = BIO_ctrl(sc->rbio, cmd, num, ptr); in ssl_ctrl()
321 ret = BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); in ssl_ctrl()
330 ret = BIO_ctrl(SSL_get_wbio(ssl), cmd, num, ptr); in ssl_ctrl()
388 ret = BIO_ctrl(SSL_get_rbio(ssl), cmd, num, ptr); in ssl_ctrl()
402 ret = BIO_ctrl(SSL_get_rbio(ssl), cmd, num, ptr); in ssl_ctrl()
[all …]

Completed in 68 milliseconds

1234567