Jerry Yu
|
83da34eb59
|
tls13:server:add dummy write certificate
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-12 14:44:14 +08:00 |
|
Jerry Yu
|
f41553b662
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 22:20:30 +08:00 |
|
Jerry Yu
|
ead5cce22c
|
improve readability
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:58:50 +08:00 |
|
Jerry Yu
|
4ca9140d43
|
fix coding style issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:55:39 +08:00 |
|
Jerry Yu
|
66d9e6f405
|
refactor next state of client hello
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:11 +08:00 |
|
Jerry Yu
|
4833056833
|
fix ci test fails
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:11 +08:00 |
|
Jerry Yu
|
7f157eb31f
|
Change alert message
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:11 +08:00 |
|
Jerry Yu
|
b8ac19a296
|
send alert when second hrr needed
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:09 +08:00 |
|
Jerry Yu
|
6a2cd9ebf5
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:08 +08:00 |
|
Jerry Yu
|
b0ac10b4a8
|
Refactor hrr key_share
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:06 +08:00 |
|
Jerry Yu
|
49ca92892d
|
refactor HRR routine
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:05 +08:00 |
|
Jerry Yu
|
086edc2807
|
refactor parse key_share ext
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:04 +08:00 |
|
Jerry Yu
|
fbe3e64b76
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:03 +08:00 |
|
Jerry Yu
|
c1be19f226
|
misc:minor improvement
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:01 +08:00 |
|
Jerry Yu
|
23f7a6fc5c
|
share write_body between HRR and ServerHello
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:01 +08:00 |
|
Jerry Yu
|
582dd069b7
|
Add HRR handler
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:49:01 +08:00 |
|
Jerry Yu
|
67a2c37039
|
tls13:hrr:add empty frame work
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-09 15:48:59 +08:00 |
|
XiaokangQian
|
aad9b0a286
|
Update code base on comments
Change-Id: Ibc5043154515d2801565a2b99741dfda1344211c
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-09 01:11:21 +00:00 |
|
XiaokangQian
|
a987e1d2f8
|
Change state machine after encrypted extension and update cases
Change-Id: Ie84a2d52a08538afb8f6096af0c054bd55ed66cb
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
ec6efb98bc
|
Change variable name to output_len
Change-Id: I0f8a40da9782b2ec7af7e6f1faf1ac5c7e589418
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
cec9ae6259
|
Change the code places of CERTIFICATE_REQUEST
Change-Id: I3aa293184fea4f960782675bdd520256c808bd4e
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
45c22201b3
|
Update test cases and encrypted extension state set
Change-Id: Ie1acd10b61cefa9414169b276a0c5c5ff2f9eb79
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
2f150e184f
|
Update status and add test cases for client certificate request
Change-Id: If9b9672540d2b427496b7297aa484b8bcfeb75c5
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
1f1f1e3372
|
Temp change to align with client/server hello style
Change-Id: I8befbbcb5d6f7fdb230022825dcb856e19d9bec0
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
9dc4450647
|
Fix commets issue about coding styles
Change-Id: I930a062e137562e0b129b9b9b191e5c864f8104d
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
XiaokangQian
|
eaf3651e31
|
Rebase and solve conflicts
Change handshake_msg related functions
Share the ssl_write_sig_alg_ext
Change-Id: I3d342baac302aa1d87c6f3ef75d85c7dc030070c
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
Xiaofei Bai
|
5ee73d84a9
|
Address review comments
Signed-off-by: Xiaofei Bai <xiaofei.bai@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
Xiaofei Bai
|
9ca09d497f
|
Add writing CertificateRequest msg on server side
Signed-off-by: Xiaofei Bai <xiaofei.bai@arm.com>
|
2022-05-07 01:37:04 +00:00 |
|
Jerry Yu
|
f86eb75c58
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-06 11:16:55 +08:00 |
|
Jerry Yu
|
e110d258d9
|
Add set outbound transform
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-05 19:59:59 +08:00 |
|
Jerry Yu
|
9da5e5a2f2
|
fix coding style issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-03 15:46:09 +08:00 |
|
Jerry Yu
|
de66d12afc
|
remove out couter reset
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-03 12:15:19 +08:00 |
|
Jerry Yu
|
39730a70cd
|
remove variable initial
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-03 12:14:04 +08:00 |
|
Jerry Yu
|
8937eb491a
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-03 12:12:14 +08:00 |
|
Jerry Yu
|
ab452cc257
|
fix name issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-28 15:27:08 +08:00 |
|
Jerry Yu
|
4d3841a4d1
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-25 19:41:47 +08:00 |
|
Xiaofei Bai
|
cba64af50d
|
TLS1.3: add writing encrypted extensions
Signed-off-by: Xiaofei Bai <xiaofei.bai@arm.com>
|
2022-04-25 19:41:47 +08:00 |
|
Jerry Yu
|
e65d801580
|
fix undeclare error
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-23 10:34:35 +08:00 |
|
Jerry Yu
|
955ddd75a3
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 22:27:33 +08:00 |
|
Jerry Yu
|
a09f5e98ef
|
fix build fail
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:46:03 +08:00 |
|
Jerry Yu
|
cfc04b3541
|
Update comments in write server hello
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:02 +08:00 |
|
Jerry Yu
|
e74e04af1a
|
Rename write supported_versions ext
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:02 +08:00 |
|
Jerry Yu
|
d9436a1baa
|
remove guards for write_key_share
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:02 +08:00 |
|
Jerry Yu
|
57d4841eda
|
fix write key_share issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:02 +08:00 |
|
Jerry Yu
|
637a3f1090
|
fix various issues
typo issue, variable `ret` init value
and remove finalize_server_hello
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|
Jerry Yu
|
1c3e688df1
|
fix comments issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|
Jerry Yu
|
349a61388b
|
fix write selected_version fail
And rename write_supported_versions to
write selected_version
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|
Jerry Yu
|
fb9f54db8c
|
fix comments issue
Co-authored-by: Ronald Cron <ronald.cron@arm.com>
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|
Jerry Yu
|
89e103c54c
|
tls13: Share write ecdh_key_exchange function
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|
Jerry Yu
|
3bf2c6449d
|
tls13: write server hello compile pass
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-04-22 16:45:01 +08:00 |
|