Home
last modified time | relevance | path

Searched refs:openssl (Results 1 – 25 of 138) sorted by relevance

123456

/openbsd-src/regress/lib/libcrypto/free/
H A Dfreenull.c.head3 #include <openssl/asn1.h>
4 #include <openssl/cmac.h>
5 #include <openssl/cms.h>
6 #include <openssl/comp.h>
7 #include <openssl/ct.h>
8 #include <openssl/engine.h>
10 #include <openssl/gost.h>
12 #include <openssl/hmac.h>
13 #include <openssl/ocsp.h>
14 #include <openssl/pkcs1
[all...]
/openbsd-src/lib/libssl/test/
H A Dtesttsa48 ../../util/shlib_wrap.sh ../../apps/openssl req -new -x509 -nodes \
61 ../../util/shlib_wrap.sh ../../apps/openssl req -new \
65 ../../util/shlib_wrap.sh ../../apps/openssl x509 -req \
74 ../../util/shlib_wrap.sh ../../apps/openssl ts -query -in $1 -text
79 …../../util/shlib_wrap.sh ../../apps/openssl ts -query -data ../testtsa -policy tsa_policy1 -cert -…
85 …../../util/shlib_wrap.sh ../../apps/openssl ts -query -data ../testtsa -policy tsa_policy2 -no_non…
92 ../../util/shlib_wrap.sh ../../apps/openssl ts -query -data ../CAtsa.cnf -no_nonce -out req3.tsq
98 ../../util/shlib_wrap.sh ../../apps/openssl ts -reply -in $1 -text
104 ../../util/shlib_wrap.sh ../../apps/openssl ts -reply -section $3 -queryfile $1 -out $2
112 ../../util/shlib_wrap.sh ../../apps/openssl ts -reply -in $2 -out $TOKEN_DER -token_out
[all …]
H A Dtestgen20 if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then
32 ../util/shlib_wrap.sh ../apps/openssl req -config test.cnf $req_new -out testreq.pem
38 ../util/shlib_wrap.sh ../apps/openssl req -config test.cnf -verify -in testreq.pem -noout
H A Dtestssl15 if ../util/shlib_wrap.sh ../apps/openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key' >/dev…
125 for cipher in `../util/shlib_wrap.sh ../apps/openssl ciphers "RSA+$protocol" | tr ':' ' '`; do
141 if ../util/shlib_wrap.sh ../apps/openssl no-dh; then
148 if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then
154 if ../util/shlib_wrap.sh ../apps/openssl no-dh; then
168 if ../util/shlib_wrap.sh ../apps/openssl no-srp; then
/openbsd-src/regress/lib/libcrypto/certs/
H A Dmake-certs.sh41 cat > ${TMPDIR}/openssl.cnf <<EOF
90 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 -x509 \
92 -config ${TMPDIR}/openssl.cnf -extensions v3_ca_root \
99 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \
101 -config ${TMPDIR}/openssl.cnf -extensions v3_ca_root \
103 openssl ca -batch -notext -selfsign \
106 -config ${TMPDIR}/openssl.cnf -extensions v3_ca_root \
113 openssl req -new -days 3650 -nodes -newkey rsa:2048 -sha256 \
116 openssl x509 -req -days 3650 -CA "${TMPDIR}/${issuer_file}.crt" \
118 -extfile ${TMPDIR}/openssl.cnf -extensions v3_ca_int \
[all …]
/openbsd-src/regress/lib/libssl/certs/
H A Dmake-certs.sh41 cat > ${TMPDIR}/openssl.cnf <<EOF
108 openssl req -new -days 3650 -nodes ${key_args} -sha256 -x509 \
110 -config ${TMPDIR}/openssl.cnf -extensions v3_ca_root \
119 openssl req -new -days 3650 -nodes ${key_args} -sha256 \
122 openssl x509 -req -days 3650 -CA "${TMPDIR}/${issuer_file}.crt" \
124 -extfile ${TMPDIR}/openssl.cnf -extensions v3_ca_int \
133 openssl req -new -days 3650 -nodes ${key_args} -sha256 \
136 openssl x509 -req -days 3650 -CA "${TMPDIR}/${issuer_file}.crt" \
138 -extfile ${TMPDIR}/openssl.cnf -extensions v3_other \
147 openssl req -new -days 3650 -nodes ${key_args} -sha256 \
[all …]
/openbsd-src/regress/lib/libcrypto/CA/
H A DMakefile19 openssl genrsa -out root.key.pem 4096
24 openssl req -batch -config ${.CURDIR}/root.cnf -key root.key.pem \
30 openssl genrsa -out intermediate.key.pem 2048
34 openssl req -batch -config ${.CURDIR}/intermediate.cnf -new -sha256 \
41 openssl ca -batch -config ${.CURDIR}/root.cnf \
49 openssl verify -CAfile root.cert.pem intermediate.cert.pem
57 openssl genrsa -out server.key.pem 2048
61 openssl req -batch -config ${.CURDIR}/intermediate.cnf -new -sha256 \
68 openssl ca -batch -config ${.CURDIR}/intermediate.cnf \
75 openssl genrsa -out client.key.pem 2048
[all …]
/openbsd-src/regress/lib/libssl/openssl-ruby/
H A DMakefile3 OPENSSL_RUBY_TESTS = /usr/local/share/openssl-ruby-tests
18 @echo package openssl-ruby-tests is required for this regress
22 REGRESS_TARGETS += openssl-ruby-test
24 openssl-ruby-test: retest
36 ${RUBY} ${OPENSSL_RUBY_TESTS}/ext/openssl/extconf.rb && \
40 OPENSSL_RUBY_TESTSRC = ${OPENSSL_RUBY_TESTS}/test/openssl/test_*.rb
44 -I${OPENSSL_RUBY_TESTS}/test/openssl \
68 ${RUBY} -I. -I${OPENSSL_RUBY_TESTS}/test/openssl \
70 ${OPENSSL_RUBY_TESTS}/test/openssl/test_ssl.rb \
/openbsd-src/regress/lib/libssl/rust-openssl/
H A DMakefile3 RUST_OPENSSL_TESTS = /usr/local/share/rust-openssl-tests
8 @echo packages rust-openssl-tests and rust are required for this regress
12 REGRESS_TARGETS += rust-openssl-test
14 WORKSPACE_LINKS = openssl openssl-errors openssl-macros openssl-sys systest
42 rust-openssl-test: ${_WORKSPACE_COOKIE}
H A DCargo.toml4 "openssl",
5 "openssl-errors",
6 "openssl-macros",
7 "openssl-sys",
/openbsd-src/regress/lib/libssl/interop/
H A DMakefile.inc46 openssl req -batch -new \
51 openssl req -batch -new \
56 openssl req -batch -new \
61 openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt \
65 openssl dhparam -out $@ 1024
68 openssl dsaparam -genkey -out $@ 2048
71 openssl ecparam -genkey -name secp256r1 -out $@
74 openssl genrsa -out $@ 2048
77 openssl req -batch -new \
82 openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt \
/openbsd-src/regress/lib/libssl/ssl/
H A Dtestssl7 openssl=${5-openssl}
10 $openssl version || exit 1
12 if $openssl x509 -in $cert -text -noout | fgrep 'DSA Public Key' >/dev/null; then
58 for cipher in `$openssl ciphers -v "$protocol+aRSA" |
70 for cipher in `$openssl ciphers -v "$protocol" |
82 for cipher in `$openssl ciphers -v "$protocol" |
95 if $openssl no-dh; then
133 for cipher in `$openssl ciphers -v "RSA+$protocol" |
/openbsd-src/usr.sbin/nsd/
H A Dnsd-control-setup.sh.in119 openssl genrsa -out "$SVR_BASE.key" "$BITS"
141 openssl req \
157 openssl genrsa -out "$CTL_BASE.key" "$BITS"
177 openssl x509 \
182 openssl req \
186 | openssl x509 \
/openbsd-src/usr.sbin/unbound/smallapp/
H A Dunbound-control-setup.sh.in107 if ! openssl >/dev/null 2>&1; then
108 echo "$0 requires openssl to be installed for keys/certificates generation." >&2
123 openssl genrsa -out "$SVR_BASE.key" "$BITS"
142 [ -f server.cnf ] || fatal "cannot create openssl configuration"
145 openssl req \
161 openssl genrsa -out "$CTL_BASE.key" "$BITS"
178 [ -f client.cnf ] || fatal "cannot create openssl configuration"
181 openssl x509 \
186 openssl req \
190 | openssl x50
[all...]
/openbsd-src/regress/lib/libcrypto/c2sp/
H A DMakefile8 @echo optional packages: security/openssl/*
23 PROGS += cctv-openssl$V
24 SRCS_cctv-openssl$V =
30 cctv-openssl$V: cctv.go
/openbsd-src/regress/usr.sbin/httpd/tests/
H A DMakefile71openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=ca/CN=root/ -nodes -newkey rsa -keyout…
74openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=server/CN=localhost/ -nodes -newkey rs…
77openssl req -batch -new -subj /L=OpenBSD/O=httpd-regress/OU=client/CN=localhost/ -nodes -newkey rs…
80 openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt -req -in server.req -out server.crt
83 openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt -req -in client.req -out $@
/openbsd-src/regress/usr.bin/ssh/unittests/sshkey/
H A Dmktestdata.sh10 openssl rsa -noout -text -in $_in | \
13 openssl rsa -noout -text -in $_in | \
16 openssl rsa -noout -text -in $_in | \
31 openssl dsa -noout -text -in $_in | \
34 openssl dsa -noout -text -in $_in | \
37 openssl dsa -noout -text -in $_in | \
52 openssl ec -noout -text -in $_in | \
55 openssl ec -noout -text -in $_in | \
58 openssl ec -noout -text -in $_in | \
/openbsd-src/regress/usr.bin/openssl/x509/
H A DMakefile24 OPENSSL ?= openssl
35 REGRESS_TARGETS += test-openssl-verify-common-wildcard-cert
52 test-openssl-verify-common-wildcard-cert:
/openbsd-src/regress/usr.sbin/relayd/
H A DMakefile75 openssl req -batch -new \
91 openssl req -batch -new \
97 openssl req -batch -new \
103 openssl x509 -CAcreateserial -CAkey ca.key -CA ca.crt \
107 openssl x509 -CAcreateserial -CAkey client-ca.key -CA client-ca.crt \
/openbsd-src/regress/usr.bin/openssl/
H A Dtestrsa.sh8 openssl_bin=${OPENSSL:-/usr/bin/openssl}
18 $openssl_bin req -config $2/openssl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem
H A Dtestdsa.sh10 openssl_bin=${OPENSSL:-/usr/bin/openssl}
18 $openssl_bin req -config $2/openssl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testd…
H A DMakefile10 OPENSSL=/usr/bin/openssl
16 ${CLEAR1}: openssl.cnf
17 cat ${.CURDIR}/openssl.cnf > ${CLEAR1}
/openbsd-src/regress/lib/libssl/
H A DMakefile28 SUBDIR += openssl-ruby
29 SUBDIR += rust-openssl
/openbsd-src/regress/sbin/iked/live/
H A DMakefile164 psk=`openssl rand -hex 20`; \
192 openssl req -config $$name-from-$$caname.cnf -new -key $$name.key -nodes \
194 openssl x509 -extfile $$name-from-$$caname.cnf -extensions req_cert_extensions \
201 openssl genrsa -out $$name-from-$$caname.key 2048; \
202 openssl req -config $$name-from-$$caname.cnf -new -key $$name-from-$$caname.key -nodes \
204 openssl x509 -extfile $$name-from-$$caname.cnf -extensions v3_intermediate_ca \
209 openssl genrsa -out $$caname.key 2048; \
210 openssl req -subj "/C=DE/ST=Bavaria/L=Munich/O=iked/CN=$$caname" \
265 openssl genrsa -out $@ 2048
494 psk=`openssl rand -hex 20`; \
[all …]
/openbsd-src/lib/libssl/
H A DMakefile8 PC_FILES=openssl.pc libssl.pc
98 @test -d ${DESTDIR}/usr/include/openssl || \
99 mkdir ${DESTDIR}/usr/include/openssl
101 j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \
103 ${DESTDIR}/usr/include/openssl"; \

123456