question_authority.tex 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. \documentclass[12pt,a4paper,twoside]{thesis}
  2. %% PACKAGES
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[T1]{fontenc}
  5. \usepackage{algorithm}
  6. \usepackage[noend]{algpseudocode}
  7. \usepackage{amsmath}
  8. \usepackage{amsthm}
  9. \usepackage{amsfonts}
  10. \usepackage{amssymb}
  11. \usepackage{amsthm}
  12. \usepackage{bytefield}
  13. \usepackage{cancel}
  14. \usepackage[dvips]{color}
  15. \usepackage{enumerate}
  16. \usepackage{epigraph}
  17. \usepackage{fancyhdr}
  18. \usepackage{graphicx}
  19. \usepackage{hyperref}
  20. \usepackage{indentfirst}
  21. \usepackage{mathtools}
  22. \usepackage{minted}
  23. \usepackage{makeidx,shortvrb,latexsym}
  24. \usepackage{supertabular}
  25. \usepackage{tikz}
  26. %% setting epigraphs
  27. \renewcommand{\epigraphsize}{\small}
  28. \setlength{\epigraphwidth}{0.8\textwidth}
  29. \let\origepigraph\epigraph
  30. \renewcommand\epigraph[2]{\origepigraph{\textit{#1}}{\textsc{#2}}}
  31. %% bytefield shit
  32. \newcommand{\colorbitbox}[3]{%
  33. \rlap{\bitbox{#2}{\color{#1}\rule{\width}{\height}}}%
  34. \bitbox{#2}{#3}}
  35. %% COMMANDS
  36. \DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
  37. \DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
  38. \DeclarePairedDelimiter{\angular}{\langle}{\rangle}
  39. \newcommand{\naturalN}{\mathbb{N}}
  40. \newcommand{\naturalPrime}{\mathbb{P}}
  41. \newcommand{\integerZ}{\mathbb{Z}}
  42. \newcommand{\factorBase}{\mathcal{B}}
  43. \newcommand{\bigO}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
  44. \newcommand{\openssl}{\textsc{OpenSSL}\ }
  45. %% here adopting Wikipedia's notation <https://en.wikipedia.org/wiki/Isqrt>
  46. \newcommand{\dsqrt}[1]{\ensuremath{isqrt(#1)}}
  47. \newcommand{\idiv}{\ensuremath{//}}
  48. \newcommand{\strong}[1]{\textbf{#1}}
  49. \newcommand{\eulerphi}[1]{\varphi(#1)}
  50. \newcommand{\abs}[1]{\left|#1\right|}
  51. \newcommand{\rfrac}[2]{{}^{#1}\!/_{#2}}
  52. \newcommand{\getsRandom}{\xleftarrow{r}}
  53. \newcommand{\xor}{\oplus}
  54. \newcommand{\legendre}[2]{({#1}/{#2})}
  55. \newcommand{\PKArg}{${N, e}$}
  56. \theoremstyle{plain}
  57. \newtheorem*{theorem*}{Theorem}
  58. \newtheorem*{definition*}{Definition}
  59. \makeindex
  60. \let\origdoublepage\cleardoublepage
  61. \newcommand{\clearemptydoublepage}{%
  62. \clearpage
  63. {\pagestyle{empty}\origdoublepage}%
  64. }
  65. \let\cleardoublepage\clearemptydoublepage
  66. % Note that colour boxes around links are NOT printed.
  67. % The text itself can be coloured, replacing the bounding box, but
  68. % when printing this may appear illegible;
  69. % link colors can be set to black for printing purposes, like so:
  70. %\hypersetup{colorlinks,%
  71. % citecolor=black,%
  72. % filecolor=black,%
  73. % linkcolor=black,%
  74. % urlcolor=black}
  75. % Also note that this will conflict with the color package called
  76. % earlier in this document if that is not set to the right option (e.g.
  77. % dvips or pdflatex).
  78. \begin{document}
  79. %\phd %se e' la tesi di dottorato, altrimenti non mettere nulla
  80. \university{Universit\`a degli Studi di Trento}
  81. \faculty{Facolt\`a di Scienze Matematiche Fisiche e Naturali}
  82. \dept{Dipartimento di Scienze Informatiche}
  83. \Logo{logo_unitn.jpg}
  84. %% titolo del dottorato
  85. % \phdtitle{}
  86. %% titolo della tesi
  87. \title{Question Authority}
  88. \subtitle{An Inquiry into The Secure Layer}
  89. \author{Michele Orr\`u}
  90. \supervisor{Prof. Massimiliano Sala}
  91. %% Uncomment the following two lines if a co-relator is present.
  92. \twosupervisors
  93. \firstreader{Dott. Emanuele Bellini}
  94. % capo della scuola di dottorato o controrelatore
  95. \secondreader{Prof. Fabio Massacci}
  96. \accademico{Anno accademico $2012/2013$}
  97. \frontespizio % questo e` il frontespizio esterno, cioe' senza firme
  98. \cleardoublepage
  99. \signaturepage % questo e` il frontesizio interno con le firme
  100. %% DEDICA
  101. %non e' ovviamente obbligatoria
  102. \cleardoublepage \setcounter{page}{1} \pagenumbering{roman}
  103. \pagestyle{plain} \tableofcontents
  104. %\listoffigures
  105. %\addcontentsline{toc}{chapter}{Elenco delle figure}
  106. %\renewcommand{\listalgorithmname}{Elenco degli algoritmi}
  107. %\listofalgorithms
  108. %\addcontentsline{toc}{chapter}{Elenco degli algoritmi}
  109. %\addcontentsline{toc}{chapter}{Introduction}
  110. %% INTRODUCTION
  111. %\include{ack}
  112. %\addcontentsline{toc}{chapter}{Acknowledgment}
  113. %\cleardoublepage
  114. %\include{Introduction}
  115. %\addcontentsline{toc}{chapter}{Introduction}
  116. \cleardoublepage
  117. %% THESIS BODY
  118. \pagestyle{fancy} \pagenumbering{arabic} \mainmatter
  119. \vspace*{3in}
  120. \epigraph{
  121. Many persons who are not conversant with mathematical studies imagine that
  122. because the business of [Babbage's Analytical Engine] is to give results in
  123. numerical notation, the nature of the processes must consequently be
  124. arithmetical and numerical, rather than algebraical and analytical. This is an
  125. error. The engine can arrange and combine its numerical quantities exactly as if
  126. they were letters or any other general symbols; and in fact it might bring out
  127. its results in algebraical notation, were provisions made accordingly.}
  128. {Augusta Ada, Countess of Lovelace}
  129. %% there is no copyright, but the right to copy.
  130. \begin{figure}[b]
  131. \centering
  132. \includegraphics[width=80pt]{kopimi.png}
  133. \end{figure}
  134. \cleardoublepage
  135. \markboth{}{}
  136. % move this epigraph to a fitting place. I don't see why it fits here inside of
  137. % the begin figure env. ~~ AK
  138. %\epigraph{``[...] be conservative in what you do, be liberal in what
  139. %you accept from others.''}{The robustness priciple or ``Postel's
  140. %Law''~\cite{rfc761}}
  141. %{\centering
  142. % \includegraphics[width=.9\textwidth]{neboltai.png}\par
  143. % \vbox{\emph{Do not talk unencrypted}}
  144. %}
  145. \include{preface}
  146. \part{Prolegomena}
  147. \include{ssl_prequisites}
  148. \include{math_prequisites}
  149. \part{Questions}
  150. \include{fermat}
  151. \include{wiener}
  152. \include{pollard-1}
  153. \include{pollard+1}
  154. \include{pollardrho}
  155. \include{dixon}
  156. \include{conclusions}
  157. \backmatter
  158. %%\bibliographystyle{ieeetr}
  159. \bibliography{library}
  160. \clearpage
  161. \addcontentsline{toc}{chapter}{Bibliography}
  162. \end{document}