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
13 \usepackage{lipsum} % Package to create dummy text
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
28 \usepackage[usenames,dvipsnames]{color}
40 \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
42 \usepackage{draftwatermark}
46 \renewcommand{\arraystretch}{1.25}
50 \usepackage{tcolorbox}
51 \newenvironment{WrapText}[1][r]
52 {\wrapfigure{#1}{0.5\textwidth}\tcolorbox}
53 {\endtcolorbox\endwrapfigure}
57 \newcommand{\yes}{\textcolor{green}{\ding{51}}}
58 \newcommand{\no}{\textcolor{red}{\ding{55}}}
63 \renewcommand{\arraystretch}{1.25}
65 \definecolor{green}{RGB}{32,113,10}
66 \definecolor{orange}{RGB}{251,111,16}
67 \definecolor{red}{RGB}{247,56,0}
68 \definecolor{blue}{RGB}{0,28,128}
70 \bibliographystyle{alphalink}
72 \definecolor{Brown}{cmyk}{0,0.81,1,0.60}
73 \definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
74 \definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
75 \definecolor{lightlightgray}{gray}{0.9}
78 language=Bash, % Code langugage
79 basicstyle=\ttfamily, % Code font, Examples: \footnotesize, \ttfamily
80 keywordstyle=\color{OliveGreen}, % Keywords font ('*' = uppercase)
81 commentstyle=\color{gray}, % Comments font
82 %numbers=left, % Line nums position
83 %numberstyle=\tiny, % Line-numbers fonts
84 %stepnumber=1, % Step between two line-numbers
85 %numbersep=5pt, % How far are line-numbers from code
86 backgroundcolor=\color{lightlightgray}, % Choose background color
87 frame=none, % A frame around the code
88 tabsize=2, % Default tab size
89 captionpos=b, % Caption-position = bottom
90 breaklines=true, % Automatic line breaking?
91 breakatwhitespace=false, % Automatic breaks only at whitespace?
92 showspaces=false, % Dont make spaces visible
93 showtabs=false, % Dont make tabls visible
94 columns=fixed, % Column format
95 morekeywords={__global__, __device__}, %
101 % Outputs red TODOs in the document. Requires \usepackage{color}.
103 % Usage: \todo{Document the TODO command.}
105 % Comment out second line to disable.
106 \newcommand{\todo}[1]{}
107 \renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
110 %%% Custom sectioning (sectsty package)
111 \usepackage{sectsty} % Custom sectioning (see below)
112 \allsectionsfont{% % Change font of al section commands
113 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
116 \sectionfont{% % Change font of \section command
117 \usefont{OT1}{phv}{b}{n}% % bch-b-n: CharterBT-Bold font
120 % use more of the page
121 \usepackage{fullpage}
123 %%% Headers and footers
124 \usepackage{fancyhdr} % Needed to define custom headers/footers
125 \pagestyle{fancy} % Enabling the custom headers/footers
126 \usepackage{lastpage}
132 % Footer (you may change this to your own needs)
133 \lfoot{\footnotesize Applied Crypto Hardening \textbullet ~Draft revision\gitVtags: \gitAbbrevHash{} (\gitCommitterIsoDate) \gitCommitterName}
135 \rfoot{\footnotesize page \thepage\ of \pageref{LastPage}} % "Page 1 of 2"
136 \renewcommand{\headrulewidth}{0.0pt}
137 \renewcommand{\footrulewidth}{0.4pt}
141 %%% Creating an initial of the very first character of the content
142 \usepackage{lettrine}
143 \newcommand{\initial}[1]{%
144 \lettrine[lines=3,lhang=0.3,nindent=0em]{
145 \color{DarkGoldenrod}
150 %%% Title, author and date metadata
151 \usepackage{titling} % For custom titles
153 \newcommand{\HorRule}{\color{DarkGoldenrod}% % Creating a horizontal rule
154 \rule{\linewidth}{1pt}%
157 \pretitle{\vspace{-30pt} \begin{flushleft} \HorRule
158 \fontsize{36}{36} \usefont{OT1}{phv}{b}{n} \color{DarkRed} \selectfont
160 \title{Applied Crypto Hardening}% \\ \vskip 0.5em \large www.bettercrypto.org}
161 \posttitle{\par\end{flushleft}\vskip 0.5em}
163 \preauthor{\begin{flushleft}
164 \large \lineskip 0.5em \usefont{OT1}{phv}{b}{sl} \color{DarkRed}}
166 \author{Wolfgang Breyha, David Durvaux, Tobias Dussa, L. Aaron
167 Kaplan, Christian Mock, Manuel Koschuch, Adi
168 Kriegisch, Ramin Sabet, Berg San, Ralf Schlatterbeck, Aaron Zauner, Pepi Zawodsky}
176 %Karlsruhe Institute of Technology
180 \setlength{\parindent}{0cm}
182 \postauthor{\footnotesize \usefont{OT1}{phv}{m}{sl} \color{Black}
183 \\ \vskip 0.5em (University of Vienna, CERT.be, KIT-CERT, CERT.at, coretec.at, FH Campus Wien, VRVis, A-Trust, Runtux.com, azet.org, maclemon.at)
184 \par\end{flushleft}\HorRule}
188 % hyperref needs to be the last package you load.
189 \usepackage[pdftex,breaklinks,colorlinks,citecolor=blue,urlcolor=blue]{hyperref}
195 \thispagestyle{fancy} % Enabling the custom headers/footers for the first page
196 % The first character should be within \initial{}
197 %\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.}
212 \input{cipher_suites}
214 \input{practical_settings}
216 \input{further_research}
218 \input{suggested_reading}
219 \input{acknowledgements}