Low-latency multi-domain masking
Abstract
A multi-domain masked AND gate includes inner-domain calculations, re-sharing, register stage, cross-domain calculations, and compression. The inner-domain multiplication and the re-sharing are calculated prior to storing the re-shared variables in the register stage. Thus, the inputs to the cross-domain multiplication and the compression are performed on variables that have been refreshed by additional randomness. This AND gate does not need statistically independent inputs, is secure in the probing model even in the presence of glitches, also known as the robust probing model. A two-domain input and two domain output AND gate can be implemented using six (6) registers, four (4) two input logical AND gates, and eight (8) exclusive-OR (XOR) gates. The AND gate may also be used to implement an AES S-box that has two (2) register stages and takes two (2) clock cycles per computation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
An integrated circuit, comprising: inner-domain calculation circuitry to respectively receive a plurality of masked input signals in each of a plurality of masked domains; re-sharing circuitry to respectively receive results from the inner-domain calculation circuitry of each of the plurality of masked domains and to produce a respective plurality of re-shared results; a plurality of registers to respectively receive the plurality of re-shared results in the plurality of masked domains from the inner-domain calculation circuitry of the plurality of masked domains; cross-domain calculation circuitry to respectively receive re-shared results from each of the plurality of masked domains and to each respectively produce a cross-domain result; and compression calculation circuitry to respectively generate an output share signal in each of the plurality of masked domains from the cross-domain results and the re-shared results.
- Claim 2Depends on #1
The integrated circuit of claim 1, wherein the plurality of masked input signals are statistically dependent.
- Claim 3Depends on #1
The integrated circuit of claim 1, wherein the inner-domain calculation circuitry comprises a first logical AND function.
- Claim 4Depends on #3
The integrated circuit of claim 3, wherein the re-sharing circuitry respectively randomizes the result of the inner-domain calculation circuitry and each of the plurality of masked input signals of that masked domain.
- Claim 5Depends on #4
The integrated circuit of claim 4, wherein the re-sharing circuitry of each of the plurality of masked domains uses a same set of random input values.
- Claim 6Depends on #5
The integrated circuit of claim 5, wherein the cross-domain calculation circuitry receives values that are stored in registers and comprises a second logical AND function.
- Claim 7Depends on #6
The integrated circuit of claim 6, wherein the compression calculation circuitry comprises a logical exclusive-OR function receiving a cross-domain result.
- Claim 8Independent Claim
An integrated circuit comprising a plurality of share domains, each of the plurality of share domains comprising: inner-domain calculation circuitry to receive a first plurality of masked input signals; re-sharing circuitry to respectively receive results from the inner-domain calculation circuitry and to produce a plurality of re-shared results; a plurality of registers to respectively receive the plurality of re-shared results; cross-domain calculation circuitry to receive at least one re-shared result from a corresponding at least one other of the plurality of share domains and to produce a cross-domain result; and compression calculation circuitry to respectively generate an output share signal from the cross-domain result and at least one of the plurality of re-shared results from the plurality of registers.
- Claim 9Depends on #8
The integrated circuit of claim 8, wherein the first plurality of masked input signals are statistically dependent with a second plurality of masked input signals received by the at least one other of the plurality of share domains.
- Claim 10Depends on #8
The integrated circuit of claim 8, wherein the inner-domain calculation circuitry comprises a first logical AND function.
- Claim 11Depends on #10
The integrated circuit of claim 10, wherein the re-sharing circuitry randomizes the result of the inner-domain calculation circuitry.
- Claim 12Depends on #11
The integrated circuit of claim 11, wherein the re-sharing circuitry of each of the plurality of share domains uses a same set of random input values.
- Claim 13Depends on #12
The integrated circuit of claim 12, wherein the cross-domain calculation circuitry comprises a second logical AND function.
- Claim 14Depends on #13
The integrated circuit of claim 13, wherein the compression calculation circuitry comprises a logical exclusive-OR function receiving a cross-domain result.
- Claim 15Independent Claim
A method, comprising: receiving a first plurality of masked input signals; based on the first plurality of masked input signals, calculating an inner-domain result; producing a re-shared plurality of masked input signals and a re-shared inner-domain result; storing the re-shared plurality of masked input signals and a re-shared inner-domain result in a plurality of registers; calculating a cross-domain result from at least one of the re-shared plurality of masked input signals and a first at least one re-shared masked input signal from a corresponding at least one other of a plurality of share domains; and generate an output share signal from the cross-domain result and a second at least one re-shared masked input signal from the plurality of registers.
- Claim 16Depends on #15
The method of claim 15, wherein the first plurality of masked input signals are statistically dependent with a second plurality of masked input signals received by the at least one other of the plurality of share domains.
- Claim 17Depends on #15
The method of claim 15, wherein calculating the inner-domain result comprises a first logical AND function.
- Claim 18Depends on #17
The method of claim 17, wherein producing a re-shared plurality of masked input signals and a re-shared inner-domain result randomizes the inner-domain result.
- Claim 19Depends on #18
The method of claim 18, the plurality of share domains uses a same set of random input values.
- Claim 20Depends on #19
The method of claim 19, wherein calculating a cross-domain result comprises a second logical AND function.
Technical Overview & Description
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram illustrating an example two domain masked AND gate. FIG. 2 is a diagram illustrating an example of a masked AND gate that takes a first operand using four shares and a second operand using two shares and produces a two share output (a.k.a., 4/2-to-2 domain AND gate). FIG. 3 is a diagram illustrating an example two domain to four domain masked AND gate. FIG. 4 is a block diagram illustrating an example use of low-latency domain oriented masking to implement the Advanced Encryption Standard (AES) S-box. FIG. 5 is a flowchart illustrating low-latency multi-domain masking. FIG. 6 is a block diagram of a processing system. DETAILED DESCRIPTION OF THE EMBODIMENTS Hardware masking is a countermeasure that may be used to make power analysis attacks more difficult. Masking attempts to decouple the secret and/or processed values of a cryptographic implementation from its intermediate values. One method of masking is to probabilistically split each bit of a computation into multiple “ shares ” . Because the values of the shares are the result of an operation that processes random values, each share bit does not yield information about the original bit. Computations may then be performed on the individual bit shares (a.k.a. mask shares) without revealing information about the original (secret) bit. In Domain Oriented Masking (DOM), each share of a variable is associated with one share domain. Thus, the basic idea of the DOM approach is to keep the shares of all domains independent from shares of the other domains. In an embodiment, a multi-domain masked AND gate includes inner-domain calculations, re-sharing, register stage, cross-domain calculations, and compression. The inner-domain multiplication and the re-sharing are calculated prior to storing the re-shared variables in the register stage. Thus, the inputs to the cross-domain multiplication and the compression are performed on variables that have been refreshed by addi
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 (12)
Non-Patent Literature (10)
- Grob, Hannes, Domain-Oriented Masking-Generically Masked Hardware Implementations, Jun. 1, 2018, [retrieved on Feb. 6, 2023]. Retrieved from the internet
- <
- URL:https://diglib.tugraz.at/download.php?id=5c80ea0c43a56
- &
- locationo=browse
- >
- . 50 pages.
- Gross, Hannes et al.,
- “
- Domain-Oriented Masking: Compact Masked Hardware Implementations with Arbitrary Protection Order