Skip to content
Commit 0319e91c authored by Stephane Le Roy's avatar Stephane Le Roy Committed by Andrzej Puzdrowski
Browse files

boot: bootutil: Fix encryption/decryption size during copy



During region copy, when chunk contains both header and TLVs,
the encryption/decryption size is too large, as it takes into account
TLVs only.
The fix modifies the encryption/decryption size to take into
account both header and TLVs.

Signed-off-by: default avatarStephane Le Roy <stephane.leroy@st.com>
parent a36f9513
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment