hottub.patents
US 12,567,973 B2#3303099 Most CitedActiveUnited States (USPTO)Utility

Galois hash authentication-based circuit

0Forward Citations (#3303099 Global)
0.0/yrCitation Velocity (#3303099 Global)
0.00Citation PageRank (#3303099 Global)
8Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

The disclosure provides a Galois hash authentication-based circuit. An additional authentication data calculation circuit receives the first data block in the data stream and performs calculation according to the first data block, and shifts the calculation result to the left to generate a first output. A ciphertext calculation circuit includes k first calculation units, used to receive in parallel the second data blocks in the data stream in each round of calculation of the ciphertext calculation circuit, and perform parallel calculation on each data block received to generate a second output. The bubble processing circuit receives the first quantity of the third data blocks after the last round of calculation of the ciphertext calculation circuit and performs calculation to generate a third output. A message authentication code is calculated according to the first output, the second output, and the third output.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8)

  1. Claim 1Independent Claim

    A Galois hash authentication-based circuit, wherein the Galois hash authentication-based circuit is configured to perform calculation processing on a data sequence comprising a first data block, a second data block, and a third data block; and the Galois hash authentication-based circuit comprises: an additional authentication data calculation circuit, receiving a first data block in a data stream and performing calculation according to the first data block, and shifting a calculation result to left according to a total length of a second data block and a third data block to generate a first output; a ciphertext calculation circuit, wherein the ciphertext calculation circuit comprises k first calculation units, is configured to receive in parallel a second data block in the data stream in each round of calculation of the ciphertext calculation circuit, and perform parallel calculation on each of data blocks received to generate a second output, wherein k is a positive integer greater t

  2. Claim 2Depends on #1

    The Galois hash authentication-based circuit according to claim 1, wherein the first calculation unit further receives in parallel a second quantity of third data blocks in the last round of calculation; values of the first quantity and the second quantity are determined by the controller based on a value of k, a quantity of the third data blocks, and a quantity of second data blocks received in the last round of calculation.

  3. Claim 3Depends on #2

    The Galois hash authentication-based circuit according to claim 2, wherein the first calculation unit performs calculation according to the received second data block or the third data block and a first power function of a hash key, wherein a power of the first power function of the hash key is determined by the controller according to an order of the received second data block or the third data block in the data sequence and the value of k.

  4. Claim 4Depends on #3

    The Galois hash authentication-based circuit according to claim 3, wherein in response to the received second data block or the third data block being a last (k − 1) data block in the data sequence, the controller determines the power of the first power function of the hash key according to an order of the second data block or the third data block in the last (k − 1) data block; in response to the received second data block or the third data block not being the last (k − 1) data block in the data sequence, the controller determines the power of the first power function of the hash key according to the value of k.

  5. Claim 5Depends on #3

    The Galois hash authentication-based circuit according to claim 3, wherein the first calculation unit comprises: a third adder; a third multiplier, coupled to the third adder; a third register, coupled to the third adder and the third multiplier; a fourth register, coupled to the third register; and a third multiplexer, coupled to the third multiplier and the controller, wherein the third adder performs calculation on the received second data block or the third data block and a value of the third register and outputs a calculation result to the third multiplier, the third multiplexer outputs the first power function of the hash key to the third multiplier under control of the controller, the third multiplier performs calculation according to a calculation result of the third adder and the first power function of the hash key, and stores a calculation result to the third register to update the value of the third register; in response to the ciphertext calculation circuit receiving and c

  6. Claim 6Depends on #5

    The Galois hash authentication-based circuit according to claim 5, wherein in response to the bubble processing circuit receiving the first quantity of the third data blocks, the controller outputs corresponding values in the third registers of first quantity of first calculation units in the k first calculation units to the bubble processing circuit, at the same time, the remaining first calculation units are controlled to output the value in the third register to the fourth register to be stored, in response to the bubble processing circuit generating the third output, a value of the fourth register is used as the second output, and the second output and the third output are output synchronously.

  7. Claim 7Depends on #1

    The Galois hash authentication-based circuit according to claim 1, wherein the bubble processing circuit generates the third output according to the first quantity of third data blocks received, outputs of the first quantity of the first calculation units, and at least a second power function of the hash key, wherein a power of the second power function of the hash key is determined by the controller according to an order of the third data block in the data sequence.

  8. Claim 8Depends on #7

    The Galois hash authentication-based circuit according to claim 7, wherein the bubble processing circuit comprises a third calculation unit and a fourth calculation unit; the controller selectively enables the third calculation unit, or enables the third calculation unit and the fourth calculation unit according to a value of the first quantity.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application claims the priority benefit of China application serial no. 202311244378.1, filed on Sep. 25, 2023. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification. BACKGROUND Technical Field The disclosure relates to a Galois hash authentication-based circuit. Description of Related Art The current GHASH (Galois hash) is mainly used to authenticate Ethernet applications (such as routers, switches, or bridges). FIG. 1 A is a schematic diagram of a data flow based on the Ethernet protocol. Referring to FIG. 1 A , there are intervals between adjacent data packets of the Ethernet data stream. Therefore, the communication device may use the interval between the adjacent data packets to complete the GHASH operation on the bubble, in which the bubble may be length data, or CRC data and the length data. However, in some communication interconnection protocols, for example, PCIe-Gen6 (peripheral component interconnect express-generation 6 ) and CXL (compute express link), the flow control unit (flit) is used as the basic unit of transmission. Taking the CXL protocol as an example, FIG. 1 B shows a schematic diagram of the data flow of the CXL protocol. The CXL data stream may contain multiple consecutive flits, such as F 1 , F 2 , and F 3 . There is no interval between adjacent flits. Therefore, how to process the bubble data without blocking the CXL data flow is a problem. In addition, compared with Ethernet, CXL has higher throughput (128 Gbps, 256 Gbps or higher) and data width is above 512 bit. Therefore, when the length of the GHASH data block is 128 bits, four 128-bit data blocks need to be processed in a single clock cycle, which requires a higher parallel calculation architecture. Furthermore, in Ethernet, GHASH operations may be performed on a packet basis, additional authentication data (AAD), ciphertext or plain text may be processed seq

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 (8)