Valerio Setti
|
a55f042636
|
psa: replace DH_KEY_PAIR_LEGACY with new symbols
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-07-27 09:15:34 +02:00 |
|
Manuel Pégourié-Gonnard
|
d55d66f5ec
|
Fix missing includes
Some files relied on psa_util.h to provide the includes they need.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
|
2023-07-06 12:47:28 +02:00 |
|
Manuel Pégourié-Gonnard
|
56b159a12a
|
Merge pull request #7627 from mprse/ffdh_tls13_v2
Make use of FFDH keys in TLS 1.3 v.2
|
2023-07-03 10:12:33 +02:00 |
|
Valerio Setti
|
8bb5763a85
|
library: replace deprecated symbols with temporary _LEGACY ones
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-06-16 12:23:55 +02:00 |
|
Przemek Stekiel
|
a4700fa69d
|
mbedtls_psa_ffdh_export_public_key: allow bigger output buffer
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-06 12:31:09 +02:00 |
|
Przemek Stekiel
|
152bb4632b
|
Adapt function names
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-06-06 12:31:09 +02:00 |
|
Przemek Stekiel
|
33c91eb5d3
|
Add driver support for DH import key and export public key
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-30 15:19:14 +02:00 |
|
Przemek Stekiel
|
a59255f04f
|
Adapt guards in ffdh driver
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-11 12:06:00 +02:00 |
|
Przemek Stekiel
|
837d2d1c5e
|
mbedtls_psa_export_ffdh_public_key: return fixed key size
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-05 12:33:46 +02:00 |
|
Przemek Stekiel
|
134cc2e7a8
|
Fix code style
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-05 10:13:47 +02:00 |
|
Przemek Stekiel
|
e1621a460a
|
mbedtls_psa_ffdh_generate_key: optimize code and return fixed key size
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-05-05 09:53:37 +02:00 |
|
Przemek Stekiel
|
75095cce74
|
mbedtls_psa_ffdh_set_prime_generator: use switch instead if-else
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-28 14:20:27 +02:00 |
|
Przemek Stekiel
|
6d85afa0cc
|
Fix naming: FFDH key -> DH key and fix guard in psa_validate_key_type_and_size_for_key_generation
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-28 11:42:17 +02:00 |
|
Przemek Stekiel
|
cf0156f3f3
|
mbedtls_psa_ffdh_generate_key: Fix random number generation
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-27 11:12:39 +02:00 |
|
Przemek Stekiel
|
6fd72b687f
|
Optimize code (if-else format, action on error)
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-27 11:04:12 +02:00 |
|
Przemek Stekiel
|
9275d5d685
|
mbedtls_psa_ffdh_set_prime_generator: check if key size is equal and use sizeof
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-27 11:03:51 +02:00 |
|
Przemek Stekiel
|
654bef0be0
|
Fix typos, comments, style, optimize macros
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-26 09:07:20 +02:00 |
|
Przemek Stekiel
|
a9ca13136c
|
Move check of the key type to mbedtls_psa_key_agreement_ffdh
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-26 09:07:20 +02:00 |
|
Przemek Stekiel
|
359f4625a3
|
Move FFDH layer to separate file
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
|
2023-04-26 09:07:20 +02:00 |
|