-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
244 lines (214 loc) · 7.5 KB
/
Copy pathmain.tex
File metadata and controls
244 lines (214 loc) · 7.5 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
\documentclass[11pt]{report}
\usepackage[a4paper, left=2.48cm, right=2.48cm, top=2.8cm, bottom=5.98cm]{geometry}
\usepackage[T1]{fontenc}
\usepackage{acronym}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dirtree}
\usepackage{float}
\usepackage{chngcntr}
\usepackage{tabularx}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\counterwithout{equation}{chapter}
\usepackage[font=small]{caption}
\usepackage{xcolor}
\definecolor{TWblue}{RGB}{0,100,156}
\usepackage[colorlinks=true, linkcolor=black, citecolor=black, urlcolor=TWblue]{hyperref}
\providecommand*{\listingautorefname}{Listing}
\usepackage{fancyvrb}
\fvset{fontsize=\fontsize{10.4602065pt}{12pt}}
\usepackage{minted}
\setminted{fontsize=\fontsize{10.4602065pt}{12pt}}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usetikzlibrary{external}
\tikzexternalize
\tikzsetfigurename{main-figure}
\tikzexternaldisable
\usetikzlibrary{arrows.meta, positioning, shadows, matrix}
\usepackage{subfiles}
\usepackage{tikz-3dplot}
\usepackage[parfill]{parskip}
\usepackage{wallpaper}
\usepackage{palatino}
\usepackage[scaled=0.95527]{beramono}
\usepackage{microtype}
\renewcommand\familydefault{\sfdefault}
\addtolength{\textheight}{5\baselineskip}
\setlength{\headheight}{1.3\baselineskip}
\renewcommand*{\baselinestretch}{1.21}
\usepackage{titlesec}
\titleformat{\chapter}[hang]{\huge}{\thechapter}{0.365cm}{}
\titleformat{\section}[hang]{\LARGE}{\thesection}{0.305cm}{}
\titleformat{\subsection}[hang]{\Large}{\thesubsection}{0.25cm}{}
\titlespacing*{\chapter}{0pt}{1.152cm}{0.805cm}
\titlespacing*{\section}{0pt}{0.71cm}{0.457cm}
\titlespacing*{\subsection}{0pt}{0.65cm}{0.3cm}
\titlespacing*{\subsubsection}{0pt}{0.65cm}{0.3cm}
\titlespacing*{\paragraph}{0pt}{0.65cm}{0.38cm}
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhf{}
\fancyfoot[R]{\footnotesize\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[R]{\footnotesize\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength{\footskip}{1.68cm}
\makeatletter
\renewcommand{\l@figure}[2]{%
\@dottedtocline{1}{0em}{1.8em}{Figure~#1}{#2}%
}
\def\legendre@dash#1#2{\hb@xt@#1{%
\kern-#2\p@
\cleaders\hbox{\kern.5\p@
\vrule\@height.2\p@\@depth.2\p@\@width\p@
\kern.5\p@}\hfil
\kern-#2\p@
}}
\def\@legendre#1#2#3#4#5{\mathopen{}\left(
\sbox\z@{$\genfrac{}{}{0pt}{#1}{#3#4}{#3#5}$}%
\dimen@=\wd\z@
\kern-\p@\vcenter{\box0}\kern-\dimen@\vcenter{\legendre@dash\dimen@{#2}}\kern-\p@
\right)\mathclose{}}
\newcommand\legendre[2]{\mathchoice
{\@legendre{0}{1}{}{#1}{#2}}
{\@legendre{1}{.5}{\vphantom{1}}{#1}{#2}}
{\@legendre{2}{0}{\vphantom{1}}{#1}{#2}}
{\@legendre{3}{0}{\vphantom{1}}{#1}{#2}}
}
\def\dlegendre{\@legendre{0}{1}{}}
\def\tlegendre{\@legendre{1}{0.5}{\vphantom{1}}}
\makeatother
\title{Design and Implementation of a Generalized Elliptic Curve Library in Rust}
\author{Filip Schauer}
\begin{document}
\pagenumbering{gobble}
\begin{titlepage}
\tikzifexternalizing{}{%
\ThisTileWallPaper{\paperwidth}{\paperheight}{images/fhtw_cover.pdf}%
}
\null\vspace{2pt}
\hspace*{-20pt}{\huge\sffamily\textbf{BACHELOR THESIS}}
\vspace{10pt}
\hspace*{-20pt}\scalebox{1.5}{%
\begin{minipage}{0.72\linewidth}
Thesis submitted in fulfillment of the requirements for the degree of Bachelor of Science in Engineering at the University of Applied Sciences Technikum Wien - Degree Program
Information and Communication Systems and Services\vspace{5pt}
\end{minipage}}
\vspace{47pt}\hspace*{-20pt}
\begin{minipage}{0.9625\linewidth}
\huge\bfseries\sffamily Design and Implementation of a Generalized Elliptic Curve Library in Rust
\end{minipage}\vspace{47pt}
\Large
\hspace*{-20pt}%
By:~Filip Schauer
\hspace*{-20pt}%
Student Number:~52320085
\vspace{0.8\baselineskip}%
\hspace*{-20pt}%
Supervisor:~FH-Prof. DI Alexander Mense
\vspace{0.8\baselineskip}%
\hspace*{-20pt}%
Wien, \today%
\end{titlepage}
\chapter*{Declaration}
``As author and creator of this work to hand, I confirm with my
signature knowledge of the relevant copyright regulations
governed by higher education acts (see Urheberrechtsgesetz
/Austrian copyright law as amended as well as the Statute on
Studies Act Provisions / Examination Regulations of the UAS
Technikum Wien as amended).\\[\baselineskip]
I hereby declare that I completed the present work independently
and that any ideas, whether written by others or by myself, have
been fully sourced and referenced. I am aware of any consequences
I may face on the part of the degree program director if there
should be evidence of missing autonomy and independence or
evidence of any intent to fraudulently achieve a pass mark for
this work (see Statute on Studies Act Provisions / Examination
Regulations of the UAS Technikum Wien as amended).\\[\baselineskip]
I further declare that up to this date I have not published the work to
hand nor have I presented it to another examination board in the same or
similar form. I affirm that the version submitted matches the version in
the upload tool.``\vspace{4\baselineskip}
\noindent Wien, \today\hspace{0.4\linewidth}Digital Signature
\subfile{abstract.tex}
\clearpage
\tableofcontents
\clearpage
\pagenumbering{arabic}
\subfile{introduction.tex}
\subfile{methodology.tex}
\subfile{1ec_intro/part1.tex}
\subfile{2ec_finite_field_intro/part2.tex}
\subfile{3ec_forms/part3.tex}
\subfile{4ec_advanced/part4.tex}
\subfile{5rs_library_manual/part5.tex}
\subfile{conclusion.tex}
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{ieeetr}
\bibliography{references}
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{\listalgorithmname}
\listofalgorithms
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{\listoflistingscaption}
\listoflistings
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Documentation table of AI-based tools}
\chapter*{Documentation table of AI-based tools}
\begin{tabularx}{\textwidth}{|p{3.078cm}|p{3.31cm}|X|}
\hline
AI-Based Tool & Intended Use & Prompt, Source, Page, Paragraph\dots \\
\hline
Gemini 2.5 Pro\newline
Gemini 2.5 Flash\newline
Gemini 3 Pro\newline
Gemini 3 Flash\newline
Gemini 3.1 Pro\newline
Claude Sonnet 4.6 &
Review and assistance with planning the structure &
<SUMMARY AND OUTLINE OF THE THESIS>\newline
<THESIS PROPOSAL \& CODE \& PAPER>\newline
<ROUGH NOTES AND QUESTIONS ON STRUCTURE AND THESIS PRESENTATION> \\
\hline
GPT-5\newline GPT-5 Mini\newline GPT-5.2\newline GPT-5.3 & Review and assistance with tightening up prose & Should anything be tightened up? \newline <CHAPTER> \\
\hline
DeepL Write & Alternative phrasing suggestions and language polish & Used selectively for sentence-level improvements \\
\hline
\end{tabularx}
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Abbreviations}
\chapter*{List of Abbreviations}
\begin{acronym}[ECDLP]
\acro{crt}[CRT]{Chinese Remainder Theorem}
\acro{ecc}[ECC]{Elliptic Curve Cryptography}
\acro{ecdh}[ECDH]{Elliptic Curve Diffie-Hellman}
\acro{ecdlp}[ECDLP]{Elliptic Curve Discrete Logarithm Problem}
\acro{eea}[EEA]{Extended Euclidean Algorithm}
\acro{gcd}[GCD]{Greatest Common Divisor}
\acro{secg}[SECG]{Standards for Efficient Cryptography Group}
\end{acronym}
\end{document}