]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(rss): remove null-terminator from RSS metadata
authorDavid Vincze <david.vincze@arm.com>
Fri, 4 Nov 2022 17:28:12 +0000 (18:28 +0100)
committerDavid Vincze <david.vincze@arm.com>
Fri, 25 Nov 2022 17:31:14 +0000 (18:31 +0100)
commit85a14bc0a9598668c4678f9eda2ba497acba5ced
tree7d76f2e8defbf4da5556a6e89d14a3d38f28aceb
parent4ccbdd86bc83ac57a9069daf5723b4197acf6181
fix(rss): remove null-terminator from RSS metadata

Remove the null-terminator of the string-like data items
from the RSS measurement's metadata. The 'version' and
'sw_type' items have an associated length value which
should not include a null-terminator when storing the
measurement.

Change-Id: Ia91ace2fff8b6f75686dd2e1862475268300bbdb
Signed-off-by: David Vincze <david.vincze@arm.com>
include/lib/psa/measured_boot.h
lib/psa/measured_boot.c