test: fix error in test_suite_ssl
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
fe6c19b69c
commit
77b1452784
1 changed files with 2 additions and 2 deletions
|
@ -4517,7 +4517,7 @@ void ssl_tls13_create_psk_binder( int hash_alg,
|
||||||
data_t *transcript,
|
data_t *transcript,
|
||||||
data_t *binder_expected )
|
data_t *binder_expected )
|
||||||
{
|
{
|
||||||
unsigned char binder[ MBEDTLS_MD_MAX_SIZE ];
|
unsigned char binder[ MBEDTLS_HASH_MAX_SIZE ];
|
||||||
|
|
||||||
/* Double-check that we've passed sane parameters. */
|
/* Double-check that we've passed sane parameters. */
|
||||||
psa_algorithm_t alg = (psa_algorithm_t) hash_alg;
|
psa_algorithm_t alg = (psa_algorithm_t) hash_alg;
|
||||||
|
@ -4649,7 +4649,7 @@ void ssl_tls13_key_evolution( int hash_alg,
|
||||||
data_t *input,
|
data_t *input,
|
||||||
data_t *expected )
|
data_t *expected )
|
||||||
{
|
{
|
||||||
unsigned char secret_new[ MBEDTLS_MD_MAX_SIZE ];
|
unsigned char secret_new[ MBEDTLS_HASH_MAX_SIZE ];
|
||||||
|
|
||||||
PSA_INIT();
|
PSA_INIT();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue