1228eb1992e85315bad7bfc0de613460bb0226c5
[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 \definecolor{green}{RGB}{32,113,10}
45 \definecolor{orange}{RGB}{251,111,16}
46 \definecolor{red}{RGB}{247,56,0}
47 \definecolor{blue}{RGB}{0,28,128}
48
49 \bibliographystyle{plain}
50
51
52 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
53 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
54 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
55 \definecolor{lightlightgray}{gray}{0.9}
56
57 \lstset{
58 language=Bash,                             % Code langugage
59 basicstyle=\ttfamily,                   % Code font, Examples: \footnotesize, \ttfamily
60 keywordstyle=\color{OliveGreen},        % Keywords font ('*' = uppercase)
61 commentstyle=\color{gray},              % Comments font
62 %numbers=left,                           % Line nums position
63 %numberstyle=\tiny,                      % Line-numbers fonts
64 %stepnumber=1,                           % Step between two line-numbers
65 %numbersep=5pt,                          % How far are line-numbers from code
66 backgroundcolor=\color{lightlightgray}, % Choose background color
67 frame=none,                             % A frame around the code
68 tabsize=2,                              % Default tab size
69 captionpos=b,                           % Caption-position = bottom
70 breaklines=true,                        % Automatic line breaking?
71 breakatwhitespace=false,                % Automatic breaks only at whitespace?
72 showspaces=false,                       % Dont make spaces visible
73 showtabs=false,                         % Dont make tabls visible
74 columns=fixed,                          % Column format
75 morekeywords={__global__, __device__},  % 
76 }
77
78
79 %% \todo{} command.
80 %
81 % Outputs red TODOs in the document. Requires \usepackage{color}.
82 %
83 % Usage: \todo{Document the TODO command.}
84 %
85 % Comment out second line to disable.
86 \newcommand{\todo}[1]{}
87 \renewcommand{\todo}[1]{{\color{red} TODO: {#1}}}
88
89
90
91 %%% Custom sectioning (sectsty package)
92 \usepackage{sectsty}                                                                                                    % Custom sectioning (see below)
93 \allsectionsfont{%                                                                                                                      % Change font of al section commands
94         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
95         }
96
97 \sectionfont{%                                                                                                                          % Change font of \section command
98         \usefont{OT1}{phv}{b}{n}%                                                                               % bch-b-n: CharterBT-Bold font
99         }
100
101 % use more of the page
102 \usepackage{fullpage}
103
104 %%% Headers and footers
105 \usepackage{fancyhdr}                                                                                           % Needed to define custom headers/footers
106         \pagestyle{fancy}                                                                                                               % Enabling the custom headers/footers
107 \usepackage{lastpage}   
108
109 % Header (empty)
110 \lhead{}
111 \chead{}
112 \rhead{}
113 % Footer (you may change this to your own needs)
114 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft}
115 \cfoot{}
116 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}}      % "Page 1 of 2"
117 \renewcommand{\headrulewidth}{0.0pt}
118 \renewcommand{\footrulewidth}{0.4pt}
119
120
121
122 %%% Creating an initial of the very first character of the content
123 \usepackage{lettrine}
124 \newcommand{\initial}[1]{%
125      \lettrine[lines=3,lhang=0.3,nindent=0em]{
126                                 \color{DarkGoldenrod}
127                                 {\textsf{#1}}}{}}
128
129
130
131 %%% Title, author and date metadata
132 \usepackage{titling}                                                                                                                    % For custom titles
133
134 \newcommand{\HorRule}{\color{DarkGoldenrod}%                    % Creating a horizontal rule
135                                                                                 \rule{\linewidth}{1pt}%
136                                                                                 }
137
138 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule 
139                                 \fontsize{36}{36} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont 
140                                 }
141 \title{Applied Crypto Hardening}
142 \posttitle{\par\end{flushleft}\vskip 0.5em}
143
144 \preauthor{\begin{flushleft}
145                                         \large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}
146
147                                         \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
148                                         Kaplan, Christian Mock, Manuel Koschuch, Adi
149                                 Kriegisch, Ramin Sabet, Aaron Zauner, Pepi Zawodsky}
150 %\institute{
151 %FH Campus Wien
152 %\and
153 %VRVis
154 %\and
155 %CERT.at
156 %\and
157 %Karlsruhe Institute of Technology
158 %}
159
160
161 \setlength{\parindent}{0cm}
162
163 \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black} 
164 \\ \vskip 0.5em  (University of Vienna, CERT.be, KIT-CERT, CERT.at, coretec.at, FH Campus Wien, VRVis, A-Trust, azet.org, maclemon.at)
165                                         \par\end{flushleft}\HorRule}
166
167 \date{\today}
168
169
170
171 %%% Begin document
172 \begin{document}
173 \maketitle
174 \thispagestyle{fancy}                   % Enabling the custom headers/footers for the first page 
175 % The first character should be within \initial{}
176 %\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.}
177
178 \input{abstract}
179 \newpage
180 \tableofcontents
181 \newpage
182 \input{disclaimer}
183 \input{motivation}
184 \input{methods}
185 \input{PKIs}
186 \input{ECC}
187 \input{keylengths}
188 \input{RNGs}
189 \input{cipher_suites}
190 \input{practical_settings}
191 \input{tools}
192 \input{further_research}
193 \input{links}
194 \input{suggested_reading}
195 \input{reviewers}
196
197 \bibliography{applied-crypto-hardening}
198
199 \end{document}