Low-latency multi-key encryption and decryption engine and techniques
Abstract
Disclosed systems and techniques involve low-latency multi-key encryption processing in which block keys are precomputed based on multiple cryptographic keys, stored, and then selected for encryption or decryption of data during run-time cryptographic operations. The block keys may be precomputed, for each cryptographic key, in such quantities that allow uninterrupted flow of encryption or decryption operations. Replacement block keys may be concurrently generated to replace the blocks being consumed and authentication values may be computed or updated. Various described techniques allow parallel processing for efficient low-latency block key generation and cryptographic operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a processing device, a first plurality of blocks of data; identifying, by the processing device, that the first plurality of blocks of data is associated with a first cryptographic key; selecting a first plurality of block keys from a memory store that comprises at least i) the first plurality of block keys computed using the first cryptographic key and ii) a second plurality of block keys computed using a second cryptographic key, wherein each of the first plurality of block keys and each of the second plurality of block keys were computed prior to receiving the first plurality of blocks of data; and obtaining, by the processing device, a second plurality of blocks of data, wherein each of the second plurality of blocks of data is obtained using a cryptographic operation that involves a block of data of the first plurality of blocks of data and a block key of the first plurality of block keys.
- Claim 2Depends on #1
The method of claim 1, further comprising: responsive to identifying that the first plurality of blocks of data is associated with the first cryptographic key, initiating generation of a second plurality of block keys using the first cryptographic key.
- Claim 3Depends on #2
The method of claim 2, further comprising: storing the generated second plurality of block keys in the memory store.
- Claim 4Depends on #2
The method of claim 2, wherein prior to receiving the first plurality of blocks of data, the memory store stores at least m × L block keys computed using the first cryptographic key, wherein m is a number of blocks of data in the first plurality of blocks of data and L is a number of cycles used to generate the second plurality of block keys.
- Claim 5Depends on #1
The method of claim 1, further comprising: updating a message authentication value using each of the second plurality of blocks of data.
- Claim 6Depends on #5
The method of claim 5, wherein updating the message authentication value comprises: retrieving a stored plurality of powers of a hash subkey; and multiplying, in parallel, each of the second plurality of blocks of data by a corresponding one of the plurality of powers of the hash subkey.
- Claim 7Depends on #1
The method of claim 1, further comprising: receiving a third plurality of blocks of data; identifying that the third plurality of blocks of data is associated with the second cryptographic key; selecting the second plurality of block keys from the memory store; and obtaining a fourth plurality of blocks of data, wherein each of the fourth plurality of blocks of data is obtained using the cryptographic operation that involves a block of data of the third plurality of blocks of data and a block key of the second plurality of block keys.
- Claim 8Depends on #1
The method of claim 1, wherein the cryptographic operation is an encryption operation or a decryption operation, and wherein the cryptographic operation comprises bitwise XOR addition of the block of data and the block key.
Technical Overview & Description
RELATED APPLICATIONS This is a 371 application of International Application PCT/US22/47031, filed Oct. 18, 2022, which claims benefit to U.S. Provisional Patent Application No. 63/262,718, filed Oct. 19, 2021, the contents of both are incorporated by reference in their entirety herein. TECHNICAL FIELD The disclosure pertains to cryptographic computing applications, more specifically to cryptographic engines and techniques that allow efficient low-latency encryption and decryption of data in applications where a particular cryptographic key has to be selected among multiple cryptographic keys and applied to encrypt or decrypt the data. BRIEF DESCRIPTION OF THE DRAWINGS The present disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various implementations of the disclosure. FIG. 1 is a block diagram illustrating an example system architecture in which implementations of the present disclosure may operate. FIG. 2 is a block diagram illustrating example operations of a low-latency multi-key cryptographic engine that enables efficient end-to-end encryption and decryption, in accordance with some implementations of the present disclosure. FIG. 3 A depicts sequential operations performed to compute and/or update a message authentication code (MAC) value, in accordance with some implementations of the present disclosure. FIG. 3 B depicts a sequence of parallel operations performed to compute and/or update the MAC value, in accordance with some implementations of the present disclosure FIG. 4 is a flow diagram depicting a method of low-latency cryptographic operations that use multiple keys, in accordance with one or more aspects of the present disclosure. FIG. 5 is a flow diagram depicting a method of cryptographic operations that use multiple keys in the instances where no precomputed block keys of a specific type are available, in accordance with one or more aspects of the present disclosure. FIG. 6 is
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 (22)
Non-Patent Literature (8)
- Ghosh, Santosh et al.,
- “
- A
- >
- 100 Gbps Inline AES-GCM Hardware Engine and Protected DMA Transfers between SGX Enclave and FPGA Accelerator Device
- ”
- , IACR Cryptol. ePrint Arch. 2020 (2020): 178. 21 pages.
- Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or the Declaration with Mail Date May 4, 2023 re: Int'l Appln. No. PCT/US2022/047031. 10 pages.