Skip to content
Commit 2b73ed94 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Always compute protected size



Instead of having a running size that we try to always match the encoded
size of, compute it a bit more dynamically.  The size is still needed
before the contents can be filled in, so this doesn't gain too much, but
will make it easier to compute the rest of the TLV size based on the
actual encoding rather than lots of magic numbers.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent dd2b6804
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment