Gabor Mezei
|
0e7c6f4961
|
Check return value of psa_destroy_key
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:46:39 +01:00 |
|
Gabor Mezei
|
26c6741c58
|
Add better name for variable.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:46:39 +01:00 |
|
Gabor Mezei
|
320d21cecf
|
Update documentation
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:46:39 +01:00 |
|
Gabor Mezei
|
c5efb8e58b
|
Use PSA error code
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:46:38 +01:00 |
|
Gabor Mezei
|
89c1a95f8f
|
Delete leftover code
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:42:59 +01:00 |
|
Gabor Mezei
|
b1f53976ee
|
Add documentation for mbedtls_psa_hkdf_extract
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:42:59 +01:00 |
|
Gabor Mezei
|
62bf024025
|
Make the mbedtls_psa_hkdf_extract function more PSA compatible
Change the return value to `psa_status_t`.
Add `prk_size` and `prk_len` parameters.
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:42:57 +01:00 |
|
Gabor Mezei
|
9f4bb319c9
|
Implement HKDF extract in TLS 1.3 based on PSA HMAC
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-21 15:23:29 +01:00 |
|
Paul Elliott
|
436b72690d
|
Merge pull request #5362 from yuhaoth/pr/enable-tls13-only-build
TLS1.3:Enable tls13 only build
|
2022-02-21 11:22:37 +00:00 |
|
Manuel Pégourié-Gonnard
|
9b545c04f7
|
Merge pull request #5520 from gabor-mezei-arm/5402_implement_hkdf_expand_based_on_psa_hmac
HKDF 1b: Implement Expand in TLS 1.3 based on PSA HMAC
|
2022-02-21 09:30:31 +01:00 |
|
Jerry Yu
|
f1b23caa4e
|
move wrong comments
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
18621dfd23
|
remove extra empty line
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
50f2f703a7
|
remove extra guards
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
840fbb2817
|
guards populate_transform reference
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
4f9e3efbeb
|
move session_save/load_tls12
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
d9d91da7c7
|
move sig_hash_*
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
ee40f9d4b3
|
move get_key_exchange_md_tls12
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
9bccc4c63f
|
move populate_transform
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
e93ffcd2c7
|
move tls_prf_get_type
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
392112c058
|
move tls12prf_from_cs
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
0b3d7c1ea1
|
move parse_finished
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
3c8e47bbbf
|
move write_finished
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
2a9fff571d
|
move wrapup
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
aef0015ba0
|
move wrapup_free_hs_transform
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
b7ba49ef74
|
move calc_finished_tls_sha384
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
615bd6f5b9
|
move calc_finished_tls_sha256
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
d952669ad8
|
move write_certificate
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
c2c673da59
|
move resend_hello_request
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
ce3dca4175
|
move psk_derive_premaster
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
c1cb384708
|
move calc_verify_tls_sha384
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
8392e0dae4
|
move calc_verify_tls_sha256
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
d62f87e151
|
move derive_keys
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
2a7b5ac791
|
move compute_master
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
d6ab235972
|
move use_opaque_psk
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
f009d86186
|
move set_handshake_prfs
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
dc7bd17d11
|
move tls_prf_sha256/384
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
ed14c93008
|
add static prototypes
prepare for moving functions
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:01 +08:00 |
|
Jerry Yu
|
53d23e2c95
|
Guards tls_prf functions with TLS1_2
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
c73c618094
|
Wrap function not used by test_tls13_only
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
# Conflicts:
# library/ssl_tls13_generic.c
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
bef175db96
|
Wrap derive_keys with TLS1_2 option
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
cc43c6bee5
|
fix coding style issue
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
e754193e87
|
Remove guard inside ssl_srv.c
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
fb4b6478ee
|
tls13_only: improve guards of files.
To improve readability of the preprocess guards.
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
db8c48aaff
|
tls13_only:Remove unnecessary functions
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
7d2396332d
|
fix wrong setting of max_minor version
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
c5aef88be6
|
tls13_only: guard ssl_{cli,srv}.c with TLS1_2
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
c10f6b4735
|
tls13_only: simple test pass
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Jerry Yu
|
c3091b1c8c
|
tls13_only: compile pass
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
|
2022-02-21 09:06:00 +08:00 |
|
Gabor Mezei
|
8e3602569b
|
Typo
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
|
2022-02-17 11:50:02 +01:00 |
|
Manuel Pégourié-Gonnard
|
4fa604cc3b
|
Merge pull request #5511 from SiliconLabs/feature/PSEC-3195-PSA-test-suites-NOT-using-UID-0
feat: Update test_suite_psa_its to NOT use UID=0
|
2022-02-17 11:49:33 +01:00 |
|