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:
Summer Qin <summer.qin@arm.com>
Loading
Please register or sign in to comment