Searched hist:f8e13adf129f7207a7c1f5a516ca3986c8e4ae42 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-verify.c | f8e13adf129f7207a7c1f5a516ca3986c8e4ae42 Mon Apr 01 01:29:01 UTC 2024 Xuhui Lin <xuhui.lin@rock-chips.com> lib: rsa: Add burn rsa4096 key hash support
1. If burn both flags(0x30ff) into OTP_SECURE_BOOT_ENABLE_ADDR, 0xff will be burned first. If power down happens when burn rsa4096 flag (0xff is already burned), the device becomes bricked.
2. So, fix all OTP_SECURE_BOOT_ENABLE_SIZE from 2 bytes to 1 byte, only allow to burn 1 byte to open secureboot. Add OTP_RSA4096_ENABLE_ADDR/SIZE definition used for burn rsa4096 flag.
Change-Id: Ifc9767242bc86fd0cf69ff107b4f557bc3a4fdcd Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
|