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}}{}{}
56 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
58 \usepackage{draftwatermark}
62 \renewcommand{\arraystretch}{1.25}
66 %\usepackage{tcolorbox}
67 \newenvironment{WrapText}[1][r]
68 {\wrapfigure{#1}{0.5\textwidth}\tcolorbox}
69 {\endtcolorbox\endwrapfigure}
73 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
74 \newcommand{\no}{\textcolor{red}{\ding{55}}}
79 \renewcommand{\arraystretch}{1.25}
81 \definecolor{green}{RGB}{32,113,10}
82 \definecolor{orange}{RGB}{251,111,16}
83 \definecolor{red}{RGB}{247,56,0}
84 \definecolor{blue}{RGB}{0,28,128}
86 \bibliographystyle{alphalink}
88 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
89 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
90 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
91 \definecolor{lightlightgray}{gray}{0.9}
94 %language=Bash, % Code langugage
95 basicstyle=\ttfamily, % Code font, Examples: \footnotesize, \ttfamily
96 keywordstyle=\color{OliveGreen}, % Keywords font ('*' = uppercase)
97 commentstyle=\color{gray}, % Comments font
98 %numbers=left, % Line nums position
99 %numberstyle=\tiny, % Line-numbers fonts
100 %stepnumber=1, % Step between two line-numbers
101 %numbersep=5pt, % How far are line-numbers from code
102 backgroundcolor=\color{lightlightgray}, % Choose background color
103 frame=none, % A frame around the code
104 tabsize=2, % Default tab size
105 captionpos=b, % Caption-position = bottom
106 breaklines=true, % Automatic line breaking?
107 breakatwhitespace=false, % Automatic breaks only at whitespace?
108 showspaces=false, % Dont make spaces visible
109 showtabs=false, % Dont make tabls visible
110 columns=fixed, % Column format
111 morekeywords={__global__, __device__}, %
117 % Outputs red TODOs in the document. Requires \usepackage{color}.
119 % Usage: \todo{Document the TODO command.}
121 % Comment out second line to disable.
122 \newcommand{\todo}[1]{}
123 \renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
126 %%% Custom sectioning (sectsty package)
127 \usepackage{sectsty} % Custom sectioning (see below)
128 \allsectionsfont{% % Change font of al section commands
129 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
132 \sectionfont{% % Change font of \section command
133 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
136 % use more of the page
137 \usepackage{fullpage}
139 %%% Headers and footers
140 \usepackage{fancyhdr} % Needed to define custom headers/footers
141 \pagestyle{fancy} % Enabling the custom headers/footers
142 \usepackage{lastpage}
148 % Footer (you may change this to your own needs)
149 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}
151 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}} % "Page 1 of 2"
152 \renewcommand{\headrulewidth}{0.0pt}
153 \renewcommand{\footrulewidth}{0.4pt}
157 %%% Creating an initial of the very first character of the content
158 \usepackage{lettrine}
159 \newcommand{\initial}[1]{%
160 \lettrine[lines=3,lhang=0.3,nindent=0em]{
161 \color{DarkGoldenrod}
166 %%% Title, author and date metadata
167 \usepackage{titling} % For custom titles
169 \newcommand{\HorRule}{\color{DarkGoldenrod}% % Creating a horizontal rule
170 \rule{\linewidth}{1pt}%
173 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule
174 \fontsize{36}{36} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont
176 \title{Applied Crypto Hardening}% \\ \vskip 0.5em \large www.bettercrypto.org}
177 \posttitle{\par\end{flushleft}\vskip 0.5em}
179 \preauthor{\begin{flushleft}
180 \large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}
182 \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
183 Kaplan, Florian Mendel, Christian Mock, Manuel Koschuch, Adi
184 Kriegisch, Ulrich P\"oschl, Ramin Sabet, Berg San, Ralf Schlatterbeck,
185 Thomas Schreck, Aaron Zauner, Pepi Zawodsky}
193 %Karlsruhe Institute of Technology
197 \setlength{\parindent}{0cm}
199 \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black}
200 \\ \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)
201 \par\end{flushleft}\HorRule}
205 % hyperref needs to be the last package you load.
206 \usepackage[pdftex,breaklinks,colorlinks,citecolor=blue,urlcolor=blue]{hyperref}
213 \thispagestyle{fancy} % Enabling the custom headers/footers for the first page
214 % The first character should be within \initial{}
215 %\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.}
219 \chapter{Introduction}
220 \label{chapter:Intro}
226 \chapter{Practical recommendations}
227 \label{chapter:PracticalSettings}
228 \input{practical_settings}
231 \label{chapter:Theory}
238 \input{cipher_suites}
243 \input{suggested_reading}
244 \input{cipher_suite_names}
245 \input{further_research}
246 \input{acknowledgements}