-
Notifications
You must be signed in to change notification settings - Fork 0
/
STATeOfTHeARtSmardCardsCryptology.tex
executable file
·158 lines (125 loc) · 4.25 KB
/
STATeOfTHeARtSmardCardsCryptology.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
\documentclass[a4paper]{report}
\author{David Gueguen}
\title{Cryptology in smart cards:\\
implementations, threats and counter-measures.\\
Symmetrical \& Asymetrical algs\\
}
\usepackage[pdfauthor={David Gueguen},pdftitle={STATeOfTHeARtSmardCardsCryptology},pagebackref,pdftex]{hyperref}
\hypersetup{colorlinks,
citecolor=red, filecolor=black,
linkcolor=black, urlcolor=blue }
%dimension of the sheet
\usepackage[a4paper, no foot,hmargin=1.5cm, vmargin=1.5cm,
left=1.4cm, right=1.4cm ]
{geometry}
%packages
\usepackage[latin1]{inputenc}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{mathrsfs, amssymb, bbm, amssymb}
\usepackage{amsmath, amsthm, amsfonts, latexsym, stmaryrd}
\usepackage{marvosym}%symbol mail
%algo package old but flexible
\usepackage{epsfig}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\addtocounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\setlength{\parskip}{1em}
\setlength\parindent{20pt} % globally suppress indentation
\medskip %setup space between pararaph
%to index
\usepackage{makeidx}
\makeindex
% Symbols rip, etc -template matrix-
%\usepackage{mathabx}
% allow to use \citeauthor
%\usepackage[numbers,sort]{natbib}
\usepackage{natbib}
%\bibliographystyle{alpha}
%\bibliographystyle{apalike} moche
\bibliographystyle{plainnat}
%\bibliographystyle{abstract}
%\bibliographystyle{plainnat}%isbn et doi
% allow to use \citeauthor
%\usepackage[numbers,sort]{natbib}
% Tables
\usepackage{colortbl}
\usepackage{tabularx}
\usepackage{supertabular}
\usepackage{multirow}
\usepackage{relsize}
\usepackage{longtable}
%theorme package
\usepackage{amsthm}
\usepackage{mathrsfs}
% Landscape pages
\usepackage{pdflscape}
\usepackage{pdfpages}
%Footnote for array (to place after the colour package)
\usepackage{footnote}
\usepackage{natbib}
%\usepackage[sort&compress]{natbib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\bld}[1]{
\mbox{\boldmath $#1$}
}
\renewcommand{\thechapter}{
\Roman{chapter}
}
\newcommand{\bigO}[1]{
\ensuremath{\mathop{}\mathopen{}\mathcal{O}\mathopen{}\left(#1\right)}
}
%\newcommand{\smallO}[1]{
% \ensuremath{\mathop{}
% \mathopen{{\scriptstyle\mathcal{O}}\mathopen{}\left(#1\right)}}
% asterisc allow unumbered theorem
\newcommand{\defi}[1]{ \textbf{Definition : #1 }}
%% add this
\let\oldUrl\url\renewcommand{\url}[1]{\href{#1}{$\mathscr{L}$ink}}
\newcommand{\urlloki}[1]{
\href{https://choucroutage.com/Papers/SideChannelAttacks/#1}
{\raggedleft \color{blue}$\mathscr{L}ink$\color{black} \raggedright } }
\newcommand{\lokiquote}[1]{
\cite{#1}, \urlloki{#1.pdf}
}
\theoremstyle{definition}
\newtheorem*{mydef}{Definition}
\theoremstyle{plain}
\newtheorem*{mythm}{Theorem}
\theoremstyle{plain}
\newtheorem*{myprop}{Proposition}
\theoremstyle{plain}
%%\newtheorem{lem}[thm]{Lemma}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\input{tex/Objective.tex}
\chapter{Symmetric encryption}
\input{tex/SymmetricalIntro.tex}
\input{tex/SymmetricalImplementationDES.tex}
\input{tex/SymmetricalLeak.tex}
\input{tex/SymmetricalTransformedDES.tex}
\input{tex/PhysicalAttacksIntro.tex}
\input{tex/PhysicalAttacksDPA.tex}
\input{tex/PhysicalAttacksHODPA.tex}
\chapter{Asymmetric encryption}
\input{tex/AsymmetricalIntro.tex}
\input{tex/AsymmetricalImplementation.tex}
\input{tex/ImplementationRepresentation.tex}
\input{tex/ImplementationMultiplication.tex}
\input{tex/ImplementationSquarring.tex}
\input{tex/ImplementationReduction.tex}
\input{tex/ImplementationExponentiation.tex}
\input{tex/ImplementationAdditionChain.tex}
\input{tex/AsymmetricalThreatsSC.tex}
\input{tex/AsymmetricalThreatsFI.tex}
\input{tex/AsymmetricalThreatsCM.tex}
\chapter{About template attacks}
\input{tex/AboutTemplate.tex}
\chapter{Latex definition \& tricks}
\input{tex/megabib}
\input{tex/latextricks}
\bibliography{bibliographie}
\printindex
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%