Patents
US 12,705,405 B2#154921101 Most CitedActiveUnited States (USPTO)Utility

Read-only memory (ROM) security

1Forward Citations (#154921101 Global)
1.0/yrCitation Velocity (#154921101 Global)
0.17Citation PageRank (#154921101 Global)
63Prior Art Cited
13Claims (2 Indep. · 11 Dep.)
16Drawings / Sheets

Abstract

An apparatus with an integrated circuit (IC) chip can provide protection against attacks on a read-only memory (ROM), such as a boot ROM for security circuitry. An attacker can gain control of an IC by modifying ROM contents and/or redirecting ROM reads. To combat these attacks, example implementations store encrypted ROM data in the ROM array. A ROM controller is used to cryptographically tie the address of each ROM line to the corresponding encrypted ROM datum. To access the encrypted ROM datum, cryptographic circuitry decrypts the encrypted ROM datum using a key that is generated based on the corresponding ROM address. As part of an integrity checking procedure, a digest can be computed based on the encrypted ROM data. To further thwart would-be attacks, the ROM address can be adjusted (e.g., scrambled) before the controller uses the adjusted address to read encrypted data from the ROM array.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 63 · Forward citations: 1.

Claims (13 — 2 Independent, 11 Dependent)

  1. Claim 1Independent Claim

    An apparatus for secure read-only memory (ROM), the apparatus comprising: a ROM array including encrypted ROM data stored at multiple ROM addresses; and a ROM controller coupled to the ROM array, the ROM controller including: cryptographic circuitry configured to perform a decryption operation on the encrypted ROM data based on the multiple ROM addresses at which the encrypted ROM data is stored; and a ROM access interface coupled to the cryptographic circuitry and the ROM array, the ROM access interface configured to: read an encrypted ROM datum from the ROM array based on a ROM address corresponding to the encrypted ROM datum; after reading the encrypted ROM datum, decrypt the encrypted ROM datum to produce a decrypted ROM datum using the cryptographic circuitry that performs the decryption operation based on the ROM address corresponding to the encrypted ROM datum; and forward the decrypted ROM datum to an interconnect, the cryptographic circuitry comprising: keystream circuitry configured to produce multiple keys respectively based on the multiple ROM addresses, the multiple keys including at least one key that is produced based on the ROM address corresponding to the encrypted ROM datum; and data combination circuitry coupled to the keystream circuitry, the data combination circuitry configured to produce the decrypted ROM datum based on the encrypted ROM datum and the at least one key.

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein the ROM access interface is configured to use the cryptographic circuitry to cryptographically tie the ROM address to the decrypted ROM datum.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein the cryptographic circuitry is configured to perform the decryption operation on a respective ROM datum of the encrypted ROM data based on a respective ROM address of the multiple ROM addresses, the respective ROM address configured to identify the respective ROM datum in the ROM array.

  4. Claim 4Depends on #1

    The apparatus of claim 1, wherein the ROM access interface comprises a finite state machine (FSM) configured to provide access to the encrypted ROM data as decrypted ROM data for a bootup procedure.

  5. Claim 5Depends on #1

    The apparatus of claim 1, wherein: the ROM controller comprises an address adjustment circuit configured to adjust ROM addresses to produce adjusted ROM addresses; and the ROM access interface is configured to adjust the ROM addresses to read the encrypted ROM data stored at the multiple ROM addresses using the address adjustment circuit.

  6. Claim 6Depends on #5

    The apparatus of claim 5, wherein the address adjustment circuit is configured to at least one of permute or substitute two or more bits of each ROM address of the ROM addresses to produce the adjusted ROM addresses.

  7. Claim 7Depends on #1

    The apparatus of claim 1, wherein: the cryptographic circuitry comprises a manipulation circuit configured to manipulate at least one bit of the encrypted ROM datum to produce a manipulated encrypted ROM datum; and the data combination circuitry is configured to produce the decrypted ROM datum based on the manipulated encrypted ROM datum and at least one key of the multiple keys.

  8. Claim 8Depends on #7

    The apparatus of claim 7, wherein: the manipulation circuit is configured to diffuse two or more bits of the encrypted ROM datum to produce the manipulated encrypted ROM datum; and the data combination circuitry is configured to combine bits of the at least one key and bits of the manipulated encrypted ROM datum using at least one logical operation to produce the decrypted ROM datum.

  9. Claim 9Depends on #1

    The apparatus of claim 1, wherein: the encrypted ROM datum includes bits corresponding to a ROM instruction and bits corresponding to a check code for the ROM instruction; and the decrypted ROM datum includes bits corresponding to the ROM instruction and bits corresponding to the check code for the ROM instruction.

  10. Claim 10Depends on #9

    The apparatus of claim 9, wherein the ROM controller comprises: a ROM checker circuit coupled to an output of the cryptographic circuitry, the ROM checker circuit configured to: compute another check code based on the ROM instruction of the decrypted ROM datum; perform a comparison including the check code of the decrypted ROM datum and the computed other check code; and generate an error signal based on the comparison.

  11. Claim 11Depends on #9

    The apparatus of claim 9, wherein each encrypted ROM datum of the encrypted ROM data stored at the multiple ROM addresses of the ROM array is distinct from each other encrypted ROM datum of the encrypted ROM data stored at the multiple ROM addresses of the ROM array due to an encryption scheme that is based on the multiple ROM addresses.

  12. Claim 12Depends on #1

    The apparatus of claim 1, wherein the apparatus comprises a mobile device.

  13. Claim 13Independent Claim

    A method for secure read-only memory (ROM), the method comprising: obtaining a ROM read request including a ROM address relating to a ROM array that includes encrypted ROM data stored at multiple ROM addresses; generating at least one key based on the ROM address; reading an encrypted ROM datum from the ROM array using the ROM address corresponding to the encrypted ROM datum; after the reading of the encrypted ROM datum, decrypting the encrypted ROM datum to produce a decrypted ROM datum using the encrypted ROM datum and the at least one key; and forwarding the decrypted ROM datum to an interconnect, wherein: the decrypting comprises performing at least one logical operation that includes the at least one key and the encrypted ROM datum to produce the decrypted ROM datum; the decrypting comprises manipulating, prior to the performing of the at least one logical operation, bits of the encrypted ROM datum to produce a manipulated encrypted ROM datum; the performing includes performing the at least one logical operation using the at least one key and the manipulated encrypted ROM datum to produce the decrypted ROM datum; the manipulating comprises diffusing two or more bits of the encrypted ROM datum to produce the manipulated encrypted ROM datum; and the performing comprises combining bits of the at least one key and bits of the manipulated encrypted ROM datum using the at least one logical operation to produce the decrypted ROM datum.

Technical Overview & Description

RELATED APPLICATION(S) This application is a national stage entry of International Application No. PCT/US2022/071514, filed Apr. 1, 2022, which claims the benefit of U.S. Provisional Application No. 63/170,430, filed Apr. 2, 2021, the disclosures of which are incorporated herein by reference in their entirety. BACKGROUND Electronic devices play integral roles in manufacturing, communication, transportation, healthcare, commerce, social interaction, and entertainment. For example, electronic devices power the server farms that provide cloud-based, distributed computing functionality for commerce and communication. Electronic devices are also embedded in many different types of modern equipment, from medical devices to appliances and from vehicles to industrial tools. Personal electronic devices enable portable video viewing and convenient access to smart digital assistants. Additionally, one versatile electronic device — the smartphone — has practically become a necessity to have within arm's reach. With electronic devices becoming pervasive and crucial to many aspects of modern life, device security has become imperative. Many people are familiar with malware, which is sometimes referred to generically as a “ computer virus. ” Some malware is designed to gain unauthorized access to information stored by an electronic device or to otherwise compromise the electronic device. Several strategies can help keep a user's devices and information safe from security threats by countering certain types of malware. These strategies include employing and regularly updating a resilient operating system, engaging in safe computing practices, and installing an antimalware program. Unfortunately, these strategies cannot make an electronic device invulnerable to all malware attacks. Further, electronic devices can also be vulnerable to other types of attacks besides those carried out by software-based malware. For example, the safe and reliable operation of electronic devices, as wel

Cited By — Indexed Forward Citations (1 of 1 total)

References Cited — Backward Prior Art (63)

PatentTitleYearCitations
US 6,971,020 B1Circuit and method for the securing of a coprocessor dedicated to cryptography20055
US 7,168,065 B1Method for monitoring program flow to verify execution of proper instructions by a processor200798
US 9,230,112 B1Secured booting of a field programmable system-on-chip including authentication of a first stage boot loader to mitigate against differential power analysis2016115
US 10,333,708 B1Hybrid random-number generator201913
US 11,409,668 B2Memory module, operation method of memory module, memory system, and operation method of memory system20221
US 11,775,384 B2Memory system20231
US 2009196418 A1Encryption Apparatus with Diverse Key Retention Schemes—27
US 2010115184 A1Flash memory storage system and controller and data protection method thereof—10
US 2012042376 A1Host Device and Method for Securely Booting the Host Device with Operating System Code Loaded From a Storage Device—57
US 2012179898 A1System and method for enforcing software security through cpu statistics gathered using hardware features—21
US 2012297111 A1Non-Volatile Memory And Method With Improved Data Scrambling—41
US 2013145177 A1Memory location specific data encryption key—83
US 2013268740 A1Self-Destructing Files in an Object Storage System—66
US 2014173294 A1Techniques for emulating an eeprom device—13
US 2015006914 A1Semiconductor integrated circuit and system—15
US 2015055778 A1Method and apparatus for a non-deterministic random bit generator (nrbg)—35
US 2015134976 A1Event-based apparatus and method for securing bios in a trusted computing system during execution—13
US 2016232050 A1System and method for error detection of executed program code employing compressed instruction signatures—2
US 2018063100 A1Thread Ownership of Keys for Hardware-Accelerated Cryptography—16
US 2018095985 A1Physical Location Scrambler for Hashed Data De-Duplicating Content-Addressable Redundant Data Storage Clusters—7
US 2019007201 A1Processing System, Related Integrated Circuit, Device and Method—6
US 2019042476 A1Low overhead integrity protection with high availability for trust domains—23
US 2019050602 A1Non-volatile Memory Device With Secure Read—21
US 2019095630 A1Storage data encryption/decryption apparatus and method—1
US 2020036509 A1Countermeasure For Power Injection Security Attack—5
US 2020184107 A1Memory data security—1
US 2020394337 A1Electronic circuit—5
US 2021182379 A1System and method for improving the security of stored passwords for an organization—5
US 2021232396 A1Apparatus and method for inhibiting instruction manipulation—2

Non-Patent Literature (10)

  • “
  • Foreign Office Action
  • ”
  • , IN Application No. 202347060235, Dec. 11, 2024, 6 pages.
  • “
  • Foreign Office Action
  • ”
  • , TW Application No. 111112862, Aug. 26, 2024, 36 pages.
  • “
  • Foreign Office Action