/freebsd/crypto/openssl/test/ssl-tests/ |
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 …]
|
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.in | 22 name => "one-fragment-minus-app-data", 30 name => "one-fragment-app-data", 38 name => "one-fragment-plus-app-data", 46 name => "small-app-data", 54 name => "small-app-data-large-fragment-size", 63 name => "medium-app-data", 72 name => "medium-plus-app-data", 80 name => "large-app-data", 88 name => "large-app-data-large-fragment-size", 97 name => "large-app-data-odd-fragment-size", [all …]
|
/freebsd/crypto/openssl/test/recipes/ |
H A D | 20-test_speed.t | 22 ok(run(app(['openssl', 'speed', '-testmode'])), 27 #app to return an error code if anything unexpectedly goes wrong. 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'])), [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 | 20-test_app.t | 18 ok(run(app(["openssl"])), 19 "Run openssl app with no args"); 21 ok(run(app(["openssl", "help"])), 22 "Run openssl app with help"); 24 ok(!run(app(["openssl", "-wrong"])), 25 "Run openssl app with incorrect arg"); 27 ok(run(app(["openssl", "-help"])), 28 "Run openssl app with -help"); 30 ok(run(app(["openssl", "--help"])), 31 "Run openssl app with --help"); [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 | 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 | 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 | 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 | 90-test_store.t | 22 my $use_des = !(disabled("des") || disabled("legacy")); # also affects 3des and pkcs12 app 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)]))); [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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan.h | 38 APP = 4, 55 {0x000000000000ULL, 0x000200000000ULL, MappingDesc::APP, "app-1"}, 65 {0x00a200000000ULL, 0x00c000000000ULL, MappingDesc::APP, "app-2"}, 67 {0x00e200000000ULL, 0x00ffffffffffULL, MappingDesc::APP, "app-3"}}; 79 // the larger app/shadow/origin regions. 82 {0X0000000000000, 0X0100000000000, MappingDesc::APP, "app 36 INVALID, APP, SHADOW, ORIGIN global() enumerator [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() 813 * Backup the value of the app.int_grp_a.mask_a register, because in al_pcie_port_pf_params_config() 814 * app.int_grp_a.mask_clear_a gets overwritten during the write to in al_pcie_port_pf_params_config() 815 * app.soc.mask_msi_leg_0 register. in al_pcie_port_pf_params_config() 816 * Restore the original value after the write to app.soc.mask_msi_leg_0 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() [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_dcb.c | 316 bnxt_hwrm_get_dcbx_app(struct bnxt_softc *softc, struct bnxt_dcb_app *app, in bnxt_hwrm_get_dcbx_app() argument 355 app[*num_inputs].priority = fw_app->priority; in bnxt_hwrm_get_dcbx_app() 356 app[*num_inputs].protocol = htobe16(fw_app->protocol_id); in bnxt_hwrm_get_dcbx_app() 357 app[*num_inputs].selector = fw_app->protocol_selector; in bnxt_hwrm_get_dcbx_app() 367 bnxt_hwrm_set_dcbx_app(struct bnxt_softc *softc, struct bnxt_dcb_app *app, in bnxt_hwrm_set_dcbx_app() argument 407 if (fw_app->protocol_id == htobe16(app->protocol) && in bnxt_hwrm_set_dcbx_app() 408 fw_app->protocol_selector == app->selector && in bnxt_hwrm_set_dcbx_app() 409 fw_app->priority == app->priority) { in bnxt_hwrm_set_dcbx_app() 419 fw_app->protocol_id = htobe16(app->protocol); in bnxt_hwrm_set_dcbx_app() 420 fw_app->protocol_selector = app->selector; in bnxt_hwrm_set_dcbx_app() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_platform.h | 33 APP = 4, enumerator 51 // the larger app/shadow/origin regions. 54 {0X0000000000000, 0X0100000000000, MappingDesc::APP, "app-10-13"}, 61 {0X0A00000000000, 0X0B00000000000, MappingDesc::APP, "app-14"}, 66 {0X0E40000000000, 0X1000000000000, MappingDesc::APP, "app-15"}, 78 {0x000000000000ULL, 0x010000000000ULL, MappingDesc::APP, "app-1"}, 86 {0x510000000000ULL, 0x600000000000ULL, MappingDesc::APP, "app-2"}, 90 {0x740000000000ULL, 0x800000000000ULL, MappingDesc::APP, "app-3"}}; 121 (addr_is_type((uptr)(mem), MappingDesc::APP | MappingDesc::ALLOCATOR))
|
/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 …]
|