/freebsd/crypto/openssl/test/recipes/ |
H A D | 25-test_req.t | 47 ok( run(app([@addext_args, "-addext", $val]))); 48 ok( run(app([@addext_args, "-addext", $val1]))); 50 ok(!run(app([@addext_args, "-addext", $val1]))); 51 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val]))); 52 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val2]))); 53 ok(!run(app([@addext_args, "-addext", $val, "-addext", $val3]))); 54 ok(!run(app([@addext_args, "-addext", $val2, "-addext", $val3]))); 55 ok(run(app([@addext_args, "-addext", "SXNetID=1:one, 2:two, 3:three"]))); 56 ok(run(app([@addext_args, "-addext", "subjectAltName=dirName:dirname_sec"]))); 59 ok(!run(app(["openss [all...] |
H A D | 90-test_store.t | 148 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 151 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 154 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 156 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 173 ok(!run(app([@storeutl, "-noout", $file]))); 174 ok(!run(app([@storeutl, "-noout", to_abs_file($file)]))); 178 ok(!run(app([@storeutl, "-noout", 185 ok(run(app([@storeutl, "-noout", $file]))); 186 ok(run(app([@storeutl, "-noout", to_abs_file($file)]))); 191 ok(run(app([@storeutl, "-noout", [all …]
|
H A D | 03-test_fipsinstall.t | 87 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', 94 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile, 102 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile, 109 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile, 116 && !run(app(['openssl', 'fipsinstall', 125 && !run(app(['openssl', 'fipsinstall', 135 && !run(app(['openssl', 'fipsinstall', 145 && !run(app(['openssl', 'fipsinstall', 155 && !run(app(['openssl', 'fipsinstall', 164 ok(!run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile, [all …]
|
H A D | 15-test_genrsa.t | 31 is(run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem', 35 is(run(app([ 'openssl', 'genrsa', '-3', '-out', 'genrsatest.pem', '8'])), 50 $fin = run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem', 66 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 71 ok(run(app([ 'openssl', 'pkey', '-check', '-in', 'genrsatest.pem', '-noout' ])), 74 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 78 ok(run(app([ 'openssl', 'pkey', '-check', '-in', 'genrsatest2048.pem', '-noout' ])), 81 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 85 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 89 ok(!run(app([ 'openssl', 'genpkey', '-propquery', 'unknown', [all …]
|
H A D | 80-test_tsa.t | 40 ok(run(app(["openssl", "req", "-config", $openssl_conf, "-new", 45 ok(run(app(["openssl", "x509", "-req", 59 ok(run(app([@REPLY, "-section", $config, "-queryfile", $queryfile, 70 ok(run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile, 72 ok(run(app([@VERIFY, "-data", $datafile, "-in", $inputfile, 82 ok(!run(app([@VERIFY, "-queryfile", $queryfile, "-in", $inputfile, 101 $ENV{OPENSSL} = cmdstr(app(["openssl"]), display => 1); 106 unless ok(run(app(["openssl", "req", "-config", $openssl_conf, 122 unless ok(run(app([@QUERY, "-data", $testtsa, 127 ok(run(app([@QUERY, "-in", "req1.tsq", "-text"])), [all …]
|
H A D | 20-test_cli_fips.t | 39 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])), 41 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])), 43 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])), 45 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])), 47 ok(run(app(['openssl', 'list', '-kem-algorithms', '-verbose'])), 49 ok(run(app(['openssl', 'list', '-signature-algorithms', '-verbose'])), 51 ok(run(app(['openssl', 'list', '-asymcipher-algorithms', '-verbose'])), 53 ok(run(app(['openssl', 'list', '-key-managers', '-verbose', '-select', 'DSA' ])), 62 ok(run(app(['openssl', 'pkey', 87 ok(run(app(['openssl', 'dgst', '-sha256', [all …]
|
H A D | 15-test_gendsa.t | 33 ok(run(app([ 'openssl', 'genpkey', '-genparam', 40 ok(run(app([ 'openssl', 'genpkey', '-genparam', 46 ok(run(app([ 'openssl', 'genpkey', '-genparam', 54 ok(run(app([ 'openssl', 'genpkey', '-genparam', 60 ok(run(app([ 'openssl', 'genpkey', '-genparam', 67 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DSA', 72 ok(run(app([ 'openssl', 'genpkey', '-genparam', 79 ok(run(app([ 'openssl', 'genpkey', '-genparam', 89 ok(run(app([ 'openssl', 'genpkey', 97 ok(run(app([ 'openssl', 'genpkey', [all …]
|
H A D | 15-test_rsapss.t | 22 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', 30 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', 36 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512', 41 ok(!run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha512', 46 ok(!run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), '-sha512', 52 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 61 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 70 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 80 ok(run(app(['openssl', 'genpkey', '-algorithm', 'RSA-PSS', 85 ok(run(app(['openssl', 'rsa', '-check', [all …]
|
H A D | 25-test_x509.t | 36 ok(run(app(["openssl", "x509", "-text", "-in", $pem, "-out", $out_msb, 40 ok(run(app(["openssl", "x509", "-text", "-in", $pem, "-out", $out_utf8, 52 ok(run(app(["openssl", "x509", "-text", "-in", $p12, "-out", $out_pem, 57 ok(!run(app(["openssl", "x509", "-in", $pem, "-inform", "DER", 60 ok(run(app(["openssl", "x509", "-in", $pem, "-inform", "PEM", 63 ok(!run(app(["openssl", "x509", "-in", $der, "-inform", "PEM", 76 ok(run(app(["openssl", "pkey", "-in", $pkey, "-pubout", "-out", $pubkey])) 77 && run(app(["openssl", "x509", "-new", "-force_pubkey", $pubkey, 80 && run(app(["openssl", "verify", "-no_check_time", 112 my $res = grep(/-text/, @opts) ? run(app([@args], stdout => $tmpfile)) [all …]
|
H A D | 15-test_ecparam.t | 33 my $app = shift; # Which application 38 ok(run(app(['openssl', $app, '-noout', $opt, '-in', $_]))); 40 ok(!run(app(['openssl', $app, '-noout', $opt, '-in', $_]))); 47 my $app = shift; # Which application 50 my $testout = "$app.tst"; 52 ok(run(app(['openssl', $app, '-out', $testout, '-in', $_]))); 129 ok(run(app(['openssl', 'ecparam', 134 ok(run(app(['openssl', 'ecparam', 139 ok(!run(app(['openssl', 'ecparam', 144 ok(!run(app(['openssl', 'pkeyparam', [all …]
|
H A D | 25-test_eai_data.t | 45 ok(run(app(["openssl", "x509", "-ext", "subjectAltName", "-in", $ascii_pem, "-noout", "-out", $out]… 49 ok(run(app(["openssl", "x509", "-ext", "subjectAltName", "-in", $utf8_pem, "-noout", "-out", $out])… 55 …ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", "学生\@eleme… 56 …ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", "医生\@大学.ex… 59 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $ascii_chain_pem,… 60 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $utf8_chain_pem, … 61 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $kdc_chain_pem, $… 63 ok(!run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $ascii_chain_pem… 64 ok(!run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-CAfile", $utf8_chain_pem,… 67 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_hostname", 'mx1.exa… [all …]
|
H A D | 80-test_ssl_old.t | 127 ok(run(app([@reqcmd, "-config", $cnf, 133 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $CAreq, "-days", "30", 140 ok(run(app([@x509cmd, "-in", $CAcert, 146 ok(run(app([@reqcmd, "-config", $dummycnf, 152 ok(run(app([@reqcmd, "-config", $dummycnf, 157 ok(run(app([@verifycmd, "-CAfile", $CAcert, $CAcert])), 161 ok(run(app([@reqcmd, "-config", $cnf, "-section", "userreq", 167 ok(run(app([@x509cmd, "-CAcreateserial", "-in", $Ureq, "-days", "30", 172 && run(app([@verifycmd, "-CAfile", $CAcert, $Ucert])), 176 ok(run(app([@x509cmd, [all …]
|
H A D | 20-test_dhparam.t | 60 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 126 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.pem', 132 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-exp2-512.pem', '-2', 138 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-5-512.pem', '-5', 144 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.exp.pem', 153 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.pem', 160 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-exp2-512.pem', '-2', 166 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-5-512.pem', 171 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.der', 182 ok(!run(app(['openssl', 'dhparam', '-check', '512'])), [all …]
|
H A D | 20-test_pkeyutl.t | 29 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-sign', 35 ok_nofips(run(app(([ 'openssl', 'pkeyutl', 42 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-encrypt', 47 ok_nofips(run(app(([ 'openssl', 'pkeyutl', '-decrypt', 61 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 66 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in', 73 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 78 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in', 103 ok(run(app([@args])), 112 ok(!run(app([@args])), [all …]
|
H A D | 15-test_gendh.t | 23 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', 28 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', 34 ok(run(app([ 'openssl', 'genpkey', '-genparam', 43 ok(run(app([ 'openssl', 'genpkey', 51 ok(!run(app([ 'openssl', 'genpkey', 55 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 59 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 63 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt', 67 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'DH', '-pkeyopt',
|
H A D | 20-test_dgst.t | 33 ok(run(app(['openssl', 'dgst', '-sign', $privkey, 38 ok(run(app(['openssl', 'dgst', '-prverify', $privkey, 43 ok(run(app(['openssl', 'dgst', '-verify', $pubkey, 48 ok(!run(app(['openssl', 'dgst', '-verify', $pubkey, 65 ok(run(app(['openssl', 'sha512', '-sign', $privkey, 70 ok(run(app(['openssl', 'sha512', '-verify', $pubkey, 75 ok(run(app(['openssl', 'dgst', '-sha512', '-prverify', $privkey, 80 ok(run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey, 85 ok(!run(app(['openssl', 'dgst', '-sha512', '-verify', $pubkey, 158 my @macdata = run(app(['openssl', 'dgst', '-sha1', [all …]
|
H A D | 80-test_pkcs12.t | 71 ok(run(app(["openssl", "pkcs12", "-noout", 85 ok(run(app(["openssl", "pkcs12", "-export", "-chain", 96 ok(run(app(["openssl", "pkcs12", "-export", 109 ok(run(app(["openssl", "pkcs12", "-export", 120 ok(run(app(["openssl", "pkcs12", "-export", 131 ok(run(app(["openssl", "pkcs12", 137 ok(run(app(["openssl", "pkcs12", "-export", "-out", $outfile5, 142 my @pkcs12info = run(app(["openssl", "pkcs12", "-info", "-in", $outfile5, 158 ok(run(app(["openssl", "pkcs12", "-in", $bad1, "-password", "pass:"])), 161 ok(run(app(["openss [all...] |
H A D | 15-test_mp_rsa.t | 42 ok(run(app(['openssl', 'pkey', '-noout', '-check', '-in', 61 ok(run(app([ 'openssl', 'genpkey', '-out', "rsamptest-$name.pem", 66 ok(run(app([ 'openssl', 'pkey', '-check', 69 ok(run(app([ 'openssl', 'pkeyutl', '-inkey', "rsamptest-$name.pem", 73 ok(run(app([ 'openssl', 'pkeyutl', '-inkey', "rsamptest-$name.pem", 78 ok(run(app([ 'openssl', 'genrsa', '-out', "rsamptest-$name.pem", 80 ok(run(app([ 'openssl', 'rsa', '-check', 84 ok(run(app([ 'openssl', 'rsautl', '-inkey', "rsamptest-$name.pem", 88 ok(run(app([ 'openssl', 'rsautl', '-inkey', "rsamptest-$name.pem", 93 ok(run(app([ 'openssl', 'pkeyutl', '-inkey', "rsamptest-$name.pem", [all …]
|
H A D | 15-test_rsaoaep.t | 45 ok(!run(app(['openssl', 'pkeyutl', 58 ok(run(app(['openssl', 'pkeyutl', 70 ok(!run(app(['openssl', 'pkeyutl', 81 ok(run(app(['openssl', 'pkeyutl', 94 ok(!run(app(['openssl', 'pkeyutl', 105 ok(!run(app(['openssl', 'pkeyutl', 116 ok(run(app(['openssl', 'pkeyutl', 129 ok(run(app(['openssl', 'pkeyutl', 140 ok(run(app(['openssl', 'pkeyutl', 150 ok(run(app(['openssl', 'pkeyutl',
|
H A D | 15-test_genec.t | 182 ok(!run(app([ 'openssl', 'genpkey', 186 ok(!run(app([ 'openssl', 'genpkey', 191 ok(run(app([ 'openssl', 'genpkey', 207 app([ 'openssl', 'genpkey', '-genparam', 216 app([ 'openssl', 'genpkey', '-genparam', 227 app([ 'openssl', 'genpkey', 236 app([ 'openssl', 'genpkey', 268 app([ 'openssl', 'genpkey', '-genparam', 277 app([ 'openssl', 'genpkey', '-genparam', 288 app([ 'openssl', 'genpkey', [all …]
|
/freebsd/crypto/openssl/test/ssl-tests/ |
H A D | 27-ticket-appdata.cnf | 5 test-0 = 0-session-ticket-app-data12 6 test-1 = 1-session-ticket-app-data12 7 test-2 = 2-session-ticket-app-data13 8 test-3 = 3-session-ticket-app-data13 11 [0-session-ticket-app-data12] 12 ssl_conf = 0-session-ticket-app-data12-ssl 14 [0-session-ticket-app-data12-ssl] 15 server = 0-session-ticket-app-data12-server 16 client = 0-session-ticket-app-data12-client 17 resume-server = 0-session-ticket-app-data12-server [all …]
|
H A D | 13-fragmentation.cnf | 5 test-0 = 0-one-fragment-minus-app-data 6 test-1 = 1-one-fragment-app-data 7 test-2 = 2-one-fragment-plus-app-data 8 test-3 = 3-small-app-data 9 test-4 = 4-small-app-data-large-fragment-size 10 test-5 = 5-medium-app-data 11 test-6 = 6-medium-plus-app-data 12 test-7 = 7-large-app-data 13 test-8 = 8-large-app-data-large-fragment-size 14 test-9 = 9-large-app-data-odd-fragment-size [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie.c | 231 al_reg_write32(®s->app.parity->en_core, in al_pcie_port_ram_parity_int_config() 234 al_reg_write32_masked(®s->app.int_grp_b->mask, in al_pcie_port_ram_parity_int_config() 471 info_0 = al_reg_read32(®s->app.debug->info_0); in al_pcie_check_link() 794 al_reg_write32(regs->app.soc_int[pf_num].mask_inta_leg_0, (1 << 21)); in al_pcie_port_pf_params_config() 797 al_reg_write32(regs->app.soc_int[pf_num].mask_inta_leg_3, (1 << 18)); in al_pcie_port_pf_params_config() 820 al_reg_write32(regs->app.soc_int[pf_num].mask_msi_leg_0, (1 << 22)); in al_pcie_port_pf_params_config() 823 al_reg_write32(regs->app.soc_int[pf_num].mask_msi_leg_3, (1 << 19)); in al_pcie_port_pf_params_config() 860 al_reg_write32_masked(®s->app.cfg_func_ext->cfg, in al_pcie_port_sris_config() 864 al_reg_write32_masked(regs->app.global_ctrl.sris_kp_counter, in al_pcie_port_sris_config() 1031 pcie_port->regs->app.global_ctrl.port_init = ®s->app.global_ctrl.port_init; in al_pcie_port_handle_init() [all …]
|
/freebsd/bin/sh/ |
H A D | alias.c | 56 struct alias *ap, **app; in setalias() local 59 app = &atab[hashalias(name)]; in setalias() 65 ap->next = *app; in setalias() 66 *app = ap; in setalias() 82 struct alias *ap, **app; in unalias() local 84 app = &atab[hashalias(name)]; in unalias() 86 for (ap = *app; ap; app = &(ap->next), ap = ap->next) { in unalias() 99 *app = ap->next; in unalias() 114 struct alias *ap, **app; in rmaliases() local 119 app = &atab[i]; in rmaliases() [all …]
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | application.cpp | 104 impl::app::app(const std::string& description, in app() function in impl::app 114 impl::app::~app(void) in ~app() 119 impl::app::inited(void) in inited() 124 impl::app::options_set 125 impl::app::options(void) in options() 131 impl::app::specific_args(void) in specific_args() 137 impl::app::options_set 138 impl::app::specific_options(void) in specific_options() 145 impl::app::process_option(int ch ATF_DEFS_ATTRIBUTE_UNUSED, in process_option() 151 impl::app::process_options(void) in process_options() [all …]
|