mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 08:37:25 +00:00
Document the input size restriction for EC J-PAKE to PMS
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
parent
d8705bc7b7
commit
18f8e8d62c
@ -2023,7 +2023,8 @@
|
||||
|
||||
/* Macro to build a KDF that takes the shared secret K (an EC point in case
|
||||
* of EC J-PAKE) and calculates SHA256(K.X) that the rest of TLS 1.2 will
|
||||
* use to derive the session secret. Uses PSA_ALG_SHA_256.
|
||||
* use to derive the session secret. Uses PSA_ALG_SHA_256. Only P-256 is
|
||||
* supported, so the input has to be exactly 65 bytes.
|
||||
*/
|
||||
#define PSA_ALG_TLS12_ECJPAKE_TO_PMS ((psa_algorithm_t)0x08000600)
|
||||
#define PSA_ALG_IS_TLS12_ECJPAKE_TO_PMS(alg) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user