本文共 8002 字,大约阅读时间需要 26 分钟。
汇总基础建议参考yuyu
(本文停止更新)安全参数:正整数 n 或 λ n或\lambda n或λ。
正素数一般用 p p p, q q q。 上确界supermum,最小上界 s u p sup supZ \Z Z表示整数集合,也有直接用 Z Z Z表示的。
R \R R表示实数集合,也有直接用 R R R表示的。 N \N N表示正数集合,也有直接用 N N N表示的。 s s s bits的集合, { 0 , 1 } s \{0,1\}^s { 0,1}s 例: Z q : 表 示 在 [ − q − 1 2 , q − 1 2 ] 范 围 内 的 整 数 。 \Z_q:表示在[ - \frac{ {q - 1}}{2},\frac{ {q - 1}}{2}]范围内的整数。 Zq:表示在[−2q−1,2q−1]范围内的整数。 Z q n : n 维 向 量 模 q 。 \Z _q^n:n维向量模q。 Zqn:n维向量模q。 Z q n × m : 一 组 n × m 的 矩 阵 , 其 元 素 在 Z q 上 。 \Z^{n\times m}_q:一组n\times m的矩阵,其元素在\Z_q上。 Zqn×m:一组n×m的矩阵,其元素在Zq上。商群 G / N G/N G/N,设 N N N 是群 G G G的正规子群。定义集合 G / N G/N G/N是 N N N 在 G G G 中的所有左陪集的集合,就是说 G / N = { a N : a ∈ G } G/N = \{ aN : a∈G \} G/N={ aN:a∈G},即商群每个元素都是 N N N与 a a a的乘法运算, N N N相当于群 G G G的“单位元”。
环Ring:环 R = Z [ x ] / ( x n + 1 ) R=\Z[x]/(x^n+1) R=Z[x]/(xn+1),和环 R q = Z q [ x ] / ( x n + 1 ) R_q=\Z_q[x]/(x^n+1) Rq=Zq[x]/(xn+1)
商环(剩余类环):也有类似商群的概念 R / N = { a + N , a ∈ R } R/N=\{a+N,a\in R\} R/N={ a+N,a∈R} 因此,密码学中环则有: Z [ x ] / < x n + 1 > = { a ( x n + 1 ) : a ∈ Z } \Z[x]/<x^n+1> = \{ a(x^n+1) : a∈\Z \} Z[x]/<xn+1>={ a(xn+1):a∈Z} R × R^{\times} R×:表示 R R R中逆元。 环中多项式: f = ∑ i = 0 N − 1 f i x i {f} = \sum\nolimits_{i = 0}^{N - 1} { {f_i}{x^i}} f=∑i=0N−1fixi 对任意正整数,令 [ k ] \left[ k \right] [k]代表集合 { 1 , ⋯ , k } \left\{ {1, \cdots ,k} \right\} { 1,⋯,k}。 Λ ⊥ \Lambda ^\perp Λ⊥:垂直符号, 指 0或空(NULL) 集合运算: A ∈ B A\in B A∈B,子集 A ⊂ B A \subset B A⊂B,包含 差集: A − B A-B A−B,密码学中常用 A \ B A\backslash B A\B形式,例如: Z m \ { 0 } \Z^m\backslash \{0\} Zm\{ 0},有限素域 G F ( p ) GF(p) GF(p)
Λ \Lambda Λ:格,
其他 Λ = L ( B ) \Lambda=\mathcal L(B) Λ=L(B),表示由基 B B B生成的格。 η ( Λ ) \eta(\Lambda) η(Λ),表示格中最短向量(或者满足条件的短向量)的范数。 Λ ⊥ ( T ) = { T x = 0 ( m o d q ) } , 也 写 成 Λ q ⊥ ( T ) \Lambda^\perp(T)=\{Tx=0 (\mod q)\},也写成\Lambda^\perp _q(T) Λ⊥(T)={ Tx=0(modq)},也写成Λq⊥(T) Λ u ⊥ ( T ) = { T x = u ( m o d q ) } = Λ q ⊥ ( T ) \Lambda^\perp_u(T)=\{Tx=u (\mod q)\}=\Lambda^\perp_q(T) Λu⊥(T)={ Tx=u(modq)}=Λq⊥(T) Λ ∗ \Lambda ^* Λ∗:对偶格黑体小写字母代表列向量,如向量 v \bold v v。
黑体大写字母代表矩阵,如矩阵 A \bold A A。内积inner product: < x , y > <\bold x,\bold y> <x,y>
对于任意的向量 v \bold v v,它的第 i i i个分量用 v i \bold v_i vi表示,它的范数为 ∥ v ∥ = ( ∣ v 1 ∣ p + ⋯ + ∣ v n ∣ p ) 1 / p \left\| \bold v \right\| = {({\left| { {v_1}} \right|^p} + \cdots + {\left| { {v_n}} \right|^p})^{1/p}} ∥v∥=(∣v1∣p+⋯+∣vn∣p)1/p,为了写作简便,当 p = 2 p=2 p=2 时,我们不写 p p p也就是说向量的欧几里得范数简记为 ∥ v ∥ \left\| \bold v \right\| ∥v∥。
令 a i \bold a_i ai表示矩阵的第个列向量,定义 ∥ A ∥ p = max i ( ∥ a i ∥ p ) {\left\| \bold A \right\|_p} = {\max _i}({\left\| { {\bold a_i}} \right\|_p}) ∥A∥p=maxi(∥ai∥p)。
s ⟵ $ D : x 在 分 布 D 上 选 择 。 s\stackrel{\$}{\longleftarrow}{\mathcal D}:x在分布{\mathcal D}上选择。 s⟵$D:x在分布D上选择。 s ⟵ $ S : 表 示 x 在 集 合 S 上 均 匀 随 机 选 择 。 s\stackrel{\$}{\longleftarrow}{\mathcal S}:表示x在集合{\mathcal S}上均匀随机选择。 s⟵$S:表示x在集合S上均匀随机选择。 也有用 s ← S s\leftarrow S s←S表示选取(或采样),或者 k ∈ R Z p ∗ k\in_RZ^*_p k∈RZp∗( R R R表示随机选取, ∗ * ∗表示正数。)统计距离Statistical distance:离散分布的统计距离,连续分布的统计距离
给定矩阵 B \bold B B, B ~ \tilde \bold B B~表示 B \bold B B的施密特正交变换, ∥ B ~ ∥ \left\| {\tilde \bold B} \right\| ∥∥∥B~∥∥∥表示其范数。
向量的范数:
1-范数:向量元素绝对值之和, ∥ x ∥ 1 = ∑ i = 1 N ∣ x i ∣ {\left\| {\bold x} \right\|_1} = \sum\limits_{i = 1}^N {\left| { {x_i}} \right|} ∥x∥1=i=1∑N∣xi∣ 2-范数(又称Euclid范数,欧几里得范数):向量元素绝对值的平方和再开方,表示向量的长度, ∥ X ∥ 2 = ∑ i = 1 N x i 2 {\left\| X \right\|_2} = \sqrt {\sum\limits_{i = 1}^N { {x_i}^2} } ∥X∥2=i=1∑Nxi2 无穷范数,所有向量元素绝对值中的最大值, ∥ X ∥ ∞ = max i ∣ x i ∣ {\left\| X \right\|_\infty } = \mathop {\max }\limits_i \left| { {x_i}} \right| ∥X∥∞=imax∣xi∣矩阵的范数
1-范数:列和范数,即所有矩阵列向量绝对值之和的最大值, ∥ A ∥ 1 = max j ∑ i = 1 m ∣ a i , j ∣ {\left\| A \right\|_1} = \mathop {\max }\limits_j \sum\limits_{i = 1}^m {\left| { {a_{i,j}}} \right|} ∥A∥1=jmaxi=1∑m∣ai,j∣ 2-范数:谱范数,即 A ′ A A'A A′A矩阵的最大特征值的开平方, ∥ A ∥ 2 = λ 1 , λ 是 A T A 的 最 大 特 征 值 。 {\left\| A \right\|_2} = \sqrt { {\lambda _1}} ,\lambda是{ {A}^{T}}A的最大特征值。 ∥A∥2=λ1,λ是ATA的最大特征值。 ∞ ∞ ∞范数:行和范数,即所有矩阵行向量绝对值之和的最大值 ∥ A ∥ ∞ = max i ∑ j = 1 m ∣ a i , j ∣ {\left\| A \right\|_∞} = \mathop {\max }\limits_i \sum\limits_{j = 1}^m {\left| { {a_{i,j}}} \right|} ∥A∥∞=imaxj=1∑m∣ai,j∣We use the standard asymptotic notation f = O ( g ) f = O(g) f=O(g) (or g = Ω ( f ) g = Ω(f) g=Ω(f)) when lim s u p n → ∞ ∣ f ( n ) / g ( n ) ∣ < ∞ \lim sup_{n→∞} |f(n)/g(n)| < ∞ limsupn→∞∣f(n)/g(n)∣<∞
f = o ( g ) f = o(g) f=o(g) (or g = ω ( f ) g = ω(f) g=ω(f)) when l i m n → ∞ ∣ f ( n ) / g ( n ) ∣ = 0 lim_{n\rightarrow ∞} |f(n)/g(n)| = 0 limn→∞∣f(n)/g(n)∣=0, and f = Θ ( g ) f = Θ(g) f=Θ(g) when f = O ( g ) f = O(g) f=O(g) and f = Ω ( g ) f = Ω(g) f=Ω(g).渐进符号:设函数 f ( n ) , g ( n ) f(n) , g(n) f(n),g(n)均为 N → R + \N \rightarrow \R^{+} N→R+的函数,约定符号:
(1)若 l i m f ( n ) / g ( n ) ≠ ∞ lim f (n)/g(n)\ne \infty limf(n)/g(n)=∞,则称函数 g ( n ) g (n) g(n)为函数 f ( n ) f (n) f(n)的一个渐进上界,记作 f ( n ) = O ( g ( n ) ) f (n)=O(g(n)) f(n)=O(g(n))。 (2)若 l i m f ( n ) / g ( n ) ≠ 0 lim f (n)/g(n)\ne 0 limf(n)/g(n)=0,则称函数 g ( n ) g (n) g(n)为函数 f ( n ) f (n) f(n)的一个渐进下界,记作 f ( n ) = Ω ( g ( n ) ) f (n)=\Omega (g(n)) f(n)=Ω(g(n))。 (3)若 l i m f ( n ) / g ( n ) = ∞ lim f (n)/g(n)=\infty limf(n)/g(n)=∞,则称函数 f ( n ) f (n) f(n)是关于函数 g ( n ) g (n) g(n)的无穷大量,记作 f ( n ) = ω ( g ( n ) ) f (n)=\omega (g(n)) f(n)=ω(g(n))。对任意字符串 s s s和 t t t(在不致引起混滑的情况下,我们有时也把向量看做字符串), ∣ s ∣ |s| ∣s∣表示的比特
长度, s ∣ ∣ t s||t s∣∣t表示两个字符串的级联, s ⊕ t s\oplus t s⊕t代表它们的 X O R XOR XOR操作。 对于实数 x x x, ∣ x ∣ |x| ∣x∣表示 x x x的绝对值。施密特正交
可忽略函数:可忽略: n e g l ( n ) negl(n) negl(n),压倒性优势: 1 − n g e l ( n ) 1-ngel(n) 1−ngel(n)PS:注意利用概率总和为1进行公式变换。 统计距离:两个分布的距离。加密参数:For a cryptographic signature scheme, λ \lambda λ denotes its security level and q s q_s qs the maximal number of signature queries which may be made. Following the assumptions of [NIS16],we suppose that q s ≤ 2 64 q_s \le 2^{64} qs≤264.
矩阵,向量,维度:Matrices will usually be in bold uppercase (e.g. B \bold B B), vectors in bold lowercase (e.g. v \bold v v) and scalars – which include polynomials – in italic (e.g. s s s). We use the row convention for vectors.
The transpose of a matrix B may be noted B t \bold B^t Bt. It is to be noted that for a polynomial f f f, we do not use f ′ f^{'} f′ to denote its derivative in this document.商环:For q ∈ N ∗ q \in N^* q∈N∗, we denote by Z q \Z_q Zq the quotient ring Z / q Z \Z/q\Z Z/qZ; in Falcon, q = 12289 q = 12289 q=12289 is prime so Z q \Z_q Zq becomes a finite field.
We also denote by Z q × \Z^×_q Zq× the group of invertible elements of Z q \Z_q Zq, and by φ φ φ Euler’s totient function: φ ( q ) = ∣ Z q × ∣ = q − 1 φ(q) =|\Z^×_q|=q-1 φ(q)=∣Zq×∣=q−1 since q q q is prime.数域:
内积:
Ring Lattice环格:
离散高斯:For σ , μ ∈ R \sigma,μ \in \R σ,μ∈R with σ > 0 \sigma>0 σ>0, we define the Gaussian function ρ μ , σ \rho_{\mu,\sigma} ρμ,σ as ρ μ , σ ( x ) = e x p ( − ∣ x − μ ∣ 2 / 2 σ 2 ) \rho_{\mu,\sigma} (x) =exp(−|x − μ|^2/2\sigma^2) ρμ,σ(x)=exp(−∣x−μ∣2/2σ2), and the discrete Gaussian distribution D Z , σ , μ D_{\Z,\sigma,μ} DZ,σ,μ over the integers as
D Z , σ , μ ( x ) = ρ μ , σ ( x ) ∑ z ∈ Z ρ σ , μ ( z ) D_{\Z,\sigma,μ}(x)=\frac{\rho_{\mu,\sigma} (x)}{\sum\nolimits_{ {z} \in \Z} { {\rho _{\sigma ,\mu }}(z)} } DZ,σ,μ(x)=∑z∈Zρσ,μ(z)ρμ,σ(x) The parameter μ μ μ may be omitted when it is equal to zero.域范数Filed Norm:
施密特正交:Any matrix B ∈ Q n × m B \in {\mathcal Q}^{n×m} B∈Qn×m can be decomposed as follows:
B = L × B ~ , B = L × {\tilde B}, B=L×B~, where L L L is lower triangular with 1’s on the diagonal, and the rows b ~ i \tilde b_i b~i’s of B ~ \tilde B B~ verify b i b j ⋆ = 0 b_ib^⋆_j = 0 bibj⋆=0 for i ≠ j i \ne j i=j. When B B B is full-rank , this decomposition is unique, and it is called the Gram-Schmidt orthogonalization (or GSO). We will also call Gram-Schmidt norm of Bthe following value: ∥ B ∥ G S = max b ~ ∈ B ~ ∥ b ~ i ∥ ∥B∥_{GS} = \mathop {\max }\limits_{\bold {\tilde b} \in \bold {\tilde B}} \left\| { { {\bold {\tilde b}}_i}} \right\| ∥B∥GS=b~∈B~max∥∥∥b~i∥∥∥参考
Generalized compact knapsacks, cyclic lattices, and efficient one-way functions
田苗苗. 基于格的数字签名方案研究[D].中国科学技术大学,2014.
转载地址:http://ljtzi.baihongyu.com/