rv1126-uboot/lib/avb
Jason Zhu 926664c9a0 lib: avb: reduce write rollback index operations
The optee is used to storage security data in U-Boot, and a file
which occupy 16KB is created when write a rollback index. But the
security space is only 512KB, the sapce is not enough when write
too many items.

And here we write rollback index 32 times, but the avb only use
rollback_index_location 0 to verify the rollback index with vbmeta.
So just get the rollback_index_location 0 in this process.

Test:
	fastboot getvar at-vboot-state

Error log:
	TEEC: reference out of data: -1
	TEEC: Not enough space available in secure storage!

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Id69b852553a4ef9111dabe6f23e25038b0928bb3
2021-02-05 10:34:15 +08:00
..
libavb lib: avb: support crypto sha256/512 2020-12-05 20:07:07 +08:00
libavb_ab lib: avb: support last boot 2019-03-06 17:16:13 +08:00
libavb_atx lib: avb: support crypto sha256/512 2020-12-05 20:07:07 +08:00
libavb_user lib: avb: independent on optee client 2020-11-09 17:20:45 +08:00
rk_avb_user lib: avb: reduce write rollback index operations 2021-02-05 10:34:15 +08:00