mirror of https://github.com/ARMmbed/mbed-os.git
Attestation: astyle fixs
Runing astyle over attestation file to pass CIpull/9668/head
parent
a994499bf3
commit
8fc9c8fdab
|
@ -148,11 +148,9 @@ t_cose_crypto_hash_start(struct t_cose_crypto_hash *hash_ctx,
|
||||||
void t_cose_crypto_hash_update(struct t_cose_crypto_hash *hash_ctx,
|
void t_cose_crypto_hash_update(struct t_cose_crypto_hash *hash_ctx,
|
||||||
struct useful_buf_c data_to_hash)
|
struct useful_buf_c data_to_hash)
|
||||||
{
|
{
|
||||||
if (data_to_hash.ptr != NULL)
|
if (data_to_hash.ptr != NULL) {
|
||||||
{
|
|
||||||
psa_hash_update(&hash_handle, data_to_hash.ptr, data_to_hash.len);
|
psa_hash_update(&hash_handle, data_to_hash.ptr, data_to_hash.len);
|
||||||
} else
|
} else {
|
||||||
{
|
|
||||||
/* Intentionally do nothing, just computing the size of the token */
|
/* Intentionally do nothing, just computing the size of the token */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue