Some crypto macros
This commit is contained in:
parent
9a1d9db1b7
commit
6796994195
@ -1,4 +1,4 @@
|
||||
\usepackage[asymptotics,mm]{cryptocode}
|
||||
\usepackage[asymptotics,mm,notions,adversary]{cryptocode}
|
||||
% Layout
|
||||
\newcommand{\scbf}[1]{\noindent\textbf{\textsc{#1}}}
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
\newcommand{\redto}{\ensuremath{\preceq_P}}
|
||||
%% Primitives
|
||||
\newcommand{\NIZK}{\textsf{NIZK}\xspace}
|
||||
\newcommand{\PKE}{\textsf{PKE}\xspace}
|
||||
|
||||
% Assumptions/Problems
|
||||
%% Pairings
|
||||
@ -27,6 +28,9 @@
|
||||
%% Models
|
||||
\newcommand{\UC}{\textrm{UC}\xspace}
|
||||
\newcommand{\ROM}{\textsf{ROM}\xspace}
|
||||
%% Experience/Games
|
||||
\newcommand{\Exp}[2]{\ensuremath{\mathsf{Exp}^{#1}_{#2}}\xspace}
|
||||
\newcommand{\advantage}[2]{\ensuremath{\mathrm{Advt}^{#1}_{#2}}\xspace}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user