Werner Lewis
|
ec0193d019
|
Update test to cover move-decrypt sequence
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-29 16:17:50 +01:00 |
|
Werner Lewis
|
7656a373b6
|
Reformat AES changes for readability
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-29 16:17:50 +01:00 |
|
Werner Lewis
|
6d71944f0d
|
Specify unit for rk_offset in AES context
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-29 16:17:50 +01:00 |
|
Werner Lewis
|
dd76ef359d
|
Refactor AES context to be shallow-copyable
Replace RK pointer in AES context with a buffer offset, to allow
shallow copying. Fixes #2147.
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-29 16:17:50 +01:00 |
|
Ronald Cron
|
07040bb179
|
Merge pull request #5951 from xkqian/tls13_add_alpn
Add ALPN extension to the server side
|
2022-06-27 08:33:03 +02:00 |
|
XiaokangQian
|
0b776e282a
|
Change some comments for alpn
Change-Id: Idf066e94cede9d26aa41d632c3a81dafcee38587
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-24 09:04:59 +00:00 |
|
Manuel Pégourié-Gonnard
|
93a7f7d7f8
|
Merge pull request #5954 from wernerlewis/x509_next_merged
Add mbedtls_x509_dn_get_next function
|
2022-06-24 09:59:22 +02:00 |
|
Manuel Pégourié-Gonnard
|
fc425ee9a4
|
Merge pull request #5838 from mprse/HKDF_2
HKDF 2: Use HKDF-Expand/Extract from PSA in TLS 1.3
|
2022-06-24 09:28:17 +02:00 |
|
XiaokangQian
|
95d5f549f1
|
Fix coding styles
Change-Id: I0ac8ddab13767b0188112dfbbdb2264d36ed230a
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-24 05:42:15 +00:00 |
|
Werner Lewis
|
3e5585b45d
|
Replace TEST_ASSERT macro uses
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-23 15:12:10 +01:00 |
|
Werner Lewis
|
ac80a66395
|
Reduce buffer sizes to expected size
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-23 15:11:50 +01:00 |
|
Przemek Stekiel
|
1b0ebdf363
|
Zeroize hkdf_label buffer
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-23 09:22:49 +02:00 |
|
Przemek Stekiel
|
38ab400dc4
|
Adapt code to be consistent with the existing code
- init status to error
- use simple assignment to status
- fix code style (spaces)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-23 09:05:40 +02:00 |
|
XiaokangQian
|
c740345c5b
|
Adress review comments
Change Code styles
Add test cases
Change-Id: I022bfc66fe509fe767319c4fe5f2541ee05e96fd
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-23 03:24:12 +00:00 |
|
XiaokangQian
|
acb3992251
|
Add ALPN extension to the server side
CustomizedGitHooks: yes
Change-Id: I6fe1516963e7b5727710872ee91fea7fc51d2776
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-22 06:34:58 +00:00 |
|
Przemek Stekiel
|
b33bd19197
|
Enable HKDF EXTRACT/EXPAND algs
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-21 09:58:51 +02:00 |
|
Przemek Stekiel
|
d5ae365b97
|
Use PSA HKDF-Extrat/Expand algs instead mbedtls_psa_hkdf_extract(), mbedtls_psa_hkdf_xpand()
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-21 07:22:33 +02:00 |
|
Przemek Stekiel
|
88e7101d03
|
Remove mbedtls_psa_hkdf_extract(), mbedtls_psa_hkdf_expand()
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-21 07:22:33 +02:00 |
|
Przemek Stekiel
|
0c9e74bd55
|
Remove mbedtls_psa_hkdf_expand() and mbedtls_psa_hkdf_extract() tests
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-21 07:22:33 +02:00 |
|
Gilles Peskine
|
36aeb7f163
|
Merge pull request #5834 from mprse/HKDF_1
HKDF 1: PSA: implement HKDF_Expand and HKDF_Extract algorithms
|
2022-06-20 15:27:46 +02:00 |
|
Werner Lewis
|
12657cdcc6
|
Remove binary int use
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-20 11:57:35 +01:00 |
|
Werner Lewis
|
90c46c376b
|
Use consistent test case names
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-20 11:53:17 +01:00 |
|
Werner Lewis
|
2f1d51070c
|
Fix incorrect param in function declaration
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-20 11:48:35 +01:00 |
|
Werner Lewis
|
b3acb053fb
|
Add mbedtls_x509_dn_get_next function
Allow iteration through relative DNs when X509 name contains multi-
value RDNs.
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
|
2022-06-17 16:40:55 +01: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
|
75fe8c7e54
|
Change place of ssl_tls13_check_ephemeral_key_exchange
Change-Id: Id49172f7375e2a0771ad1216fb7eead808f0db3e
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-15 09:42:45 +00:00 |
|
Ronald Cron
|
4ccd226cbf
|
Merge pull request #5864 from xkqian/tls13_add_comprehensive_cases
Tls13 add comprehensive cases
|
2022-06-15 09:18:11 +02:00 |
|
XiaokangQian
|
fb665a8452
|
Adress the comments about styles and pick_cert
Change-Id: Iee89a27aaea6ebc8eb01c6c9985487f081ef7343
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-15 03:57:21 +00:00 |
|
Przemek Stekiel
|
6c9fd61565
|
exercise_key_agreement_key: add special handling for HKDF_EXPAND
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-14 14:41:42 +02:00 |
|
Przemek Stekiel
|
d898745f70
|
exercise_key_agreement_key: provide SALT for HKDF_EXTRACT
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-14 11:41:52 +02:00 |
|
Przemek Stekiel
|
69c4679b22
|
Adapt macro name to meet requested criteria: MBEDTLS_PSA_BUILTIN_ALG_ANY_HKDF->BUILTIN_ALG_ANY_HKDF
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-14 11:13:32 +02:00 |
|
XiaokangQian
|
3ed16231ab
|
Refine server side SNI test cases
Change-Id: Icdc91ed382e81702e3b46645d3ce3534e62d4a13
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-14 08:24:04 +00:00 |
|
XiaokangQian
|
07aad0710c
|
Refine function name ssl_tls13_pick_key_cert
Change-Id: I821e1485d9cfcca88fa3e18d345766ea48c64250
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-14 05:35:09 +00: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 |
|
Jerry Yu
|
b7c12a466f
|
Refactor compat scripts
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-06-12 20:53:02 +08:00 |
|
XiaokangQian
|
9b938b7c37
|
Share code with base class in generate_tls13_compat_tests.py
Change-Id: I4540bdff7072cdb9bcc9fdb0799c4165ca381b2a
CustomizedGitHooks: yes
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-10 07:06:32 +00:00 |
|
XiaokangQian
|
fb1a3fe7f3
|
Address comments about python syntax
CustomizedGitHooks: yes
Change-Id: I5c4d39789df802d0b839061ce8c59ad241917d0b
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-10 02:27:52 +00:00 |
|
Przemek Stekiel
|
75fe3fb1d7
|
psa_crypto.c: add MBEDTLS_PSA_BUILTIN_ALG_ANY_HKDF macro to limit number of #if conditions
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-09 14:44:55 +02:00 |
|
XiaokangQian
|
b1847a234e
|
Re-structure to share more common code
Change-Id: I5034485f7511238d083c2725fbef8818d33ffb07
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-09 02:53:23 +00:00 |
|
Paul Elliott
|
271c3052fb
|
Merge pull request #5892 from AndrzejKurek/ssl-opt-client-kill-fix
Fix a bug with executing ssl-client2 in ssl-opt.sh in a subshell
|
2022-06-08 14:27:01 +01:00 |
|
Dave Rodgman
|
11930699f1
|
Merge pull request #5827 from wernerlewis/time_utc
Use ASN1 UTC tags for dates before 2000
|
2022-06-08 13:54:19 +01: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 |
|
XiaokangQian
|
96287d98d8
|
Remove the certificate key check against the received signature
Change-Id: I07d8d46c58dec499f96cb7307fc0af15149d9df7
CustomizedGitHooks: yes
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-08 08:37:53 +00:00 |
|
pespacek
|
d9aaf768b5
|
Fixing CI complains.
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-06-08 09:44:11 +02:00 |
|
Ronald Cron
|
5313f034b4
|
Add change log
Add change log for the bug fixed in
"fix move state to handshake over fail" commit
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
|
2022-06-08 09:26:03 +02:00 |
|
XiaokangQian
|
9850fa8e8d
|
Refine ssl_tls13_pick_cert()
Change-Id: I5448095e280d8968b20ade8b304d139e399e54f1
CustomizedGitHooks: yes
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
|
2022-06-08 07:02:41 +00:00 |
|
Przemek Stekiel
|
b088a900f4
|
test_suite_psa_crypto_storage_format: disable KA(ECDH,HKDF_EXTRACT/EXPAND...) test cases
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-07 15:34:18 +02:00 |
|
Przemek Stekiel
|
d9e1287e64
|
crypto_config_test_driver_extension.h add HKDF_EXTRACT/EXPAND algs
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2022-06-07 14:19:39 +02:00 |
|
pespacek
|
b06acd734b
|
Fixing PSA return status
Signed-off-by: pespacek <peter.spacek@silabs.com>
|
2022-06-07 13:07:21 +02:00 |
|