88b75b1b2dd4a04bf9e5b03814465073aaecaee3
[ach-master.git] / src / applied-crypto-hardening.tex
1 %%% LaTeX Template: Two column article
2 %%%
3 %%% Source: http://www.howtotex.com/
4 %%% Feel free to distribute this template, but please keep to referal to http://www.howtotex.com/ here.
5 %%% Date: February 2011
6
7 %%% Preamble
8 \documentclass[ DIV=calc,%
9                                 paper=a4,%
10                                 fontsize=9pt,%
11                                 onecolumn]{scrartcl}                                            % KOMA-article class
12
13 \usepackage{lipsum}                                                                                                     % Package to create dummy text
14
15
16
17 \usepackage[english]{babel}                                                                             % English language/hyphenation
18 \usepackage[protrusion=true,expansion=true]{microtype}                          % Better typography
19 \usepackage{amsmath,amsfonts,amsthm}                                    % Math packages
20 \usepackage[pdftex]{graphicx}                                                                   % Enable pdflatex
21 %\usepackage[svgnames]{xcolor}                                                                  % Enabling colors by their 'svgnames'
22 \usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption}        % Custom captions under/above floats
23 \usepackage{epstopdf}                                                                                           % Converts .eps to .pdf
24 \usepackage{subfig}                                                                                                     % Subfigures
25 \usepackage{booktabs}                                                                                           % Nicer tables
26 \usepackage{fix-cm}                                                                                                     % Custom fontsizes
27
28 \usepackage[usenames,dvipsnames]{color}
29 \usepackage{float}
30 \usepackage{subfig}
31 %\usepackage{tikz}
32 \usepackage{acronym}
33 \usepackage{amsthm}
34 \usepackage{fancyvrb}
35 \usepackage{listings}
36
37
38 % custom changes:
39 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
40 \usepackage{placeins}
41 \usepackage{hyperref}
42 \usepackage{draftwatermark}
43
44 % Add text symbols
45 \usepackage{pifont}
46 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
47 \newcommand{\no}{\textcolor{red}{\ding{55}}}
48
49 % human tables
50 \usepackage{booktabs}
51 \renewcommand{\arraystretch}{1.25}
52
53 \definecolor{green}{RGB}{32,113,10}
54 \definecolor{orange}{RGB}{251,111,16}
55 \definecolor{red}{RGB}{247,56,0}
56 \definecolor{blue}{RGB}{0,28,128}
57
58 \bibliographystyle{plain}
59
60
61 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
62 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
63 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
64 \definecolor{lightlightgray}{gray}{0.9}
65
66 \lstset{
67 language=Bash,                             % Code langugage
68 basicstyle=\ttfamily,                   % Code font, Examples: \footnotesize, \ttfamily
69 keywordstyle=\color{OliveGreen},        % Keywords font ('*' = uppercase)
70 commentstyle=\color{gray},              % Comments font
71 %numbers=left,                           % Line nums position
72 %numberstyle=\tiny,                      % Line-numbers fonts
73 %stepnumber=1,                           % Step between two line-numbers
74 %numbersep=5pt,                          % How far are line-numbers from code
75 backgroundcolor=\color{lightlightgray}, % Choose background color
76 frame=none,                             % A frame around the code
77 tabsize=2,                              % Default tab size
78 captionpos=b,                           % Caption-position = bottom
79 breaklines=true,                        % Automatic line breaking?
80 breakatwhitespace=false,                % Automatic breaks only at whitespace?
81 showspaces=false,                       % Dont make spaces visible
82 showtabs=false,                         % Dont make tabls visible
83 columns=fixed,                          % Column format
84 morekeywords={__global__, __device__},  % 
85 }
86
87
88 %% \todo{} command.
89 %
90 % Outputs red TODOs in the document. Requires \usepackage{color}.
91 %
92 % Usage: \todo{Document the TODO command.}
93 %
94 % Comment out second line to disable.
95 \newcommand{\todo}[1]{}
96 \renewcommand{\todo}[1]{{\color{red} TODO: {#1}}}
97
98
99 %%% Custom sectioning (sectsty package)
100 \usepackage{sectsty}                                                                                                    % Custom sectioning (see below)
101 \allsectionsfont{%                                                                                                                      % Change font of al section commands
102         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
103         }
104
105 \sectionfont{%                                                                                                                          % Change font of \section command
106         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
107         }
108
109 % use more of the page
110 \usepackage{fullpage}
111
112 %%% Headers and footers
113 \usepackage{fancyhdr}                                                                                           % Needed to define custom headers/footers
114         \pagestyle{fancy}                                                                                                               % Enabling the custom headers/footers
115 \usepackage{lastpage}   
116
117 % Header (empty)
118 \lhead{}
119 \chead{}
120 \rhead{}
121 % Footer (you may change this to your own needs)
122 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft}
123 \cfoot{}
124 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}}      % "Page 1 of 2"
125 \renewcommand{\headrulewidth}{0.0pt}
126 \renewcommand{\footrulewidth}{0.4pt}
127
128
129
130 %%% Creating an initial of the very first character of the content
131 \usepackage{lettrine}
132 \newcommand{\initial}[1]{%
133      \lettrine[lines=3,lhang=0.3,nindent=0em]{
134                                 \color{DarkGoldenrod}
135                                 {\textsf{#1}}}{}}
136
137
138
139 %%% Title, author and date metadata
140 \usepackage{titling}                                                                                                                    % For custom titles
141
142 \newcommand{\HorRule}{\color{DarkGoldenrod}%                    % Creating a horizontal rule
143                                                                                 \rule{\linewidth}{1pt}%
144                                                                         }
145
146 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule 
147                                 \fontsize{36}{36} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont 
148                                 }
149                         \title{Applied Crypto Hardening}% \\ \vskip 0.5em \large www.bettercrypto.org}
150 \posttitle{\par\end{flushleft}\vskip 0.5em}
151
152 \preauthor{\begin{flushleft}
153                                         \large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}
154
155                                         \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
156                                         Kaplan, Christian Mock, Manuel Koschuch, Adi
157                                 Kriegisch, Ramin Sabet, Aaron Zauner, Pepi Zawodsky}
158 %\institute{
159 %FH Campus Wien
160 %\and
161 %VRVis
162 %\and
163 %CERT.at
164 %\and
165 %Karlsruhe Institute of Technology
166 %}
167
168
169 \setlength{\parindent}{0cm}
170
171 \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} 
172 \\ \vskip 0.5em  (University of Vienna, CERT.be, KIT-CERT, CERT.at, coretec.at, FH Campus Wien, VRVis, A-Trust, azet.org, maclemon.at)
173                                         \par\end{flushleft}\HorRule}
174
175 \date{\today}
176
177
178
179 %%% Begin document
180 \begin{document}
181 \maketitle
182 \thispagestyle{fancy}                   % Enabling the custom headers/footers for the first page 
183 % The first character should be within \initial{}
184 %\initial{H}\textbf{ere is some sample text to show the initial in the introductory paragraph of this template article. The color and lineheight of the initial can be modified in the preamble of this document.}
185
186 \input{abstract}
187 \newpage
188 \tableofcontents
189 \newpage
190 \input{disclaimer}
191 \input{motivation}
192 \input{methods}
193 \input{scope}
194 \input{PKIs}
195 \input{ECC}
196 \input{keylengths}
197 \input{RNGs}
198 \input{cipher_suites}
199 \input{practical_settings}
200 \input{tools}
201 \input{further_research}
202 \input{links}
203 \input{suggested_reading}
204 \input{reviewers}
205
206 \bibliography{applied-crypto-hardening}
207
208 \end{document}