博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
杂-格上数字签名重要符号
阅读量:3958 次
发布时间:2019-05-24

本文共 8002 字,大约阅读时间需要 26 分钟。

目录

organization:特殊数、集合、运算关系、其他

汇总基础建议参考yuyu

(本文停止更新)

安全参数:正整数 n 或 λ n或\lambda nλ

正素数一般用 p p p, q q q
上确界supermum,最小上界 s u p sup sup


  1. 集合

Z \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[2q1,2q1]
Z q n : n 维 向 量 模 q 。 \Z _q^n:n维向量模q。 Zqn:nq Z q n × m : 一 组 n × m 的 矩 阵 , 其 元 素 在 Z q 上 。 \Z^{n\times m}_q:一组n\times m的矩阵,其元素在\Z_q上。 Zqn×m:n×mZq

商群 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:aG},即商群每个元素都是 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,aR}
因此,密码学中环则有: 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):aZ}
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=0N1fixi
对任意正整数,令 [ k ] \left[ k \right] [k]代表集合 { 1 , ⋯   , k } \left\{ {1, \cdots ,k} \right\} {
1,,k}
Λ ⊥ \Lambda ^\perp Λ:垂直符号, 指 0或空(NULL)
集合运算:
A ∈ B A\in B AB,子集
A ⊂ B A \subset B AB,包含
差集: A − B A-B AB,密码学中常用 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


  1. 运算

内积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=(v1p++vnp)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}) Ap=maxi(aip)
s ⟵ $ D : x 在 分 布 D 上 选 择 。 s\stackrel{\$}{\longleftarrow}{\mathcal D}:x在分布{\mathcal D}上选择。 s$D:xD s ⟵ $ S : 表 示 x 在 集 合 S 上 均 匀 随 机 选 择 。 s\stackrel{\$}{\longleftarrow}{\mathcal S}:表示x在集合{\mathcal S}上均匀随机选择。 s$S:xS
也有用 s ← S s\leftarrow S sS表示选取(或采样),或者 k ∈ R Z p ∗ k\in_RZ^*_p kRZp 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|}
    x1=i=1Nxi
    2-范数(又称Euclid范数,欧几里得范数):向量元素绝对值的平方和再开方,表示向量的长度, ∥ X ∥ 2 = ∑ i = 1 N x i 2 {\left\| X \right\|_2} = \sqrt {\sum\limits_{i = 1}^N {
    {x_i}^2} }
    X2=i=1Nxi2
    无穷范数,所有向量元素绝对值中的最大值, ∥ X ∥ ∞ = max ⁡ i ∣ x i ∣ {\left\| X \right\|_\infty } = \mathop {\max }\limits_i \left| {
    {x_i}} \right|
    X=imaxxi

  • 矩阵的范数

    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|}
    A1=jmaxi=1mai,j
    2-范数:谱范数,即 A ′ A A'A AA矩阵的最大特征值的开平方, ∥ A ∥ 2 = λ 1 , λ 是 A T A 的 最 大 特 征 值 。 {\left\| A \right\|_2} = \sqrt {
    {\lambda _1}} ,\lambda是{
    {A}^{T}}A的最大特征值。
    A2=λ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=1mai,j

  1. 关系

渐进

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)| < ∞ limsupnf(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 limnf(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^{+} NR+的函数,约定符号:

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


  1. 其他

其他-1

对任意字符串 s s s t t t(在不致引起混滑的情况下,我们有时也把向量看做字符串), ∣ s ∣ |s| s表示的比特

长度, s ∣ ∣ t s||t st表示两个字符串的级联, s ⊕ t s\oplus t st代表它们的 X O R XOR XOR操作。
对于实数 x x x ∣ x ∣ |x| x表示 x x x的绝对值。

其他-2

施密特正交

可忽略函数:可忽略: n e g l ( n ) negl(n) negl(n),压倒性优势: 1 − n g e l ( n ) 1-ngel(n) 1ngel(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} qs264.

矩阵,向量,维度: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^* qN, 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×=q1 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)=zZρσ,μ(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} BQn×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\|
BGS=b~B~maxb~i

参考


  1. Generalized compact knapsacks, cyclic lattices, and efficient one-way functions

  2. 田苗苗. 基于格的数字签名方案研究[D].中国科学技术大学,2014.

转载地址:http://ljtzi.baihongyu.com/

你可能感兴趣的文章
跨平台Java程序注意事项
查看>>
Python字符与数字的相互转换
查看>>
java 的一些知识
查看>>
C 指针解读
查看>>
有关乱码的处理---中国程序员永远无法避免的话题
查看>>
WEB互动的革命 - JSF框架中使用的设计模式介绍
查看>>
J2EE程序中的SQL语句自动构造方法讲解
查看>>
JSP的运行内幕
查看>>
完全优化MySQL数据库性能的八大巧方法
查看>>
白话诠释ERP
查看>>
反射在Java Swing事件处理中的应用
查看>>
15 hot programming trends -- and 15 going cold
查看>>
我最恐惧的事情是竞争力的丧失
查看>>
java Swing 自动视感包
查看>>
IT经理激励员工的101招
查看>>
服务好“最后一公里”,高效CDN架构经验
查看>>
一个软件开发培训学员的来信及回复
查看>>
马云的精辟语录
查看>>
每一位Android开发者应该知道的Android体系架构和开发库
查看>>
次级贷!
查看>>