Skip to content

Commit 0fabc4d

Browse files
TofMassilia13320Grom-
authored andcommitted
[core] Fix payload length parameter type for stse_platform_hash_compute function
1 parent 49afda6 commit 0fabc4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/stse_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ stse_ReturnCode_t stse_platform_ecc_verify(stse_ecc_key_type_t key_type,
132132
* \return \ref STSE_OK on success; \ref stse_ReturnCode_t error code otherwise
133133
*/
134134
stse_ReturnCode_t stse_platform_hash_compute(stse_hash_algorithm_t hash_algo,
135-
PLAT_UI8 *pPayload, PLAT_UI32 payload_length,
135+
PLAT_UI8 *pPayload, PLAT_UI16 payload_length,
136136
PLAT_UI8 *pHash, PLAT_UI16 *hash_length);
137137

138138
#if defined(STSE_CONF_USE_HOST_KEY_ESTABLISHMENT) || \

0 commit comments

Comments
 (0)