psa_tls12_prf_key_derivation_t: add other_secret and other_secret_length fields to handle mixed PSK

Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
Przemek Stekiel 2022-04-07 12:23:31 +02:00
parent 37c81c4f05
commit f4e8f01964

View file

@ -231,6 +231,8 @@ typedef struct psa_tls12_prf_key_derivation_s
size_t MBEDTLS_PRIVATE(seed_length); size_t MBEDTLS_PRIVATE(seed_length);
uint8_t *MBEDTLS_PRIVATE(label); uint8_t *MBEDTLS_PRIVATE(label);
size_t MBEDTLS_PRIVATE(label_length); 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]; uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];