Prevent function not used compilation error
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
b35759ded8
commit
9607ab4dbd
1 changed files with 4 additions and 0 deletions
|
@ -136,6 +136,8 @@ static void ssl_tls13_hkdf_encode_label(
|
|||
*dst_len = total_hkdf_lbl_len;
|
||||
}
|
||||
|
||||
#if defined( MBEDTLS_TEST_HOOKS )
|
||||
|
||||
MBEDTLS_STATIC_TESTABLE
|
||||
psa_status_t mbedtls_psa_hkdf_expand( psa_algorithm_t alg,
|
||||
const unsigned char *prk, size_t prk_len,
|
||||
|
@ -255,6 +257,8 @@ cleanup:
|
|||
return( ret );
|
||||
}
|
||||
|
||||
#endif /* MBEDTLS_TEST_HOOKS */
|
||||
|
||||
int mbedtls_ssl_tls13_hkdf_expand_label(
|
||||
mbedtls_md_type_t hash_alg,
|
||||
const unsigned char *secret, size_t secret_len,
|
||||
|
|
Loading…
Reference in a new issue