Ronald Cron
|
ce7d76e2ee
|
Merge remote-tracking branch 'mbedtls-restricted/development-restricted' into mbedtls-3.2.0rc0-pr
|
2022-07-11 10:22:37 +02:00 |
|
Ronald Cron
|
0e39ece23f
|
Merge pull request #5916 from yuhaoth/pr/tls13-refactor-get-sig-alg-from-pk
Refactor signature algorithm chooser
|
2022-07-04 09:10:08 +02:00 |
|
Jerry Yu
|
959e5e030b
|
fix format issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:20:17 +08:00 |
|
Jerry Yu
|
660cb4209c
|
Remove pkcs1 from key cert and sig alg map
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:20:17 +08:00 |
|
Manuel Pégourié-Gonnard
|
2f244c43b4
|
Merge pull request #5980 from mprse/md_dep_fix
Remove MD dependencies from mbedtls_x509_sig_alg_gets(), ssl_tls13_parse_certificate_verify()
|
2022-06-29 10:18:41 +02:00 |
|
Jerry Yu
|
c2e0493e6e
|
Add rsa_pkcs1 for cert sig match
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:18:31 +08:00 |
|
Jerry Yu
|
cc5391048e
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:18:30 +08:00 |
|
Jerry Yu
|
aebaaaf527
|
add debug messages
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:09 +08:00 |
|
Jerry Yu
|
a1255e6b8c
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:09 +08:00 |
|
Jerry Yu
|
53f5c15155
|
Add debug message
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:08 +08:00 |
|
Jerry Yu
|
80dd5db808
|
Remove pkcs1 from certificate verify.
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:08 +08:00 |
|
Jerry Yu
|
f085678879
|
remove unnecessary check
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:07 +08:00 |
|
Jerry Yu
|
0c6be8f863
|
move big function
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:07 +08:00 |
|
Jerry Yu
|
f3b46b5082
|
Add debug message
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:16:05 +08:00 |
|
Jerry Yu
|
d099cf0325
|
fix unused variable issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:13:47 +08:00 |
|
Jerry Yu
|
f55886a217
|
fix various issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:13:46 +08:00 |
|
Jerry Yu
|
fb526693c1
|
Rename sig_alg cert_key check
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:13:45 +08:00 |
|
Jerry Yu
|
7ab7f2b184
|
Remove pkcs1 from certificate_verify
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:13:44 +08:00 |
|
Jerry Yu
|
f249ef7821
|
refactor get sig algo from pk
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-29 16:13:40 +08:00 |
|
Przemek Stekiel
|
4dc874453e
|
ssl_tls13_parse_certificate_verify(): optimize the code
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-28 11:05:42 +02:00 |
|
Ronald Cron
|
11b5332ffc
|
tls13: Fix certificate extension size write
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-28 09:21:13 +02:00 |
|
Ronald Cron
|
154d1b68d6
|
tls13: Fix wrong usage of MBEDTLS_SSL_CHK_BUF(_READ)_PTR macros
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-28 09:18:42 +02:00 |
|
Przemek Stekiel
|
6a5e01858f
|
ssl_tls13_parse_certificate_verify(): remove md dependency
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-27 11:53:13 +02:00 |
|
Ronald Cron
|
2b1a43c101
|
tls13: Add missing overread check in Certificate msg parsing.
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-27 09:28:49 +02:00 |
|
Ronald Cron
|
e3dac4aaa1
|
tls13: Add Certificate msg parsing tests with invalid vector lengths
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-27 09:28:42 +02:00 |
|
Ronald Cron
|
9738a8d0fd
|
Merge pull request #943 from ronald-cron-arm/tls13-fix-key-usage-checks
TLS 1.3: Fix certificate key usage checks
|
2022-06-27 08:32:17 +02:00 |
|
Ronald Cron
|
1938588e80
|
tls13: Align some debug messages with TLS 1.2 ones
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-24 12:06:46 +02:00 |
|
Manuel Pégourié-Gonnard
|
a3115dc0e6
|
Mark static int SSL functions CHECK_RETURN_CRITICAL
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
|
2022-06-20 21:12:52 +02:00 |
|
Ronald Cron
|
30c5a2520e
|
tls13: Fix certificate key usage checks
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-17 08:49:52 +02:00 |
|
Ronald Cron
|
ca3c6a5698
|
Merge pull request #5817 from xkqian/tls13_add_server_name
Tls13 add server name
|
2022-06-16 08:30:09 +02:00 |
|
XiaokangQian
|
81802f43a2
|
Select certificate base on the received signature list
Change-Id: Ife707db7fcfdb1e761ba86804cbf5dd766a5ee33
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-13 03:58:06 +00:00 |
|
Paul Elliott
|
5f2bc754d6
|
Merge pull request #5792 from yuhaoth/pr/add-tls13-moving-state-tests
Pr/add-tls13-moving-state-tests
|
2022-06-08 13:39:52 +01:00 |
|
Manuel Pégourié-Gonnard
|
3a833271aa
|
Merge pull request #5727 from SiliconLabs/feature/PSEC-3207-TLS13-hashing-HMAC-to-PSA
Feature psec-3207 move TLS13 hashing and hmac to psa
|
2022-06-08 11:53:35 +02:00 |
|
pespacek
|
d9aaf768b5
|
Fixing CI complains.
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-06-08 09:44:11 +02:00 |
|
pespacek
|
b06acd734b
|
Fixing PSA return status
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-06-07 13:07:21 +02:00 |
|
pespacek
|
670913f4dc
|
Fixing return value for ssl_tls13_write_certificate_body()
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-06-07 10:53:39 +02:00 |
|
Jerry Yu
|
0a92d6c8eb
|
fix move state to handshake over fail
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-31 15:06:04 +08:00 |
|
XiaokangQian
|
0557c94fef
|
Add back SNI related code to validate_certificate
Change-Id: I75883858016d4163cd7c64c3418eb3ca24fa46ea
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-30 08:10:53 +00:00 |
|
XiaokangQian
|
e7a5da597f
|
Remove SNI related code
Change-Id: Ic44bdb27b1bdc5c9057078dfed936fc36bddebbe
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-30 00:59:29 +00:00 |
|
XiaokangQian
|
aca9048b5f
|
Change base on review
Fix comments
Add test cases for client authentication with empty certificate
Change-Id: Id8a741ddd997ca92e36832f26088eb0e67830ad8
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:47:11 +00:00 |
|
XiaokangQian
|
989f06d52d
|
Change some comments base on review
Change-Id: I3db2b8ca8162eb368d2f17dfeffee8b25f9edf6f
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:47:11 +00:00 |
|
XiaokangQian
|
63e713e8ab
|
Fix comments
Change-Id: Ib741f876f4d296df79565a2b8a2971918db1a77f
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:47:11 +00:00 |
|
XiaokangQian
|
c3017f620f
|
Remove useless guards and refine checking
Change-Id: I9cd3073826fc65c203e479d83bed72331ff8963d
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:47:10 +00:00 |
|
XiaokangQian
|
189ded2b07
|
Remove coordinate functions and change state machine in server side
Change-Id: Id4abf78f493e77afc289409db691c9c61acde1d2
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:46:13 +00:00 |
|
XiaokangQian
|
6b916b1616
|
Add client certificate parse and certificate verify
Change-Id: I638db78922a03db6f8bd70c6c5f56fb60365547d
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-05-26 00:40:53 +00:00 |
|
pespacek
|
3493587e05
|
FEATURE: mbedtls_md() in ssl_tls13_write_certificate_verify_body()
replaced withpsa_hash_compute()
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-05-23 13:10:48 +02:00 |
|
pespacek
|
a1378105cf
|
FEATURE: use psa_hash_xxx rather than mbedtls_md_xxx for TLS 1.3.
ssl_tls13_parse_certificate_verify()
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-05-23 13:10:47 +02:00 |
|
Jerry Yu
|
e3d67cb263
|
Improve readability
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-19 15:33:10 +08:00 |
|
Jerry Yu
|
fd5ea0458f
|
add compute application transform
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-19 14:29:48 +08:00 |
|
Jerry Yu
|
cc0a13fcf8
|
remove unnecessary empty line
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-05-19 10:14:24 +08:00 |
|