# US 11,201,731 B2 · Method and apparatus for asymmetric cryptosystem based on quasi-cyclic moderate density parity-check codes over GF(q)

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,201,731 B2
- Document ID: US11201731B2
- Status: Granted
- Kind: B2
- Application number: 16/117,602
- Filed: 2018-08-30
- Published: 2020-01-23
- Granted: 2021-12-14
- Earliest claimed: 2017-11-21
- Assignees: Zenith Electronics Corporation
- Applicants: Zenith Electronics LLC
- Inventors: Kyle Xingkai Bao; Nejib Ammar
- Web page: https://patentgrep.com/patent/US11201731B2

## CPC

- H03M 13/116: {Quasi-cyclic LDPC [QC-LDPC] codes, i.e. the parity-check matrix being composed of permutation or circulant sub-matrices}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H03M 13/1148: {Structural properties of the code parity-check or generator matrix}
- H03M 13/1171: {Parity-check or generator matrices with non-binary elements, e.g. for non-binary LDPC codes}
- H03M 13/63: {Joint error correction and other techniques (H03M13/31 and H03M13/33 take precedence)}
- H03M 13/6516: {Support of multiple code parameters, e.g. generalized Reed-Solomon decoder for a variety of generator polynomials or Galois fields}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/304: {based on error correction codes, e.g. McEliece}
- H04L 9/3093: {involving Lattices or polynomial equations, e.g. NTRU scheme}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and apparatus for code-based asymmetric cryptosystem using Quasi-Cyclic Moderate-Density Parity-Check (QC-MDPC) error correcting codes. Specifically, the method and apparatus generalizes the framework of (QC-MDPC) Code-Based (CB) cryptography from the binary domain (Galois Field of two elements) to an arbitrary size of Galois Field and provides an apparatus for implementing the cryptosystem with a simplified computational complexity of key generation, encryption, and decryption components of the cryptosystems and reduced sizes of the public and private security keys.

## Claims

### Claim 1

A method for encrypting a message using a quasi-cyclic moderate density parity check code over a Galois field, comprising:
converting a message to be encrypted into plurality of message components;
transforming a message component of the plurality of message components to obtain a transformed message component;
transforming a first component of a public key to obtain a first transformed generator component;
multiplying the transformed message component with the first transformed generator component to obtain a first multiplied output;
inverse transforming the first multiplied output to obtain a first codeword component;
transforming a second component of the public key to obtain a second transformed generator component;
multiplying the transformed message component with the second transformed generator component to obtain a second codeword component;
combining the first codeword component and the second codeword component to obtain a codeword; and
multiplying the codeword with an error signal to obtain an encrypted ciphertext.

### Claim 2 (depends on 1)

A method as claimed in claim 1, wherein the transforming steps are performed using number theory transform engines; and
wherein the inverse transforming steps are performed using inverse number theory transform engines.

### Claim 3 (depends on 1)

A method as claimed in claim 1, further comprising:
generating a random sparse row vector with elements from a Galois Field (GFq) and with a prescribed vector weight;
splitting the sparse row vector into a plurality of polynomials including a left polynomial and a plurality of rightmost polynomials;
inverting the rightmost polynomials to provide an inverted rightmost polynomials; and
circulant multiplying the left polynomials and the inverted rightmost polynomials to obtain a generator polynomial, wherein the generator polynomial is the public key.

### Claim 4

A method for encrypting a message using a quasi-cyclic moderate density parity check code over a Galois field, comprising:
mapping a component of a plaintext message into a Galois field using a complex mapper to obtain a mapped message component;
transforming the mapped message component using a fast Fourier transformer to obtain a transformed message component, wherein the transforming of the mapped message component includes transforming the mapped message component in a fast Fourier transformer having a size M equal to a prime number, the fast Fourier transformer of size M including a fast Fourier transformer of size NF and an inverse fast Fourier transformer of size NF, where NF is larger than M, an output of the fast Fourier transformer of size NF being mixed with a predetermined signal prior to being provided to an input of the inverse fast Fourier transformer of size NF;
mapping a generator polynomial into a Galois field using a complex mapper to obtain a mapped generator component;
transforming the mapped generator component using a fast Fourier transformer to obtain a transformed generator component;
multiplying the transformed message component with the transformed generator component to obtain a mixed output;
inverse transforming the mixed output to obtain an inverse signal;
mapping the inverse signal into a complex to Galois field mapper to obtain a component of a codeword;
repeating the above elements for each component of the plaintext message;
combining the components of the codeword into a codeword; and
adding an error signal to the codeword to obtain an encrypted message.

### Claim 5 (depends on 4)

A method as claimed in claim 4, wherein the inverse transforming of the mixed output includes inverse transforming using an inverse fast Fourier transformer of size M including a fast Fourier transformer of size NF and an inverse fast Fourier transformer of size NF, the output of the fast Fourier transformer of size NF being mixed with a predetermined signal prior to being provided to the input of the inverse fast Fourier transformer of size NF.

### Claim 6 (depends on 5)

A method as claimed in claim 5, further comprising:
Im scaling the mixed output provided to the inverse fast Fourier transformer of size M to obtain a scaled signal for input to the fast Fourier transformer of size NF; and
Im descaling an output of the inverse fast Fourier transformer of size NF to obtain an output of the inverse fast Fourier transformer of size M.

### Claim 7

A method for encrypting a message using a quasi-cyclic moderate density parity check code over a Galois field, comprising:
mapping a component of a plaintext message into a Galois field using a complex mapper to obtain a mapped message component;
transforming the mapped message component using a fast Fourier transformer to obtain a transformed message component;
mapping a generator polynomial into a Galois field using a complex mapper to obtain a mapped generator component;
transforming the mapped generator component using a fast Fourier transformer to obtain a transformed generator component;
multiplying the transformed message component with the transformed generator component to obtain a mixed output;
inverse transforming the mixed output to obtain an inverse signal, wherein the inverse transforming of the mixed output includes inverse transforming using an inverse fast Fourier transformer of size M including a fast Fourier transformer of size NF and an inverse fast Fourier transformer of size NF, where NF is larger than M, the output of the fast Fourier transformer of size NF being mixed with a predetermined signal prior to being provided to the input of the inverse fast Fourier transformer of size NF;
mapping the inverse signal into a complex to Galois field mapper to obtain a component of a codeword;
repeating the above elements for each component of the plaintext message;
combining the components of the codeword into a codeword; and
adding an error signal to the codeword to obtain an encrypted message.

### Claim 8 (depends on 7)

A method as claimed in claim 7, further comprising:
Im scaling the mixed output provided to the inverse fast Fourier transformer of size M to obtain a scaled signal for input to the fast Fourier transformer of size NF; and
Im descaling an output of the inverse fast Fourier transformer of size NF to obtain an output of the inverse fast Fourier transformer of size M.
