US 12,430,419 B2
Method and system for writing authentication information
Hsin-Chia Chung, Hsinchu (TW)
Assigned to REALTEK SEMICONDUCTOR CORP., Hsinchu (TW)
Filed by REALTEK SEMICONDUCTOR CORP., Hsinchu (TW)
Filed on Jan. 22, 2024, as Appl. No. 18/419,484.
Claims priority of application No. 112128562 (TW), filed on Jul. 31, 2023.
Prior Publication US 2025/0045373 A1, Feb. 6, 2025
Int. Cl. G06F 21/44 (2013.01)
CPC G06F 21/44 (2013.01) 18 Claims
OG exemplary drawing
 
1. A method for writing authentication information, applicable to a system-on-chip (SoC), the method comprising: configuring a processor to perform:
writing predetermined authentication information into an overlay data register (ODR);
executing a boot process, reading the ODR according to a secure attribute table stored in a read-only memory in the boot process to obtain to-be-verified authentication information corresponding to the predetermined authentication information, wherein the to-be-verified authentication information is used to replace authentication information predetermined to be read from a one-time programmable (OTP) memory in the boot process;
executing a security verification process of the boot process on the to-be-verified authentication information to determine whether or not the to-be-verified authentication information passes a security verification; and
in response to determining that the to-be-verified authentication information passes the security verification, writing the to-be-verified authentication information into the OTP memory to serve as the authentication information.