-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrysymb.sty
43 lines (33 loc) · 1.03 KB
/
crysymb.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\NeedsTeXFormat{LaTeX2e}
% AMS packages
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\newcommand*{\getsu}{\gets_{\scriptscriptstyle \hspace*{-0.65em} u\hspace*{0.0em}}}
\newcommand*{\NN}{\mathbb{N}}
\newcommand*{\ZZ}{\mathbb{Z}}
\newcommand*{\RR}{\mathbb{R}}
\newcommand*{\GG}{\mathbb{G}}
\newcommand*{\PPP}{\mathcal{P}}
\newcommand*{\VVV}{\mathcal{V}}
\newcommand*{\KKK}{\mathcal{K}}
\newcommand*{\MMM}{\mathcal{M}}
\newcommand*{\CCC}{\mathcal{C}}
\newcommand*{\LLL}{\mathcal{L}}
\newcommand*{\RRR}{\mathcal{R}}
\newcommand*{\HHH}{\mathcal{H}}
\newcommand*{\Rel}{\mathcal{R}}
\newcommand*{\AD} {\mathcal{A}}
\newcommand*{\ADB}{\mathcal{B}}
\newcommand*{\ADC}{\mathcal{C}}
\newcommand*{\GAME} {\mathcal{G}}
\newcommand*{\BGAME}{\mathcal{Q}}
% Cryptosystems
\newcommand*{\GEN}{\mathsf{Gen}}
\newcommand*{\ENC}{\mathsf{Enc}}
\newcommand*{\DEC}{\mathsf{Dec}}
\newcommand*{\SIGN}{\mathsf{Sign}}
\newcommand*{\VERIF}{\mathsf{Ver}}
\newcommand*{\PK}{\mathsf{pk}}
\newcommand*{\SK}{\mathsf{sk}}
% Symbols
\newcommand*{\iseq}{\stackrel{?}{=}}