Skip to content
Commit 0a9e5374 authored by Summer Qin's avatar Summer Qin Committed by David Hu
Browse files

Crypto: Optimize the IOVEC buffer memset operation



The memset always clears the full IOVEC buffers whereas we
need to clear only the used buffer.
Change the return type of tfm_crypto_clear_scratch() to 'void'
since it doesn't need to return value.

Change-Id: I30246bcabbe9957c35e6ae59d9e0ff5def9be01c
Signed-off-by: default avatarSummer Qin <summer.qin@arm.com>
parent 7ad5c5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment