Skip to content

Commit e5adee0

Browse files
restyled-commitsankk-css
authored andcommitted
Restyled by clang-format
1 parent cd9487d commit e5adee0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/platform/Infineon/crypto/trustm/CHIPCryptoPALHsm_utils_trustm.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,9 @@ optiga_lib_status_t trustm_PBKDF2_HMAC(const unsigned char * salt, size_t slen,
943943
for (unsigned int i = 1; i < iteration_count; i++)
944944
{
945945
// Calculated subsequent U, which ends up in md1
946-
return_status = optiga_crypt_hmac(p_local_crypt, OPTIGA_HMAC_SHA_256, TRUSTM_HMAC_OID_KEY, md1, md1_len, md1, &md1_len);
947-
948-
if (OPTIGA_LIB_SUCCESS != return_status)
946+
return_status = optiga_crypt_hmac(p_local_crypt, OPTIGA_HMAC_SHA_256, TRUSTM_HMAC_OID_KEY, md1, md1_len, md1, &md1_len);
947+
948+
if (OPTIGA_LIB_SUCCESS != return_status)
949949
{
950950
optiga_lib_print_message("optiga_crypt_hmac api returns error!!!", OPTIGA_UTIL_SERVICE, OPTIGA_UTIL_SERVICE_COLOR);
951951
break;

0 commit comments

Comments
 (0)