Skip to content

Commit 0788273

Browse files
committed
Apply restyled changes.
1 parent 2ad3549 commit 0788273

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ CHIP_ERROR P256Keypair::ECDH_derive_secret(const P256PublicKey & remote_public_k
256256
out_secret.SetLength(secret_length);
257257
error = CHIP_NO_ERROR;
258258

259-
exit:
259+
exit:
260260
if (error != CHIP_NO_ERROR)
261261
{
262262
trustm_close();

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ optiga_lib_status_t trustm_PBKDF2_HMAC(const unsigned char * salt, size_t slen,
961961

962962
while (p_local_crypt->instance_state != OPTIGA_LIB_INSTANCE_FREE)
963963
;
964-
964+
965965
if (OPTIGA_LIB_SUCCESS != optiga_lib_status)
966966

967967
{
@@ -980,4 +980,4 @@ optiga_lib_status_t trustm_PBKDF2_HMAC(const unsigned char * salt, size_t slen,
980980
optiga_crypt_destroy(p_local_crypt);
981981
}
982982
return return_status;
983-
}
983+
}

0 commit comments

Comments
 (0)