Skip to content
Snippets Groups Projects
Verified Commit 857c386f authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Start working on presentation.

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #
dist/
*.aux
*.acn
*.bbl
*.blg
*.log
*.idx
*.out
*.xdy
.vscode/cspell.json
stages:
- lint
- build
chktex:
image: tianon/latex
stage: lint
script:
- chktex -eall -n22 -n46 -n30 -n3 -e16 -I0 -v2 -o chktex.out */**/*.tex *.tex || true
- cat chktex.out
- "! [ -s chktex.out ]"
tags:
- docker
cspell:
image: dbogatov/docker-images:cspell-latest
stage: lint
script:
- sed -e "s/cSpell\.//g" .vscode/settings.json > .vscode/cspell.json
- cspell -c .vscode/cspell.json */**/*.tex *.tex
tags:
- docker
artifacts:
image: tianon/latex
stage: build
script:
- printf "%s" $CI_BUILD_REF | cut -c1-8 > version.tex
- ./build.sh -a
- mv dist/*.pdf .
artifacts:
paths:
- "*.pdf"
tags:
- docker
{
"cSpell.words": [
"ORAM",
"amsalpha",
"beamer",
"includegraphics",
"keepaspectratio",
"usetheme",
"Bogatov",
"Captcha",
"Diffie",
"Dmytro",
"Edmonds",
"Fulkerson",
"Karp",
"bijection",
"bijective",
"chktex",
"cryptosystem",
"dbogatov",
"distinguisher",
"indistinguishability"
]
}
\ No newline at end of file
@article{Goldreich:1996:SPS:233551.233553,
author = {Goldreich, Oded and Ostrovsky, Rafail},
title = {Software Protection and Simulation on Oblivious RAMs},
journal = {J. ACM},
issue_date = {May 1996},
volume = {43},
number = {3},
month = may,
year = {1996},
issn = {0004-5411},
pages = {431--473},
numpages = {43},
url = {http://doi.acm.org/10.1145/233551.233553},
doi = {10.1145/233551.233553},
acmid = {233553},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {pseudorandom functions, simulation of random access machines, software protection},
}
\ No newline at end of file
build.sh 0 → 100755
#!/usr/bin/env bash
shopt -s globstar
set -e
INTERACTION=nonstopmode
OUTDIR=dist
JOBNAME=presentation
ITERATIONS=3
LATEX_DEBUG=""
usage() { echo "Usage: $0 [-i <number> -g -v -t]" 1>&2; exit 1; }
log() {
if [ -n "${VERBOSE}" ]; then
echo $1
fi
}
test() {
echo "Test chktex..."
rm -f chktex.out
chktex -eall -n22 -n30 -n3 -e16 -I0 -q -o chktex.out **/*.tex
cat chktex.out
if [ -s chktex.out ] ; then
rm -f chktex.out
exit 1
fi
rm -f chktex.out
echo "Test cspell..."
sed -e "s/cSpell\.//g" .vscode/settings.json > .vscode/cspell.json
docker run -v $(PWD):/code dbogatov/docker-images:cspell-latest /usr/bin/cspell -c /code/.vscode/cspell.json /code/**/*.tex
rm .vscode/cspell.json
echo "Tests passed!"
}
while getopts "i:vgt" o; do
case "${o}" in
g)
DEBUG=true
;;
v)
VERBOSE=true
;;
i)
ITERATIONS=${OPTARG}
;;
t)
test
exit 0
;;
*)
usage
;;
esac
done
shift $((OPTIND-1))
log "DEBUG = ${DEBUG}"
echo "Cleaning up workspace"
rm -f ${OUTDIR}/${JOBNAME}.pdf
mkdir -p ${OUTDIR}
log "Done."
if [ -n "${DEBUG}" ]; then
LATEX_DEBUG="\def\debug{true}"
fi
echo "Compiling the project into ${JOBNAME}.pdf ..."
for j in `seq 1 $ITERATIONS`;
do
xelatex \
--interaction=${INTERACTION} \
-output-directory=${OUTDIR} \
-jobname=${JOBNAME} \
main
if [ "$j" == "1" ]
then
bibtex ${OUTDIR}/${JOBNAME}
fi
done
log "Done."
echo "Removing build files..."
rm -f ${OUTDIR}/*.{aux,log,out,xwm,toc,nav,snm,bbl,blg}
log "Done."
exit 0
main.tex 0 → 100644
\documentclass{beamer}
\input{preamble}
\begin{document}
\maketitle
% TOC
\begin{frame}{Table of Contents}
\tableofcontents
\end{frame}
\input{sections/oblivious-memory}
\end{document}
\usetheme{metropolis}
\title{Path ORAM: An Extremely Simple Oblivious RAM Protocol} % chktex 13
\subtitle{Discussion}
\date{Built from \textit{\input{version}} on \today}
\author{Dmytro Bogatov}
\institute{Boston University}
\logo{
\includegraphics[
width=1cm,
height=1cm,
keepaspectratio
]{static/logo.eps}\hspace{325pt}\vspace{-30pt}
}
% cSpell:ignore bibfile Goldreich
\section{Oblivious Memory}
\begin{frame}{What is oblivious}
\begin{definition}
A machine is \textit{oblivious} if the sequence in which it accesses memory locations is equivalent for any two inputs with the same running time~\cite{Goldreich:1996:SPS:233551.233553}.
\end{definition}
\end{frame}
\begin{frame}{References}
\bibliographystyle{amsalpha}
\bibliography{bibfile}
\end{frame}
This diff is collapsed.
File added
File added
local-dev
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment