add macros
This commit is contained in:
10
macros.tex
10
macros.tex
@ -1,17 +1,18 @@
|
||||
\usepackage{cryptocode}
|
||||
\usepackage{complexity}
|
||||
\usepackage[asymptotics,mm]{cryptocode}
|
||||
% Abbreviations
|
||||
%% Usual
|
||||
\newcommand{\PPT}{\textsf{PPT}\xspace}
|
||||
%% Algorithms
|
||||
\newcommand{\TrapGen}{\textsf{TrapGen}\xspace}
|
||||
\newcommand{\ExtBasis}{\textsf{ExtBasis}\xspace}
|
||||
\newcommand{\SampleR}{\textsf{SampleRight}\xspace}
|
||||
\newcommand{\SampleL}{\textsf{SampleLeft}\xspace}
|
||||
\newcommand{\GPVSample}{\textsf{GPVSample}\xspace}
|
||||
%% Complexity
|
||||
\newcommand{\NP}{\textsf{NP}\xspace}
|
||||
\newcommand{\redto}{\ensuremath{\preceq_P}}
|
||||
|
||||
% Assumptions/Problems
|
||||
%% Pairings
|
||||
\newcommand{\DLP}{\textsf{DLP}\xspace}
|
||||
\newcommand{\DDH}{\textsf{DDH}\xspace}
|
||||
\newcommand{\SXDH}{\textsf{SXDH}\xspace}
|
||||
%% Lattices
|
||||
@ -36,6 +37,7 @@
|
||||
\newcommand{\CC}{\xspace\ensuremath{\mathbb{C}}\xspace}
|
||||
\newcommand{\QQ}{\xspace\ensuremath{\mathbb{Q}}\xspace}
|
||||
\newcommand{\Zq}{\xspace\ensuremath{\mathbb{Z}_q}\xspace}
|
||||
\newcommand{\bit}{\xspace\ensuremath{\{0,1\}}\xspace}
|
||||
%% Pairings
|
||||
\newcommand{\Zp}{\xspace\ensuremath{\mathbb{Z}_p}\xspace}
|
||||
\newcommand{\GG}{\xspace\ensuremath{\mathbb{G}}\xspace}
|
||||
|
Reference in New Issue
Block a user