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:
parent
37c81c4f05
commit
f4e8f01964
1 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue