diff --git a/macros.tex b/macros.tex index 517f161..93889e6 100644 --- a/macros.tex +++ b/macros.tex @@ -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}