Typo
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
d917081b8b
commit
8e3602569b
@ -230,8 +230,7 @@ psa_status_t mbedtls_psa_hkdf_expand( psa_algorithm_t alg,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The constant concatenated to the end of each T(n) is a single octet.
|
/* The constant concatenated to the end of each T(n) is a single octet. */
|
||||||
* */
|
|
||||||
status = psa_mac_update( &operation, &c, 1 );
|
status = psa_mac_update( &operation, &c, 1 );
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
{
|
{
|
||||||
|
@ -3853,10 +3853,10 @@ void psa_hkdf_expand_ret( int alg, int prk_len, int okm_len, int ret )
|
|||||||
|
|
||||||
info_len = 0;
|
info_len = 0;
|
||||||
|
|
||||||
if (prk_len > 0)
|
if( prk_len > 0 )
|
||||||
ASSERT_ALLOC( prk, prk_len );
|
ASSERT_ALLOC( prk, prk_len );
|
||||||
|
|
||||||
if (okm_len > 0)
|
if( okm_len > 0 )
|
||||||
ASSERT_ALLOC( okm, okm_len );
|
ASSERT_ALLOC( okm, okm_len );
|
||||||
|
|
||||||
output_ret = mbedtls_psa_hkdf_expand( alg, prk, prk_len,
|
output_ret = mbedtls_psa_hkdf_expand( alg, prk, prk_len,
|
||||||
|
Loading…
Reference in New Issue
Block a user