/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])), 64 ok(run(app(['openssl', 'speed', '-testmode', '-mr'])), 116 ok(run(app(['openssl', 'speed', '-help'])), 120 ok(!run(app(['openssl', 'speed', 'blah'])), 123 ok(!run(app(['openssl', 'speed', '-evp', 'blah'])), 126 ok(!run(app(['openssl', 'speed', '-hmac', 'blah'])), 129 ok(!run(app(['openssl', 'speed', '-cmac', 'blah'])), 132 ok(!run(app(['openssl', 'speed', '-async_jobs', 100000])), [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, 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])), 100 ok(run(app([@app, '-in', $in_key, '-outform', 'DER', 108 ok(run(app([@app, '-in', $der_out, '-inform', 'DER', 119 run(app([@app, '-in', $in_key, '-text']), capture => 1)), 123 run(app([@app, '-in', $in_key, '-text', '-noout']), capture => 1)), [all …]
|
H A D | 90-test_store.t | 193 ok(!run(app([@storeutl, "-noout", 206 ok(run(app([@storeutl, "-noout", 208 ok(run(app([@storeutl, "-noout", 210 ok(run(app([@storeutl, "-noout", 212 ok(!run(app([@storeutl, "-noout", 265 ok(run(app([@storeutl, "-noout", 270 ok(!run(app([@storeutl, '-noout', 296 ok(run(app([@storeutl, '-noout', 299 ok(run(app([@storeutl, '-noout', 330 run(app(["openssl", "pkey", @std_args, [all …]
|
H A D | 15-test_gendsa.t | 89 ok(run(app([ 'openssl', 'genpkey', 97 ok(run(app([ 'openssl', 'genpkey', 106 ok(!run(app([ 'openssl', 'genpkey', 114 ok(!run(app(["openssl", "gendsa", 119 ok(run(app([ 'openssl', 'dsaparam', 126 ok(run(app([ 'openssl', 'dsaparam', 133 ok(run(app([ 'openssl', 'dsaparam', 140 ok(run(app([ 'openssl', 'dsaparam', 147 ok(run(app([ 'openssl', 'dsaparam', 168 is(run(app(['openssl', 'genpkey', [all …]
|
H A D | 15-test_genrsa.t | 31 is(run(app([ 'openssl', 'genpkey', '-out', 'genrsatest.pem', 66 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 74 ok(run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 81 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 85 ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', 112 ok(run(app(([ 'openssl', 'asn1parse', 126 ok(run(app(['openssl', 'genpkey', 132 ok(run(app(['openssl', 'genpkey', 139 ok(!run(app(['openssl', 'genrsa', @prov, '512'])), 142 ok(!run(app(['openssl', 'genrsa', [all …]
|
H A D | 03-test_fipsinstall.t | 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', 361 && !run(app(['openssl', 'fipsinstall', 373 && !run(app(['openssl', 'fipsinstall', 379 && !run(app(['openssl', 'fipsinstall', 386 && !run(app(['openssl', 'fipsinstall', 393 && !run(app(['openssl', 'fipsinstall', [all …]
|
H A D | 25-test_req.t | 73 ok(run(app(["openssl", "req", 80 ok(run(app(["openssl", "req", 85 ok(run(app(["openssl", "req", 108 ok(run(app(["openssl", "req", 115 ok(run(app(["openssl", "req", 120 ok(run(app(["openssl", "req", 125 ok(run(app(["openssl", "req", 362 ok(run(app(["openssl", "req", 373 ok(run(app(["openssl", "req", 385 ok(run(app(["openssl", "req", [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', 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'), 115 ok(run(app(['openssl', 'genpkey', '-algorithm', 'RSA-PSS', 120 ok(run(app(['openssl', 'rsa', '-check', 124 ok(!run(app([ 'openssl', 'rsa', [all …]
|
H A D | 80-test_tsa.t | 45 ok(run(app(["openssl", "x509", "-req", 122 unless ok(run(app([@QUERY, "-data", $testtsa, 148 ok(run(app([@REPLY, "-in", "resp1.tsr", 153 ok(run(app([@VERIFY, "-data", $testtsa, 177 ok(run(app([@REPLY, "-in", "resp2.tsr", 179 ok(run(app([@REPLY, "-in", "$TOKEN_DER", 182 ok(run(app([@REPLY, "-in", "resp2.tsr", 184 ok(run(app([@REPLY, "-in", "$TOKEN_DER", 222 unless ok(run(app([@QUERY, "-data", $CAtsa, 237 ok(run(app([@VERIFY, "-no_check_time", [all …]
|
H A D | 20-test_cli_fips.t | 67 ok(run(app(['openssl', 'pkey', 92 ok(run(app(['openssl', 'dgst', '-sha256', 100 ok(run(app(['openssl', 'dgst', '-sha256', 109 ok(!run(app(['openssl', 'dgst', '-sha256', 125 ok(run(app(['openssl', 'dgst', '-sha256', 134 ok(run(app(['openssl', 'dgst', '-sha256', 145 ok(!run(app(['openssl', 'dgst', '-sha256', 163 ok(run(app(['openssl', 'dgst', 353 ok(run(app(['openssl', 'genpkey', 365 ok(run(app(['openssl', 'genpkey', [all …]
|
H A D | 25-test_pkcs8.t | 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', 94 ok(run(app(([ 'openssl', 'asn1parse', 109 ok(run(app(([ 'openssl', 'asn1parse', 116 ok(run(app(([ 'openssl', 'pkcs8', '-topk8', [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', 61 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 76 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 86 ok(run(app(([ 'openssl', 'pkeyutl', '-sign', '-in', 117 ok(run(app([@args])), 126 ok(!run(app([@args])), 134 ok(run(app([@args])), 143 ok(run(app([@args])), [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', $_]))); 55 my $testout = "$app.tst"; 57 ok(run(app(['openssl', $app, '-out', $testout, '-in', $_]))); 153 ok(run(app(['openssl', 'ecparam', 158 ok(run(app(['openssl', 'ecparam', 163 ok(!run(app(['openssl', 'ecparam', 173 ok(run(app(['openssl', 'ecparam', 189 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])… 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… 69 ok(run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", 'joe@exampl… 71 ok(!run(app(["openssl", "verify", "-nameopt", "utf8", "-no_check_time", "-verify_email", 'moe@examp… [all …]
|
H A D | 25-test_x509.t | 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", 79 && run(app(["openssl", "verify", "-no_check_time", 98 && run(app(["openssl", "verify", "-no_check_time", 439 ok(run(app(["openssl", "req", "-new", "-newkey", "rsa:4096", 471 ok(run(app(["openssl", "x509", "-req", "-text", 480 ok(run(app(["openssl", "x509", "-req", "-text", 491 ok(run(app(["openssl", "x509", "-req", "-text", 500 ok(!run(app(["openssl", "x509", "-req", "-text", [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, 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', 187 my @hmacdata = run(app(['openssl', 'dgst', '-hmac', '123456', [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', 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', 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'])), 195 ok(run(app(['openssl', 'dhparam', '-provider', 'default', '-propquery', 216 ok(run(app(["openssl", "dhparam", "-noout", "-text"], [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 | 20-test_app.t | 18 ok(run(app(["openssl"])), 21 ok(run(app(["openssl", "help"])), 24 ok(!run(app(["openssl", "-wrong"])), 27 ok(run(app(["openssl", "-help"])), 30 ok(run(app(["openssl", "--help"])), 33 ok(run(app(["openssl", "-version"])), 36 ok(run(app(["openssl", "--version"])),
|
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', 237 app([ 'openssl', 'genpkey', 270 app([ 'openssl', 'genpkey', '-genparam', 279 app([ 'openssl', 'genpkey', '-genparam', 290 app([ 'openssl', 'genpkey', [all …]
|
/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] 14 [0-session-ticket-app-data12-ssl] 20 [0-session-ticket-app-data12-server] 48 [1-session-ticket-app-data12] 51 [1-session-ticket-app-data12-ssl] 80 [2-session-ticket-app-data13] [all …]
|
H A D | 13-fragmentation.cnf | 6 test-1 = 1-one-fragment-app-data 8 test-3 = 3-small-app-data 10 test-5 = 5-medium-app-data 12 test-7 = 7-large-app-data 52 [1-one-fragment-app-data] 98 [3-small-app-data] 101 [3-small-app-data-ssl] 145 [5-medium-app-data] 148 [5-medium-app-data-ssl] 191 [7-large-app-data] [all …]
|