USRE48643E

Cryptographic system using pairing with errors

Claim Score by NHIP

Read claim 13, the broadest

Abstract

Using the same mathematical principle of paring with errors, which can be viewed as an extension of the idea of the LWE problem, this invention gives constructions of a new key exchanges system, a new key distribution system and a new identity-based encryption system. These new systems are efficient and have very strong security property including provable security and resistance to quantum computer attacks.

Term

6.5 yearsleft in the term

Expires 11 April 2033.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

72 claims: 6 independent, 66 dependent

  1. 1
    Method for establishing a key exchange over an open channel between a first party A and a second party B, comprising:(1) openly selecting, by Party A and Party B together, parameters, n, q and small whole number t, (t<<n), where q is an odd prime, and an error distribution κ n 2 to be a distribution over n×n matrix over F q , a n×n matrix M over F q uniformly and randomly, where q is of size of a polynomial of n like n 3 , and elements of F q are represented by integers in the range [−(q−1)/2, (q−1)/2)];(2) choosing, by each of the parties privately, its own secret matrix S i (i=A, B) a n×n matrix chosen according to the error distribution κ n 2 , and error matrix e i , (i=A, B) as a n×n matrix following the error distribution κ n 2 ;computing by a processor of the Party A M A =MS A +te A , where t is a small integer (t<<n);computing by the Party B M B =M t S B +te B , (3) Both of the parties exchange M i in the open communication channel;(4) computing by the Party A: K A =S t A ×M B =S t A M t S B +tS t A e B ;computing by the Party B: K B =M t A ×S B =S t A M t S B +te t A S B ;(5) performing by both the Party A and the Party B a rounding technique to derive the shared key, comprising: (a) making by the Party B a list T 1 of all positions of the entries of K B such that these entries are in the range of [−(q−1)/4, (q−1)/4] and a list T 2 of all positions which are not in the range of [−(q−1)/4, (q−1)/4], then sending by the Party B to the Party A the list T 1 , (b) computing by each of the parties privately the residues of these entries modular t in T 1 , and for the entries not in T 1 , which is in T 2 , adding (q−1)/2 to each entry and computing the residue modular q first (into the range of [−(q−1)/4, (q−1)/4]) then the residue modular t, which gives a shared key between the two parties.
  2. 7
    Method, for a central server, building a key distribution (KD) system, comprising:(1) selecting, by the central server, parameters select parameters, n, q and small whole number t, (t<<n), where q is an odd prime, q is of size of a polynomial of n like n 3 and elements of F q are represented by integers in the range [−(q−1)/2, (q−1)/2)], an error distribution κ n 2 a distribution over n×n matrix over F q ;and selecting by the central server a symmetric randomly chosen n×n matrix S over F q as a master key;(2) giving, by the central server, to each user index as i, a general matrix A i as an ID with small entries following error distribution κ n 2 , where the ID matrix of each user is public and the central server have also a choice to generate the ID with information that can identify the user;(3) distributing, by the central server, for each user securely a secret: E i =A i S+te i , where e i is a matrix selected following error distribution κ n 2 and this is kept private for each user;obtaining a secret key shared between the User i and the User j comprising: computing by a process of the User i: K i =E i ×A j t =A i SA j t +te i A j t ;and computing by a processor of the User j K j =A i ×(E j ) t =A i S t A j t +tA i e j t =A i SA j t +tA i e j t ;then the two users deriving a shared key between the two users using the following simple rounding method, comprising: when the User j wants to establish a shared key with the user i, collecting by the user j all the entries (including their positions in the matrix) in K j that are in the range of (−(q−1)/4, (q−1)/4), namely those entries which are closer to 0 than (q−1)/2;sending by the User j to the user i a list of the positions of the entries in the matrix (only the position not the values of the entries themselves) that are randomly selected from the collection, which is tagged by 0, and a list of entries not in the list tagged by 0;then selecting by the user i the same entries in its own matrix E i ×A j , which gives them a shared list of common entry positions, therefore the corresponding entries of the matrix;then computing by each of the users the residue of the entries modular t lagged by 1 and compute the residue of the sum of each of the entries tagged by 0 with (q−1)/2, which build a new identical ordered list of values, their shared secret key.
  3. 13
    Broadest claimClaim Score 17, narrow(NHIP)Method, for a central, building an identity-based encryption system, comprising:(1) selecting by the central server parameters, n, q and small whole number t, (t<<n), where q is an odd prime, q is of size of a polynomial of n like n 3 and elements of F q are represented by integers in the range [−(q−1)/2, (q−1)/2)], and an error distribution κ n 2 to be a distribution over n×n matrix over F q ;and selecting by the central server a secret n×n matrix S as the secret master key, where S is selected as a small element following certain error distribution κ n 2 ;(2) selecting by the central server a random element M following uniform distribution, but making sure that M has an inverse: when the central server could not find one first time, it tries again till it finds one;then computing by the central server M 1 =MS+te, where e is small following certain error distribution κ n 2 ;(3) then publicizing by the central server M and M 1 as the master public key;(4) assigning by the central server for each user indexed by i an public ID as A i , where A i is small following certain error distribution κ n 2 , and the central server has can generate A i from information that can identify the user i;(5) processing by a processor and giving by the central server for each user, namely, the User i, a secret key: S i =SA i +tM −1 e i , where e i 's entries are small following the error distribution κ;(6) then establishing by anyone using the ID, A i , and the master public key, a new public key for the user with ID A i , which is given as the pair (A i , B i ), where A i =M and B i =M 1 A i =MSA i +teA i , and using by anyone as the public key to encrypt any message use the MLWE encryption system.
  4. 20
    A method for establishing a shared key between two parties, Party A and Party B, over an open communication channel, comprising:selecting, by Party A and Party B, a matrix row size r, a matrix column size c and a finite field F comprising a first prime number q of elements, wherein the first prime number q comprises a value approximately equal to a polynomial of the matrix row size or column size;selecting, by Party A and Party B, an error distribution K over the finite field F;generating, by Party A and Party B, a public matrix M comprising values of random elements of the finite field F in accordance with a uniform distribution, wherein a size of the public matrix M comprises the matrix row size r rows by the matrix column size c columns;selecting, by Party A and Party B, a whole number t, wherein the whole number t is less than the matrix row size r or matrix column size c;generating, at Party A, entries of a private matrix S comprising values of elements in the finite field F chosen according to the selected error distribution K, wherein a size of the private matrix S comprises the matrix column size c rows by a selected number Sc columns;selecting, at Party A, entries of an error matrix e comprising values of elements in the finite field F chosen according to the selected error distribution K, wherein a size of the error matrix e comprises the matrix row size r rows by the selected number Sc columns;determining, at Party A, a product matrix resulting from multiplying the public matrix M times the private matrix;determining, at Party A, a scalar error matrix resulting from multiplying the whole number t times the error matrix e;determining, at Party A, a first exchange matrix Ma resulting from adding the scalar error matrix to the product matrix;sending the first exchange matrix Ma to Party B in exchange for a second exchange matrix Mb;determining, at Party A, a key matrix Ka resulting from multiplying a transpose of the private matrix S times the second exchange matrix Mb;and applying, at Party A, a rounding method to each entry of the key matrix Ka to generate the shared key.
  5. 42
    A method for establishing a shared key between two parties, Party A and Party B, over an open communication channel, comprising:selecting, by Party A and Party B, a matrix row size r, a matrix column size c and a finite field F comprising a first prime number q of elements, wherein the first prime number q comprises a value approximately equal to a polynomial of the matrix row size or column size: selecting, by Party A and Party B, an error distribution K over the finite field F;generating, by Party A and Party B, a public matrix M comprising values of random elements of the finite field F in accordance with a uniform distribution, wherein a size of the public matrix M comprises the matrix row size r rows by the matrix column size c columns;selecting, by Party A and Party B, a whole number t, wherein the whole number t is less than the matrix row size r or matrix column size c;generating, at Party A, entries of a private matrix S comprising values of elements chosen according to the selected error distribution K, wherein a size of the private matrix S comprises the matrix row size r rows by a selected number Sc columns;selecting, at Party A, entries of an error matrix e comprising values of elements chosen according to the selected error distribution K, wherein a size of the error matrix e comprises the matrix column size c rows by the selected number Sc columns;determining, at Party A, a product matrix resulting from multiplying a transpose of the public matrix M times the private matrix S;determining, at Party A, a scalar error matrix resulting from multiplying the whole number t times the error matrix e;determining, at Party A, a first exchange matrix Ma resulting from adding the scalar error matrix to the product matrix;sending the first exchange matrix Ma to Party B, in exchange for a second exchange matrix Mb;determining, at Party A, a key matrix Ka resulting from multiplying the second exchange matrix Mb times the private matrix S;applying, at Party A, a rounding method to each entry of the key matrix Ka to generate the shared key.
  6. 64
    A key distribution system for generating a shared key between users, comprising:a central server in open communication with a plurality of users, the central server comprising at least one processor, and a non-transitory computer-readable storage medium in operable communication with the processor, wherein the computer-readable storage medium comprising computer-executable instructions that, when executed, cause the at least one processor to: select a matrix size n and a finite field F comprising a first prime number q of elements, and an error distribution K over the finite field F, wherein the first prime number q comprises a value approximately equal to a polynomial of the matrix size;generate a master key matrix S comprising values of random elements of the finite field F in accordance with a uniform distribution, wherein the master key matrix S is selected to be a symmetric matrix and wherein a size of the master key matrix S comprises the matrix size n rows by the matrix size n columns;select a whole number t, wherein the whole number t is less than the matrix size n;generate a respective ID matrix for each of a plurality of users, wherein each respective ID matrix comprises values of elements in the finite field F chosen according to the selected error distribution K, wherein a size of the ID matrix comprises the matrix size n rows by the matrix size n columns;generate a respective error matrix e for each of the plurality of users, wherein each respective error matrix e comprises values of elements in the finite field F chosen according to the selected error distribution K, wherein a size of the respective error matrix e comprises the matrix size n rows by the matrix size n columns;determine a respective product matrix for each of the plurality of users resulting from multiplying the respective ID matrix by the master key matrix S;determine a respective scalar error matrix for each of the plurality of users resulting from multiplying the whole number t times the respective error matrix e;determine a respective exchange matrix E for each of the plurality of users resulting from adding the respective scalar error matrix to the respective product matrix;send to each of the plurality of users the respective exchange matrix E, such that a User A and a User B of the plurality of users each generate the shared key based on the respective exchange matrices for each user.