mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +00:00
Clarify comments
Clarify comments when moving into one-shot part of demo. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
c050037c08
commit
3071c85835
@ -118,10 +118,11 @@ int main(void)
|
||||
mbedtls_printf("Multi-part hash operation successful!\n");
|
||||
}
|
||||
|
||||
/* Compute hash using one-shot function call */
|
||||
/* Clear local variables prior to one-shot hash demo */
|
||||
memset(hash, 0, sizeof(hash));
|
||||
hash_length = 0;
|
||||
|
||||
/* Compute hash using one-shot function call */
|
||||
status = psa_hash_compute(HASH_ALG,
|
||||
buf, sizeof(buf),
|
||||
hash, sizeof(hash),
|
||||
|
Loading…
Reference in New Issue
Block a user