| #
871b2fe8 |
| 12-May-2021 |
Joseph Chen <chenjh@rock-chips.com> |
lib: avb: avb_atx_validate: fix crypto sha512 fail
The new crypto-v2 drivers requires total data length before sha init, let's add it to avoid issue:
... Vboot=0, AVB images, AVB verify read_
lib: avb: avb_atx_validate: fix crypto sha512 fail
The new crypto-v2 drivers requires total data length before sha init, let's add it to avoid issue:
... Vboot=0, AVB images, AVB verify read_is_device_unlocked() ops returned that device is LOCKED total length(0x00000000) != init length(0xeb9f6290)! avb_rsa.c:285: ERROR: Hash check failed. avb_atx_validate.c:173: ERROR: Invalid certificate signature. avb_atx_validate.c:199: ERROR: Invalid PIK certificate. avb_slot_verify.c:865: ERROR: vbmeta: Public key used to sign data rejected. AVB verify failed ...
Fixes: (5b0bc49177 lib: avb: support crypto sha256/512)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I276041a8b5faadac8c95622f77888a5447ed3a71
show more ...
|
| #
5b0bc491 |
| 08-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
lib: avb: support crypto sha256/512
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ifbcc1940d9b494fc488c0b9e95f88d7c98604f62
|
| #
69fdc596 |
| 11-Sep-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is 868db2a514bbb02e166fb55b1592b27de8c9680c.
Change-Id: I10f7c0ac356a7666b518b62e5
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is 868db2a514bbb02e166fb55b1592b27de8c9680c.
Change-Id: I10f7c0ac356a7666b518b62e59ccb62277668578 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
63a580ae |
| 02-Jul-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: the rsa_key.c is used when enable CONFIG_ROCKCHIP_CRYPTO_V1
Change-Id: If266df70d0969d5a3556e505f39b853cf818a338 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
4a7c1780 |
| 17-Jun-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: change the hardware rsa verified interface
Change-Id: Id42cf3a829a35514b75f3c5990ce7e00b94f712e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
74b485fb |
| 23-Jan-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
fastboot: delete write perm-attr hash if use pre-loader pub_key
Since we use the pre-loader public key to verify permanent attribute, then we do not need to write permanent attribute hash to otp & e
fastboot: delete write perm-attr hash if use pre-loader pub_key
Since we use the pre-loader public key to verify permanent attribute, then we do not need to write permanent attribute hash to otp & efuse.
Change-Id: Ic5e19fed2fc9405ab5bc7504dd930fd5f02d847c Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
65f0143b |
| 26-Dec-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: verify the perm attr by root public key
Change-Id: I7e06152a21325ffcd785223952fe8ffaff4d5f08 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
|
| #
ab608f80 |
| 11-Jun-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update avb source code
according to google lib avb commit id: 44e07124afb1f46af0d745d83481f49c482900b1
Change-Id: Ie59a7265699e3e6b1673bb64da6d1c7a1e7b6201 Signed-off-by: Jason Zhu <jason
lib: avb: update avb source code
according to google lib avb commit id: 44e07124afb1f46af0d745d83481f49c482900b1
Change-Id: Ie59a7265699e3e6b1673bb64da6d1c7a1e7b6201 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| #
37a7bc39 |
| 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d44946073c9a49ff Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|