| /freebsd/crypto/openssl/test/recipes/ |
| H A D | 20-test_speed.t | 22 ok(run(app(['openssl', 'speed', '-testmode'])), 34 ok(run(app(['openssl', 'speed', '-testmode', '-multi', 2])), 38 ok(run(app(['openssl', 'speed', '-testmode', '-misalign', 1])), 47 || !run(app(['openssl', 'speed', '-testmode', '-evp', 50 ok(run(app(['openssl', 'speed', '-testmode', '-mb', '-evp', 55 ok(run(app(['openssl', 'speed', '-testmode', '-kem-algorithms'])), 58 ok(run(app(['openssl', 'speed', '-testmode', '-signature-algorithms'])), 61 ok(run(app(['openssl', 'speed', '-testmode', '-primes', 3, 'rsa1024'])), 64 ok(run(app(['openssl', 'speed', '-testmode', '-mr'])), 67 ok(run(app(['openssl', 'speed', '-testmode', '-decrypt', '-evp', 'aes-128-cbc'])), [all …]
|
| 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"]))); 58 ok(run(app([@addext_args, "-addext", "keyUsage=digitalSignature", [all …]
|
| H A D | 15-test_pkey.t | 21 my @app = ('openssl', 'pkey'); 32 ok(run(app([@app, '-aes256', '-in', $in_key, '-out', $encrypted_key, 36 ok(run(app(['openssl', 'asn1parse', '-in', $encrypted_key, 40 ok(run(app([@app, '-in', $encrypted_key, '-out', $decrypted_key, 54 ok(run(app([@app, '-des3', '-traditional', '-in', $inout, '-out', $inout, 62 ok(run(app([@app, '-in', $inout, '-out', $inout, '-passin', $pass])), 76 ok(run(app([@app, '-in', $in_ed_key, '-pubout', '-out', $pub_out1])), 82 ok(run(app([@app, '-in', $in_pubkey, '-pubin', '-pubout', '-out', $pub_out2])), 88 ok(run(app([@app, '-in', $in_ed_key, '-pubin', '-pubout', '-out', $pub_out3])), 100 ok(run(app([@app, '-in', $in_key, '-outform', 'DER', [all …]
|
| H A D | 90-test_store.t | 138 ok(run(app(["openssl", "storeutl", "-crls", $test_x509])), 141 ok(!run(app(["openssl", "storeutl", $test_x509, "-crls"])), 158 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 161 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 164 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 166 ok(run(app(["openssl", "rsa", "-text", "-noout", @pubin, 177 ok(run(app(["openssl", "storeutl", "-out", "cacert.pem", "cacert.pem"])), 188 ok(!run(app([@storeutl, "-noout", $file]))); 189 ok(!run(app([@storeutl, "-noout", to_abs_file($file)]))); 193 ok(!run(app([@storeutl, "-noout", [all …]
|
| H A D | 03-test_fipsinstall.t | 140 ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', 147 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile, 154 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile, 161 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile, 190 && !run(app(['openssl', 'fipsinstall', 199 && !run(app(['openssl', 'fipsinstall', 209 && !run(app(['openssl', 'fipsinstall', 219 && !run(app(['openssl', 'fipsinstall', 229 && !run(app(['openssl', 'fipsinstall', 238 ok(!run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', [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_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 | 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'), 79 ok(run(app(['openssl', 'dgst', '-prverify', srctop_file('test', 'testrsa.pem'), 86 ok(run(app(['openssl', 'dgst', '-sign', srctop_file('test', 'testrsa.pem'), '-sha1', [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 | 42 ok(run(app(['openssl', 'list', '-public-key-methods', '-verbose'])), 44 ok(run(app(['openssl', 'list', '-public-key-algorithms', '-verbose'])), 46 ok(run(app(['openssl', 'list', '-key-managers', '-verbose'])), 48 ok(run(app(['openssl', 'list', '-key-exchange-algorithms', '-verbose'])), 50 ok(run(app(['openssl', 'list', '-kem-algorithms', '-verbose'])), 52 ok(run(app(['openssl', 'list', '-signature-algorithms', '-verbose'])), 54 ok(run(app(['openssl', 'list', '-tls-signature-algorithms', '-verbose'])), 56 ok(run(app(['openssl', 'list', '-asymcipher-algorithms', '-verbose'])), 58 ok(run(app(['openssl', 'list', '-key-managers', '-verbose', '-select', 'DSA' ])), 67 ok(run(app(['openssl', 'pkey', [all …]
|
| H A D | 25-test_pkcs8.t | 25 ok(run(app(['openssl', 'pkcs8', '-topk8', '-in', $inout, 28 ok(run(app(['openssl', 'pkcs8', '-in', $inout, 34 ok(run(app(([ 'openssl', 'pkcs8', '-topk8', 42 ok(run(app(([ 'openssl', 'asn1parse', 51 ok(run(app(([ 'openssl', 'pkcs8', '-topk8', 60 ok(run(app(([ 'openssl', 'asn1parse', 65 ok(run(app(([ 'openssl', 'pkcs8', '-topk8', 75 ok(run(app(([ 'openssl', 'asn1parse', 85 ok(run(app(([ 'openssl', 'pkcs8', '-topk8', 94 ok(run(app(([ 'openssl', 'asn1parse', [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', 74 ok(run(app(([ 'openssl', 'pkeyutl', '-verifyrecover', '-in', 'Ed25519.sig', 80 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 85 ok(run(app(([ 'openssl', 'pkeyutl', '-verify', '-certin', '-in', 90 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', [all …]
|
| H A D | 80-test_pkcs12.t | 73 ok(run(app(["openssl", "pkcs12", "-noout", 89 ok(run(app(["openssl", "pkcs12", "-export", "-chain", 100 ok(run(app(["openssl", "pkcs12", "-export", 113 ok(run(app(["openssl", "pkcs12", "-export", 124 ok(run(app(["openssl", "pkcs12", "-export", 135 ok(run(app(["openssl", "pkcs12", 141 ok(run(app(["openssl", "pkcs12", "-export", "-out", $outfile5, 146 my @pkcs12info = run(app(["openssl", "pkcs12", "-info", "-in", $outfile5, 163 ok(run(app(["openssl", "pkcs12", "-export", 186 ok(run(app(["openssl", "pkcs12", "-export", "-pbmac1_pbkdf2", [all …]
|
| H A D | 15-test_ecparam.t | 38 my $app = shift; # Which application 43 ok(run(app(['openssl', $app, '-noout', $opt, '-in', $_]))); 45 ok(!run(app(['openssl', $app, '-noout', $opt, '-in', $_]))); 52 my $app = shift; # Which application 55 my $testout = "$app.tst"; 57 ok(run(app(['openssl', $app, '-out', $testout, '-in', $_]))); 75 ok(run(app(['openssl', $_, '-in', $inout, '-out', $inout]))); 153 ok(run(app(['openssl', 'ecparam', 158 ok(run(app(['openssl', 'ecparam', 163 ok(!run(app(['openssl', 'ecparam', [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 | 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, 51 ok(run(app(["openssl", "x509", "-text", "-noout", 64 ok(run(app(["openssl", "x509", "-text", "-in", $p12, "-out", $out_pem, 69 ok(!run(app(["openssl", "x509", "-in", $pem, "-inform", "DER", 72 ok(run(app(["openssl", "x509", "-in", $pem, "-inform", "PEM", 75 ok(!run(app(["openssl", "x509", "-in", $der, "-inform", "PEM", 88 ok(run(app(["openssl", "pkey", "-in", $pkey, "-pubout", "-out", $pubkey])) 89 && run(app(["openssl", "x509", "-new", "-force_pubkey", $pubkey, "-subj", $subj, 91 && run(app(["openssl", "verify", "-no_check_time", [all …]
|
| 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, 177 my @macdata = run(app(['openssl', 'dgst', '-sha1', [all …]
|
| H A D | 15-test_ml_dsa_codecs.t | 46 ok(run(app(['openssl', 'pkey', '-pubin', '-in', $in0, 57 ok(run(app(['openssl', 'pkey', '-in', $in, '-pubout', 64 ok(run(app(['openssl', 'genpkey', '-out', $pem, 70 ok(run(app(['openssl', 'pkey', '-in', $in, '-noout', 72 ok(!run(app(['openssl', 'pkey', '-in', $in, '-noout', 81 ok(run(app([qw(openssl pkeyutl -verify -rawin -pubin -inkey), 87 ok(run(app([qw(openssl pkeyutl -sign -rawin -inkey), $sk, '-in', $der0, 96 ok(run(app([qw(openssl genpkey -provparam ml-dsa.retain_seed=no), 105 ok(run(app(['openssl', 'genpkey', 112 ok(run(app(['openssl', 'genpkey', '-provparam', 'ml-dsa.retain_seed=yes', [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_dhparam.t | 63 my @textdata = run(app(['openssl', 'dhparam', '-in', $file, '-noout', 136 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.pem', 142 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-exp2-512.pem', '-2', 148 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-5-512.pem', '-5', 154 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-pkcs3-2-512.exp.pem', 163 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.pem', 170 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-exp2-512.pem', '-2', 176 ok(!run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-5-512.pem', 181 ok(run(app([ 'openssl', 'dhparam', '-out', 'gen-x942-0-512.der', 192 ok(!run(app(['openssl', 'dhparam', '-check', '512'])), [all …]
|
| H A D | 15-test_ml_kem_codecs.t | 42 ok(run(app(['openssl', 'pkey', '-pubin', '-in', $in0, 53 ok(run(app(['openssl', 'pkey', '-in', $in, '-pubout', 60 ok(run(app(['openssl', 'genpkey', '-out', $pem, 66 ok(run(app(['openssl', 'pkey', '-in', $in, '-noout', 68 ok(!run(app(['openssl', 'pkey', '-in', $in, '-noout', 79 ok(run(app(['openssl', 'pkeyutl', '-encap', '-inkey', $in0, 89 ok(run(app(['openssl', 'pkeyutl', '-decap', '-inkey', $in, 98 ok(run(app(['openssl', 'genpkey', '-provparam', 'ml-kem.retain_seed=no', 107 ok(run(app(['openssl', 'genpkey', 114 ok(run(app(['openssl', 'genpkey', '-provparam', 'ml-kem.retain_seed=yes', [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 …]
|