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:
parent
0a967ccf9a
commit
fa24f9d6ea
3 changed files with 4 additions and 4 deletions
library
|
@ -194,7 +194,7 @@ static int create_digit_array_with_checksum( const mbedtls_lmots_parameters_t *p
|
|||
goto exit;
|
||||
|
||||
status = psa_hash_finish( &op, out,
|
||||
MBEDTLS_LMOTS_P_SIG_DIGIT_COUNT(params->type),
|
||||
MBEDTLS_LMOTS_N_HASH_LEN(params->type),
|
||||
&output_hash_len );
|
||||
ret = mbedtls_lms_error_from_psa( status );
|
||||
if( ret != 0 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue