Skip to content

Commit 6a2a9d2

Browse files
Merge pull request #126 from aidangarske/SSL_tutorial_fix2
New TLS tutorial version implementation and run feedback.
2 parents 06b236f + f18aab9 commit 6a2a9d2

File tree

1 file changed

+35
-6
lines changed

1 file changed

+35
-6
lines changed

wolfSSL/src/chapter11.md

+35-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ SSL and TLS sit between the Transport and Application layers of the OSI model, w
2323

2424
All of the source code used in this tutorial can be downloaded from the wolfSSL website, specifically from the following location. The download contains both the original and completed source code for both the echoserver and echoclient used in this tutorial. Specific contents are listed below the link.
2525

26-
<https://www.wolfssl.com/documentation/ssl-tutorial-2.3.zip>
26+
<https://www.wolfssl.com/documentation/ssl-tutorial-2.4.zip>
2727

2828
The downloaded ZIP file has the following structure:
2929

@@ -103,39 +103,68 @@ This will install wolfSSL headers into `/usr/local/include/wolfssl` and the wolf
103103
A set of tests will be run on wolfCrypt and wolfSSL to verify it has been installed correctly. After a successful run of the testsuite application, you should see output similar to the following:
104104

105105
```text
106+
------------------------------------------------------------------------------
107+
wolfSSL version 5.7.0
108+
------------------------------------------------------------------------------
109+
error test passed!
110+
MEMORY test passed!
111+
base64 test passed!
112+
asn test passed!
113+
RANDOM test passed!
106114
MD5 test passed!
107115
SHA test passed!
108116
SHA-224 test passed!
109117
SHA-256 test passed!
110118
SHA-384 test passed!
111119
SHA-512 test passed!
120+
SHA-512/224 test passed!
121+
SHA-512/256 test passed!
122+
SHA-3 test passed!
123+
Hash test passed!
112124
HMAC-MD5 test passed!
113125
HMAC-SHA test passed!
114126
HMAC-SHA224 test passed!
115127
HMAC-SHA256 test passed!
116128
HMAC-SHA384 test passed!
117129
HMAC-SHA512 test passed!
130+
HMAC-SHA3 test passed!
131+
HMAC-KDF test passed!
132+
PRF test passed!
133+
TLSv1.3 KDF test passed!
118134
GMAC test passed!
119135
Chacha test passed!
120136
POLY1305 test passed!
121137
ChaCha20-Poly1305 AEAD test passed!
122138
AES test passed!
139+
AES192 test passed!
140+
AES256 test passed!
123141
AES-GCM test passed!
124-
RANDOM test passed!
125142
RSA test passed!
126143
DH test passed!
144+
PWDBASED test passed!
127145
ECC test passed!
146+
logging test passed!
147+
time test passed!
148+
mutex test passed!
149+
memcb test passed!
150+
Test complete
151+
152+
Running simple test
128153
SSL version is TLSv1.2
129-
SSL cipher suite is TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
130154
SSL version is TLSv1.2
131155
SSL cipher suite is TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
156+
SSL curve name is SECP256R1
157+
SSL cipher suite is TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
158+
SSL curve name is SECP256R1
132159
Client message: hello wolfssl!
133-
Server response: I hear you fa shizzle!
160+
I hear you fa shizzle!
161+
162+
Running TLS test
134163
sending server shutdown command: quit!
135164
client sent quit command: shutting down!
136-
ciphers = DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305-OLD:ECDHE-ECDSA-CHACHA20-POLY1305-OLD:DHE-RSA-CHACHA20-POLY1305-OLD
165+
ciphers = TLS13-AES128-GCM-SHA256:TLS13-AES256-GCM-SHA384:TLS13-CHACHA20-POLY1305-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305-OLD:ECDHE-ECDSA-CHACHA20-POLY1305-OLD:DHE-RSA-CHACHA20-POLY1305-OLD
137166
33bc1a4570f4f1abccd5c48aace529b01a42ab51293954a297796e90d20970f0 input
138-
33bc1a4570f4f1abccd5c48aace529b01a42ab51293954a297796e90d20970f0 /tmp/output-N0Xq9c
167+
33bc1a4570f4f1abccd5c48aace529b01a42ab51293954a297796e90d20970f0 /var/folders/dy/888x7r7d6dgcqw4840l32tpw0000gp/T//testsuite-output-9Ymbuv
139168
140169
All tests passed!
141170
```

0 commit comments

Comments
 (0)