1 %%% LaTeX Template: Two column article
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
8 \documentclass[ DIV=calc,%
11 %onecolumn]{scrartcl} % KOMA-article class
12 onecolumn]{scrreprt} % KOMA-article class
13 %onecolumn]{report} % KOMA-article class
15 \usepackage{lipsum} % Package to create dummy text
19 \usepackage[english]{babel} % English language/hyphenation
20 \usepackage[protrusion=true,expansion=true]{microtype} % Better typography
21 \usepackage{amsmath,amsfonts,amsthm} % Math packages
22 \usepackage[pdftex]{graphicx} % Enable pdflatex
23 %\usepackage[svgnames]{xcolor} % Enabling colors by their 'svgnames'
24 \usepackage[hang, small,labelfont=bf,up,textfont=it,up]{caption} % Custom captions under/above floats
25 \usepackage{epstopdf} % Converts .eps to .pdf
26 \usepackage{subfig} % Subfigures
27 \usepackage{booktabs} % Nicer tables
28 \usepackage{fix-cm} % Custom fontsizes
30 \usepackage[usenames,dvipsnames]{color}
38 \usepackage{longtable}
42 % \epigraphsize{\small}% Default
43 \setlength\epigraphwidth{8cm}
44 \setlength\epigraphrule{0pt}
47 \patchcmd{\epigraph}{\@epitext{#1}}{\itshape\@epitext{#1}}{}{}
55 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
57 \usepackage{draftwatermark}
61 \renewcommand{\arraystretch}{1.25}
65 %\usepackage{tcolorbox}
66 \newenvironment{WrapText}[1][r]
67 {\wrapfigure{#1}{0.5\textwidth}\tcolorbox}
68 {\endtcolorbox\endwrapfigure}
72 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
73 \newcommand{\no}{\textcolor{red}{\ding{55}}}
78 \renewcommand{\arraystretch}{1.25}
80 \definecolor{green}{RGB}{32,113,10}
81 \definecolor{orange}{RGB}{251,111,16}
82 \definecolor{red}{RGB}{247,56,0}
83 \definecolor{blue}{RGB}{0,28,128}
84 \definecolor{lightgreen}{RGB}{187,218,216}
85 \definecolor{intersectgreen}{RGB}{103,133,155}
86 \definecolor{darkblue}{RGB}{76,87,117}
88 \bibliographystyle{alphalink}
90 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
91 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
92 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
93 \definecolor{lightlightgray}{gray}{0.9}
96 %\allsectionsfont{\color{darkblue}\itshape\underline}
97 %\sectionfont{\color{darkblue}\itshape\selectfont}
98 %\subsectionfont{\color{darkblue}\itshape\selectfont}
99 \renewcommand*\sectfont{\sffamily\color{darkblue}\mdseries}
100 %\renewcommand*\sectfont{\rmfamily\mdseries\itshape}
103 % makes default font sans-serif
104 \renewcommand{\familydefault}{\sfdefault}
106 % make font Open Sans
107 % \usepackage{opensans}
108 \usepackage[defaultsans]{opensans}
110 % changes font encoding to T1
111 % \usepackage[T1]{fontenc}
112 % \usepackage{textcomp}
115 %language=Bash, % Code langugage
116 basicstyle=\ttfamily, % Code font, Examples: \footnotesize, \ttfamily
117 keywordstyle=\color{OliveGreen}, % Keywords font ('*' = uppercase)
118 commentstyle=\color{gray}, % Comments font
119 %numbers=left, % Line nums position
120 %numberstyle=\tiny, % Line-numbers fonts
121 %stepnumber=1, % Step between two line-numbers
122 %numbersep=5pt, % How far are line-numbers from code
123 backgroundcolor=\color{lightlightgray}, % Choose background color
124 frame=none, % A frame around the code
125 tabsize=2, % Default tab size
126 captionpos=b, % Caption-position = bottom
127 breaklines=true, % Automatic line breaking?
128 breakatwhitespace=false, % Automatic breaks only at whitespace?
129 showspaces=false, % Dont make spaces visible
130 showtabs=false, % Dont make tabls visible
131 columns=fixed, % Column format
132 morekeywords={__global__, __device__}, %
138 % Outputs red TODOs in the document. Requires \usepackage{color}.
140 % Usage: \todo{Document the TODO command.}
142 % Comment out second line to disable.
143 \newcommand{\todo}[1]{}
144 \renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
147 %%% Custom sectioning (sectsty package)
148 \usepackage{sectsty} % Custom sectioning (see below)
149 \allsectionsfont{% % Change font of al section commands
150 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
153 \sectionfont{% % Change font of \section command
154 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
157 % use more of the page
158 \usepackage{fullpage}
160 %%% Headers and footers
161 \usepackage{fancyhdr} % Needed to define custom headers/footers
162 \pagestyle{fancy} % Enabling the custom headers/footers
163 \usepackage{lastpage}
169 % Footer (you may change this to your own needs)
170 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}
172 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}} % "Page 1 of 2"
173 \renewcommand{\headrulewidth}{0.0pt}
174 \renewcommand{\footrulewidth}{0.4pt}
178 %%% Creating an initial of the very first character of the content
179 \usepackage{lettrine}
180 \newcommand{\initial}[1]{%
181 \lettrine[lines=3,lhang=0.3,nindent=0em]{
187 %%% Title, author and date metadata
188 \usepackage{titling} % For custom titles
190 \newcommand{\HorRule}{\color{darkblue}% % Creating a horizontal rule
191 \rule{\linewidth}{1pt}%
195 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule
196 \fontsize{36}{36} \color{darkblue} \selectfont
198 \title{Applied Crypto Hardening}% \\ \vskip 0.5em \large www.bettercrypto.org}
199 \posttitle{\par\end{flushleft}\vskip 0.5em}
201 \preauthor{\begin{flushleft}
202 \large \lineskip 0.5em \color{intersectgreen}}
204 \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
205 Kaplan, Florian Mendel, Christian Mock, Manuel Koschuch, Adi
206 Kriegisch, Ulrich P\"oschl, Ramin Sabet, Berg San, Ralf Schlatterbeck,
207 Thomas Schreck, Aaron Zauner, Pepi Zawodsky}
215 %Karlsruhe Institute of Technology
219 \setlength{\parindent}{0cm}
221 \postauthor{\footnotesize \color{Black}
222 \\ \vskip 0.5em (University of Vienna, CERT.be, KIT-CERT, CERT.at, IAIK, coretec.at, FH Campus Wien, VRVis, MilCERT Austria, A-Trust, , Runtux.com, Friedrich-Alexander University Erlangen-Nuremberg, azet.org, maclemon.at)
223 \par\end{flushleft}\HorRule}
227 % hyperref needs to be the last package you load.
228 \usepackage[pdftex,breaklinks,colorlinks,linkcolor=darkblue,citecolor=blue,urlcolor=blue]{hyperref}
235 \thispagestyle{fancy} % Enabling the custom headers/footers for the first page
236 % The first character should be within \initial{}
237 %\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.}
240 \input{acknowledgements}
243 \chapter{Introduction}
244 \label{chapter:Intro}
245 \input{whoshouldread}
246 \input{related_publications}
252 \chapter{Practical recommendations}
253 \label{chapter:PracticalSettings}
254 \input{practical_settings}
257 %\epigraph{``Number theorists are like lotus-eaters - having tasted this food they can never give it up.''}{-- Leopold Kronecker}
258 \label{chapter:Theory}
263 \input{suggested_reading}
264 \input{cipher_suite_names}
265 \input{further_research}