commit | fa24f9d6ea4be3aa5f91a0e9c5a13753022a6fd0 | [log] [tgz] |
---|---|---|
author | Raef Coles <raef.coles@arm.com> | Fri Sep 02 17:46:52 2022 +0100 |
committer | Raef Coles <raef.coles@arm.com> | Thu Oct 13 14:28:48 2022 +0100 |
tree | a1145e00e2b60125ea60d797260893bca3dccbe7 | |
parent | 0a967ccf9ac868ddaf5f8da3cd4ab3a0119d81af [diff] [blame] |
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>
diff --git a/library/lmots.c b/library/lmots.c index fe01bf6..8e56696 100644 --- a/library/lmots.c +++ b/library/lmots.c
@@ -194,7 +194,7 @@ 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 )