Commit Graph

13 Commits

Author SHA1 Message Date
Hisping Lin 266906806d lib: optee_client: init rpmb before find_mmc_device
Change-Id: I1f2c3d76c9015f1a59822314df5e92b6355c7827
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-06-26 11:23:32 +08:00
Hisping Lin efb93541fe lib: optee_client: add module name in print func
Change-Id: I6cdcb0870bf5a3915009421e5c8b09584ac2bb6c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-04-29 11:09:18 +08:00
Hisping Lin b4a0434fc9 lib: optee_client: do not init RK FS if security not exist
Change-Id: I91e780448cee7884c7477cb0b5720f962b2df00d
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-03-15 15:28:38 +08:00
Hisping Lin 68ba937304 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>
2019-02-14 19:58:09 +08:00
Hisping Lin aa04de65ce lib: optee_client: optimizing print information
Change-Id: I37e6dc56b8eb46bc6d0a2c12bbd4c329d35ca687
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2019-01-10 18:24:41 +08:00
Hisping Lin d8100d74a0 lib: optee_client: remove widevine ta from uboot
Change-Id: I9e6e4d6743d0a8e9787c2b01e535d920d4f93008
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-12-06 09:17:57 +08:00
Hisping Lin 9983001913 lib: optee_client: remove keymaster ta from uboot
keymaster ta is too large, so we change store data
to static ta and remove keymaster ta

Change-Id: Icdb694138caf005d2cb2821714a8526d0391b18b
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-11-13 11:51:51 +08:00
tony.xu a7df48681a load keybox to secure storage thtough u-boot: u-boot->ca->ta
Change-Id: Ifdf237ec235c791565d2da1b5881df2f1499d422
Signed-off-by: tony.xu <tony.xu@rock-chips.com>
2018-08-15 15:29:43 +08:00
Hisping Lin d156c9ff6f lib: optee_client: v2 client support compile to 32 bits
Change-Id: I25cbbe486016cbe6fb1a6eff440bb7efab46a4c6
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-08-07 10:48:14 +08:00
Hisping Lin 3251364c8e lib: optee_client: support rk file system for optee v2
uboot can secure store data to nand or emmc "security"
partition for optee v2

Change-Id: I85abbfb3970a2fa3f46f540d3f16dfc7ca605317
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-03-21 16:18:53 +08:00
Hisping Lin ba8f56d9f1 lib: optee_client: remove printf log
Change-Id: Ie0b41b309544e36c7c39863339bf5888e0683dcb
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-03-02 15:51:12 +08:00
Hisping Lin 1f25ada2a8 lib: optee_client: support new optee message
Change-Id: I83e8da2252f1fef6dff7d388d12e6fb7972cf79e
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2018-02-24 15:41:54 +08:00
hisping abdd243750 lib: add tipc functions
tipc functions is used for uboot communicate
with TEE. uboot can request service for secure
store or secure algorithm.

Change-Id: Ie44095aff4c044feceb5f362abf6e3d24ceb8d4c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
2017-11-14 10:55:49 +08:00