From f4e8f01964d117cbfb2d02da84d9b10eb94315c7 Mon Sep 17 00:00:00 2001 From: Przemek Stekiel Date: Thu, 7 Apr 2022 12:23:31 +0200 Subject: [PATCH] psa_tls12_prf_key_derivation_t: add other_secret and other_secret_length fields to handle mixed PSK Signed-off-by: Przemek Stekiel --- include/psa/crypto_struct.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h index 2c61e53cf9..3842eabaee 100644 --- a/include/psa/crypto_struct.h +++ b/include/psa/crypto_struct.h @@ -231,6 +231,8 @@ typedef struct psa_tls12_prf_key_derivation_s size_t MBEDTLS_PRIVATE(seed_length); uint8_t *MBEDTLS_PRIVATE(label); size_t MBEDTLS_PRIVATE(label_length); + uint8_t *MBEDTLS_PRIVATE(other_secret); + size_t MBEDTLS_PRIVATE(other_secret_length); uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];