Application authentication and data encryption without stored pre-shared keys
Abstract
Described herein are technologies for application authentication and/or data encryption without stored pre-shared keys. In one resource controller, a processing device receives an application identifier (ID) from the application. The processing device provides a current nonce responsive to the application ID and provides the application access to the system resource responsive to determining that a hash of a current key received from the application equals a current tag. The current key is generated by the application based on code of the application and the current nonce. The current tag was previously provided from the application to the resource controller. The current tag can also be hashed by the application using the current key.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A resource controller comprising: a first interface to communicate with an application executing on a processor coupled to the resource controller; a second interface to communicate with a system resource; and a processing device coupled to the first interface and the second interface, wherein the processing device is to: receive an application identifier (ID) from the application; provide a current nonce to the application, wherein the current nonce is associated with the application ID; receive a current key from the application, wherein the current key is generated by the application based on the current nonce and a set of program instructions of the application; and provide the application access to the system resource responsive to determining that a hash of the current key received from the application equals a current tag, wherein the current tag was previously provided from the application to the resource controller.
- Claim 2Depends on #1
The resource controller of claim 1, wherein the current tag, provided from the application, was hashed using the current key by the application.
- Claim 3Depends on #1
The resource controller of claim 1, further comprising a memory device coupled to the processing device, wherein the processing device is to store a table in the memory device, wherein the table comprises information for each application registered to the resource controller.
- Claim 4Depends on #1
The resource controller of claim 1, further comprising a memory device coupled to the processing device, wherein the processing device is to: store the application ID, the current nonce, and the current tag in the memory device; mark the application ID, the current nonce, and the current tag as valid; store the application ID and a new nonce; and mark the application ID and the new nonce as invalid.
- Claim 5Depends on #1
The resource controller of claim 1, further comprising a memory device coupled to the processing device, wherein the processing device is to: store the application ID, the current nonce, the current tag, and a second nonce in the memory device, wherein the current nonce is an authentication nonce and the second nonce is an encryption nonce or a message authentication code (MAC) nonce; mark the application ID, the current nonce, the current tag, and the second nonce as valid; store the application ID, a new authentication nonce, and a third nonce, wherein the third nonce is a new encryption nonce or MAC nonce; and mark the application ID, the new authentication nonce, and the third nonce as invalid.
- Claim 6Depends on #1
The resource controller of claim 1, further comprising a memory device coupled to the processing device, wherein the processing device is to: store the application ID, the current nonce, the current tag, a second nonce, and a third nonce in the memory device, wherein the current nonce is an authentication nonce, the second nonce is an encryption nonce, and the third nonce is a message authentication code (MAC) nonce; and mark the application ID, the current nonce, the current tag, the second nonce, and the third nonce as valid.
- Claim 7Depends on #1
The resource controller of claim 1, wherein the system resource is a non-volatile memory (NVM) device and the resource controller is an NVM controller.
- Claim 8Depends on #1
The resource controller of claim 1, wherein the system resource is a cryptographic engine.
Technical Overview & Description
RELATED APPLICATIONS This application claims the benefit of U.S. Provisional Application No. 62/888,903, filed Aug. 19, 2019, the entire contents of which are incorporated by reference. BACKGROUND In some computer systems, a system resource controller can be used to control access to system resources. For example, a computer system, having non-volatile memory (NVM) device(s), can control access using an NVM controller. To restrict access to the NVM device(s), the NVM controller can require that an application authenticate itself with the NVM controller to gain access (e.g., read data from the NVM device(s) and/or write data to the NVM device(s)). In some instances, in order for an application to authenticate itself with the NVM controller, the application and NVM controller exchange and store a pre-shared secret (e.g., pre-shared key). After the both the application and the NVM controller store the pre-shared key, the application can use the pre-shared key to authenticate itself with the NVM controller. The application and NVM controller can also exchange and store pre-shared encryption keys to encrypt data being written to or read from the NVM device(s). In computer systems with constrained resources, such as embedded processors or Internet of Things (IoT) device, it can be difficult to store and protect pre-shared secrets for authenticating applications with the resource controller. BRIEF DESCRIPTION OF THE DRAWINGS The present disclosure is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings. FIG. 1 is a block diagram of a computer system with an authentication manager for application authentication and data encryption without stored pre-shared keys according to one embodiment. FIG. 2 is a block diagram of an authentication system in which an application and a resource controller with application managers perform a registration process and an authentication process without stored pre-shared keys according to on
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (80)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- Sreekanth Malladi et al.
- “
- On Preventing Replay Attacks on Security Protocols
- ”
- International Conference on Security and Management (2002), 7 pages.