| df538e29 | 09-Jun-2020 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client v2: support RKFS version 2
1.use get_rkss_version function to get rkss version, if security partition have data with rkss version 1, then we choice rkss version 1, if security
lib: optee_client v2: support RKFS version 2
1.use get_rkss_version function to get rkss version, if security partition have data with rkss version 1, then we choice rkss version 1, if security partition is empty, then we choice rkss version 2 2.rkss version 2 support dual backup mechanism, security partition total use 1M 3.rkss version 2 R&W 256k data one time
Change-Id: I2f17b22d6a442df84be0d94a808b03465dc6fefe Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| b9a7e756 | 15-Jul-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: change the condition for eMMC devices
1.dev_desc->if_type == IF_TYPE_MMC for SD and eMMC device, dev_desc->devnum == 1 is SD devices, dev_desc->devnum == 0 is eMMC devices 2.S
lib: optee_client: change the condition for eMMC devices
1.dev_desc->if_type == IF_TYPE_MMC for SD and eMMC device, dev_desc->devnum == 1 is SD devices, dev_desc->devnum == 0 is eMMC devices 2.SD devices do not have rpmb 3.we prefer to use rpmb for eMMC devices, use security partition for nand or SD devices
Change-Id: Ifc21bd4da7c3ee91e2ecc845c343182c78d52dc1 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|
| 68ba9373 | 22-Jan-2019 |
Hisping Lin <hisping.lin@rock-chips.com> |
lib: optee_client: recover original partition after error
1.switch to RPMB partition when call init rpmb 2.switch to original partition when call finish rpmb 3.it will not switch to original partiti
lib: optee_client: recover original partition after error
1.switch to RPMB partition when call init rpmb 2.switch to original partition when call finish rpmb 3.it will not switch to original partition when error occurred, we should recover original partition after error
Change-Id: I41927e82fb2db690058a809f008ca1f59d334011 Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
show more ...
|