Minor fixes to LMS and LMOTS macros

Update some names, use the correct macro in certain places.

Signed-off-by: Raef Coles <raef.coles@arm.com>
This commit is contained in:
Raef Coles 2022-09-02 17:46:52 +01:00
parent 0a967ccf9a
commit fa24f9d6ea
No known key found for this signature in database
GPG key ID: 1AAF1B43DF2086F4
3 changed files with 4 additions and 4 deletions

View file

@ -205,7 +205,7 @@ static int create_merkle_internal_value( const mbedtls_lms_parameters_t *params,
if( ret != 0 )
goto exit;
status = psa_hash_update( &op, D_INTERNAL_CONSTANT_BYTES, D_CONST_LEN );
status = psa_hash_update( &op, D_INTR_CONSTANT_BYTES, D_CONST_LEN );
ret = mbedtls_lms_error_from_psa( status );
if( ret != 0 )
goto exit;