Introduction to Rank-Based Cryptography

Introduction to Rank-Based Cryptography

Rank codes : definitions and basic properties Decoding in rank metric Complexity issues : decoding random rank codes Encryption Authentication and signature Introduction to rank-based cryptography Philippe Gaborit University of Limoges, France ASCRYPTO 2013 - Florianopolis Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Decoding in rank metric Complexity issues : decoding random rank codes Encryption Authentication and signature Summary 1 Rank codes : definitions and basic properties 2 Decoding in rank metric 3 Complexity issues : decoding random rank codes 4 Encryption 5 Authentication and signature Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Rank Codes : definition and basic properties Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Coding and cryptography Cryptography needs different difficult problems factorization discrete log SVP for lattices syndrome decoding problem For code-based cryptography, the security of cryptosystems is usually related to the problem of syndrome decoding for a special metric. Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature PQ Crypto Consider the simple linear system problem : H a random (n − k) × n matrix over GF (q) Knowing s 2 GF (q)n−k is it possible to recover a given x 2 GF (q)n such that H:xt = s ? Easy problem : fix n − k columns of H , one gets a (n − k) × (n − k) submatrix A of H A invertible with good probability, x = A−1s. Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature How to make this problem difficult ? (1) add a constraint to x : x of small weight for a particular metric metric = Hamming distance ) code-based cryptography metric = Euclidean distance ) lattice-based cryptography metric = Rank distance ) rank-based cryptography ) only difference : the metric considered, and its associated properties ! ! (2) consider rather a multivariable non linear system : quadratic, cubic etc... ) Mutivariate cryptography Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Rank metric codes The rank metric is defined in finite extensions. GF (q) a finite field with q a power of a prime. GF (qm) an extension of degree m of GF (q). m B = (b1; :::; bm) a basis of GF (q ) over GF (q). GF (qm) can be seen as a vector space on GF (q). C a linear code over GF (qm) of dimension k and length n. G a k × n generator matrix of the code C. H a (n − k) × n parity check matrix of C, G:Ht = 0. H a dual matrix, x 2 GF (qm)n ! syndrome of x = H:xt 2 GF (qm)n−k Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Rank metric Words of the code C are n-uplets with coordinates in GF (qm). v = (v1;:::; vn) m with vi 2 GF (q ). Pm Any coordinate vi = j=1 vij bj with vij 2 GF (q). 0 1 v11 v12 ... v1n B v21 v22 ... v2n C v(v1; :::; vn) ! V = B C @ ... ... ... ... A vm1 vm2 ... vmn Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Definition (Rank weight of word) v has rank r = Rank(v) iff the rank of V = (vij )ij is r. the determinant of V does not depend on the basis Definition (Rank distance) Let x; y 2 GF (qm)n, the rank distance between x and y is defined by dR (x; y) = Rank(x − y). Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Definition (Minimum distance) Let C be a [n; k] rank code over GF (qm), the minimum rank distance d of C is d = minfdR (x; y)jx; y 2 C; x 6= yg ; Theorem (Unique decoding) Let C[n; k; d] be a rank code over GF (qm). Let e an error vector d−1 with r = Rank(e) ≤ 2 , and c 2 C: if y = c + e then there exists a unique element c0 2 C such that d(y; c0) = r. Therefore c0 = c. proof : same as for Hamming, distance property. Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Rank isometry Notion of isometry : weight preservation Hamming distance : n × n permutation matrices Rank distance : n × n invertible matrices over GF (q) proof : multiplying a codeword x 2 GF (qm)n by an n × n invertible matrix over the base field GF(q) does not change the rank (see x as a m × n matrix over GF (q)). m n remark : for any x 2 GF (q ) : Rank(x) ≤ wH (x) : potential linear combinations on the xi may only decrease the rank weight. Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Support analogy An important insight between Rank and Hamming distances tool : support analogy support of a word of GF (q)n in Hamming metric x(x1; x2; ··· ; xn) : set of positions xi 6= 0 support of a word of GF (q)n in rank metric m x(x1; x2; ··· ; xn) : the subspace over GF (q), E ⊂ GF (q ) generated by fx1; ··· ; xng in both cases if the order of size of the support is small, knowing the support of x and syndrome s = H:xt permits to recover the complete coordinates of x. Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Sphere packing bound Counting the number of possible supports for length n and dimension t Hamming : number of sets with t elements in sets of n n elements : Newton binomial t Rank : number of subspaces of dimension t over GF (q) in the m n space of dimension n GF (q ) : Gaussian binomial t q Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Number of words S(n; m; q; t) of rank t in the space GF (qm)n = number of m × n matrices of rank t t−1 Y (qn − qj )(qm − qj ) S(n; m; q; t) = qt − qj j=0 Number of codewords of rank ≤ t : ball B(n; m; q; t) t X B(n; m; q; t) = S(n; m; q; i) i=0 Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Sphere packing bound Theorem (Sphere packing bound) Let C[n; k; d] be a rank code over GF (qm)n, the parameters n; k; d and d satisfy : d − 1 qmk B(n; m; q; b c) ≤ qnm 2 proof : classical argument on union bound remark : there is no perfect codes (equality in the bound) like for Hamming distance (Golay, Hamming codes) Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Singleton bound Theorem (Singleton bound) Let C[n; k; d] be a rank code over GF (qm)n, the parameters n; k; d and d satisfy : (n − k)m d ≤ 1 + b c n proof : consider the constraint H:xt = 0 and Rank(x) = d, write the equations over GF (q):(n − k)m equations and mnd unknwons : existence of a non nul solution implies the bound. remark : equality ! Maximum Rank Distance (MRD) codes Philippe Gaborit University of Limoges, France Introduction to rank-based cryptography Rank codes : definitions and basic properties Motivations Decoding in rank metric Rank metric codes Complexity issues : decoding random rank codes Bounds for rank metric codes Encryption q-polynomials Authentication and signature Rank Gilbert-Varshamov bound The rank Gilbert-Varshamov (GVR) bound for a C[n; k] rank code over GF (qm)n with dual matrix H corresponds to the average value of the minimum distance of a random [n; k] rank code.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    115 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us