Add comment
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
0e7c6f4961
commit
d860e0f18b
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ psa_status_t mbedtls_psa_hkdf_extract( psa_algorithm_t alg,
|
|||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
}
|
||||
|
||||
/* salt_len <= sizeof( salt ) because
|
||||
PSA_HASH_LENGTH( alg ) <= PSA_MAC_MAX_SIZE. */
|
||||
salt = null_salt;
|
||||
salt_len = hash_len;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue