author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Tue, 23 Sep 2014 01:49:53 +0100 | |
changeset 164 | 08a6e035223e |
parent 151 | f8dc3dbdaa5c |
child 331 | 54a1fbe96b14 |
permissions | -rw-r--r-- |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
\documentclass[dvipsnames,14pt,t]{beamer} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
\usepackage{proof} |
145
279fa5a06231
updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
90
diff
changeset
|
3 |
\usepackage{beamerthemeplaincu} |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
\usepackage{mathpartir} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
\usepackage{isabelle} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
\usepackage{isabellesym} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
\usepackage[absolute,overlay]{textpos} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
\usepackage{ifthen} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
9 |
\usepackage{tikz} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
10 |
\usepackage{courier} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
11 |
\usepackage{listings} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
12 |
\usetikzlibrary{arrows} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
13 |
\usetikzlibrary{positioning} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
14 |
\usetikzlibrary{calc} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
15 |
\usepackage{graphicx} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
16 |
\usetikzlibrary{shapes} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
17 |
\usetikzlibrary{shadows} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
18 |
\usetikzlibrary{plotmarks} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
19 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
20 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
21 |
\isabellestyle{rm} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
22 |
\renewcommand{\isastyle}{\rm}% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
23 |
\renewcommand{\isastyleminor}{\rm}% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
24 |
\renewcommand{\isastylescript}{\footnotesize\rm\slshape}% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
25 |
\renewcommand{\isatagproof}{} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
26 |
\renewcommand{\endisatagproof}{} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
27 |
\renewcommand{\isamarkupcmt}[1]{#1} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
28 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
29 |
% Isabelle characters |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
30 |
\renewcommand{\isacharunderscore}{\_} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
31 |
\renewcommand{\isacharbar}{\isamath{\mid}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
32 |
\renewcommand{\isasymiota}{} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
33 |
\renewcommand{\isacharbraceleft}{\{} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
34 |
\renewcommand{\isacharbraceright}{\}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
35 |
\renewcommand{\isacharless}{$\langle$} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
36 |
\renewcommand{\isachargreater}{$\rangle$} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
37 |
\renewcommand{\isasymsharp}{\isamath{\#}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
38 |
\renewcommand{\isasymdots}{\isamath{...}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
39 |
\renewcommand{\isasymbullet}{\act} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
40 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
41 |
% beamer stuff |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
42 |
\renewcommand{\slidecaption}{APP 09, King's College London, 3 December 2013} |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
43 |
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
44 |
\newcommand{\bl}[1]{\textcolor{blue}{#1}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
45 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
46 |
\begin{document} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
47 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
48 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
49 |
\mode<presentation>{ |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
50 |
\begin{frame}<1>[t] |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
51 |
\frametitle{% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
52 |
\begin{tabular}{@ {}c@ {}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
53 |
\\ |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
54 |
\LARGE Access Control and \\[-3mm] |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
55 |
\LARGE Privacy Policies (9)\\[-6mm] |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
56 |
\end{tabular}}\bigskip\bigskip\bigskip |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
57 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
58 |
\normalsize |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
59 |
\begin{center} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
60 |
\begin{tabular}{ll} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
61 |
Email: & christian.urban at kcl.ac.uk\\ |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
62 |
Office: & S1.27 (1st floor Strand Building)\\ |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
63 |
Slides: & KEATS (also homework is there)\\ |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
64 |
\end{tabular} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
65 |
\end{center} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
66 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
67 |
\end{frame}} |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
68 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
69 |
|
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
70 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
71 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
72 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
73 |
\frametitle{Review: Proofs} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
74 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
75 |
Modify the formula |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
76 |
\begin{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
77 |
\begin{tabular}{l} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
78 |
\bl{$P\;\textit{controls}\;\textit{Permitted}(O, \textit{write})$}\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
79 |
\end{tabular} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
80 |
\end{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
81 |
using security levels so that it satisfies the {\it write rule} from the {\it |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
82 |
Bell-LaPadula} access policy.\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
83 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
84 |
Do the same again, but satisfy the {\it write rule} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
85 |
from the {\it Biba} access policy. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
86 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
87 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
88 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
89 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
90 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
91 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
92 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
93 |
\frametitle{Review: Proofs} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
94 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
95 |
Assume two security levels \bl{$\textit{S}$} and \bl{$\textit{TS}$}, |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
96 |
which are ordered so that \bl{$slev(\textit{S}) < slev(\textit{TS})$}. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
97 |
Assume further the substitution rules |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
98 |
\begin{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
99 |
\bl{\begin{tabular}{@{}c@{}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
100 |
$\Gamma \vdash slev(P) = l_1$ \hspace{2mm} $\Gamma \vdash slev(Q) = l_2$ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
101 |
\hspace{2mm} $\Gamma \vdash l_1 < l_2$\\\hline |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
102 |
$\Gamma \vdash slev(P) < slev(Q)$ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
103 |
\end{tabular}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
104 |
\end{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
105 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
106 |
\begin{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
107 |
\bl{\begin{tabular}{c} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
108 |
$\Gamma \vdash slev(P) = l$ \hspace{4mm} $\Gamma \vdash slev(Q) = l$\\\hline |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
109 |
$\Gamma \vdash slev(P) = slev(Q)$ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
110 |
\end{tabular}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
111 |
\end{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
112 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
113 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
114 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
116 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
117 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
118 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
119 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
120 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
121 |
\frametitle{Review: Proofs}\small |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
122 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
123 |
Let \bl{$\Gamma$} be the set containing the following six formulas |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
124 |
\begin{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
125 |
\bl{\begin{tabular}{@{}l@{}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
126 |
$slev(\textit{S}) < slev(\textit{TS})$\smallskip\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
127 |
$slev(\textit{Agent}) = slev(\textit{TS})$\smallskip\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
128 |
$slev(\textit{File}_1) = slev(\textit{S})$\smallskip\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
129 |
$slev(\textit{File}_2) = slev(\textit{TS})$\smallskip\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
130 |
$\forall O.\;slev(O) < slev(\textit{Agent}) \Rightarrow$\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
131 |
\hspace{30mm}$(\textit{Agent}\;\textit{controls}\;\textit{Permitted}(O, \textit{read}))$\smallskip\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
132 |
$\forall O.\;slev(O) = slev(\textit{Agent}) \Rightarrow$\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
133 |
\hspace{30mm}$(\textit{Agent}\;\textit{controls}\;\textit{Permitted}(O, \textit{read}))$\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
134 |
\end{tabular}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
135 |
\end{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
136 |
Using the inference rules of access-control logic and the substitution rules shown above, |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
137 |
give proofs for the two judgements |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
138 |
\begin{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
139 |
\bl{\begin{tabular}{@{}l@{}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
140 |
$\Gamma \vdash |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
141 |
(\textit{Agent}\;\textit{says}\;\textit{Permitted}(\textit{File}_1, |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
142 |
\textit{read})) \Rightarrow$\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
143 |
\hspace{50mm}$\textit{Permitted}(\textit{File}_1, \textit{read})$\\ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
144 |
\end{tabular}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
145 |
\end{center} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
146 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
147 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
148 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
149 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
150 |
|
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
151 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
152 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
153 |
\mode<presentation>{ |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
154 |
\begin{frame}[t] |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
155 |
\frametitle{Checking Solutions} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
156 |
|
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
157 |
How can you check somebody's solution without revealing the solution?\pause\bigskip |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
158 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
159 |
Alice and Bob solve crosswords. Alice knows the answer for 21D (folio) but doesn't |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
160 |
want to tell Bob.\medskip |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
161 |
|
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
162 |
You use an English dictionary: |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
163 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
164 |
\begin{itemize} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
165 |
\item folio \onslide<4->{$\stackrel{1}{\rightarrow}$ individual } |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
166 |
\onslide<5->{$\stackrel{2}{\rightarrow}$ human} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
167 |
\onslide<6->{$\stackrel{3}{\rightarrow}$ or \ldots} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
168 |
\only<3>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
169 |
\begin{quote} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
170 |
``an \alert{individual} leaf of paper or parchment, either loose as one of a series or |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
171 |
forming part of a bound volume, which is numbered on the recto or front side only.'' |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
172 |
\end{quote}} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
173 |
\only<4>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
174 |
\begin{quote} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
175 |
``a single \alert{human} being as distinct from a group'' |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
176 |
\end{quote}} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
177 |
\only<5>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
178 |
\begin{quote} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
179 |
``relating to \alert{or} characteristic of humankind'' |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
180 |
\end{quote}} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
181 |
\end{itemize}\bigskip\bigskip |
76
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
182 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
183 |
\only<7->{ |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
184 |
this is essentially a hash function...but Bob can only check once he has also found the solution |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
185 |
} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
186 |
|
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
187 |
\end{frame}} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
188 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
79
2eaca58f9bcc
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
78
diff
changeset
|
189 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
190 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
191 |
\mode<presentation>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
192 |
\begin{frame}[c] |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
193 |
\frametitle{Zero-Knowledge Proofs} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
194 |
|
148
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
195 |
Two remarkable properties of \alert{Zero-Knowledge Proofs}:\bigskip |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
196 |
|
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
197 |
\begin{itemize} |
148
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
198 |
\item Alice only reveals the fact that she knows a secret, not the secret itself (meaning |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
199 |
she can convince Bob that she knows the secret).\bigskip |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
200 |
\item Having been convinced, Bob cannot use the evidence in order to convince Carol |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
201 |
that Alice knows the secret. |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
202 |
\end{itemize} |
76
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
203 |
|
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
204 |
\end{frame}} |
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
205 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
206 |
|
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
207 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
208 |
\mode<presentation>{ |
77
56dbc339ec87
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
76
diff
changeset
|
209 |
\begin{frame}[t] |
148
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
210 |
\frametitle{\begin{tabular}{@{}c@{}}The Idea \end{tabular}} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
211 |
|
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
212 |
\begin{center} |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
213 |
\begin{tabular}{l@{\hspace{10mm}}r} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
214 |
\\[-10mm] |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
215 |
\raisebox{10mm}{\large 1.} & \includegraphics[scale=0.1]{pics/alibaba1.png}\\ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
216 |
\raisebox{10mm}{\large 2.} & \includegraphics[scale=0.1]{pics/alibaba2.png}\\ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
217 |
\raisebox{10mm}{\large 3.} & \includegraphics[scale=0.1]{pics/alibaba3.png} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
218 |
\end{tabular} |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
219 |
\end{center} |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
220 |
|
148
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
221 |
\begin{textblock}{7}(1,2.5) |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
222 |
The Alibaba cave: |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
223 |
\end{textblock} |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
224 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
225 |
\small |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
226 |
\only<2>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
227 |
\begin{textblock}{12}(2,13.3) |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
228 |
Even if Bob has a hidden camera, a recording will not be convincing to anyone else |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
229 |
(Alice and Bob could have made it all up). |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
230 |
\end{textblock}} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
231 |
\only<3>{ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
232 |
\begin{textblock}{12}(2,13.3) |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
233 |
Even worse, an observer present at the experiment would not be convinced. |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
234 |
\end{textblock}} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
235 |
|
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
236 |
\end{frame}} |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
237 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
238 |
|
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
239 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
240 |
\mode<presentation>{ |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
241 |
\begin{frame}[c] |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
242 |
\frametitle{Applications of ZKPs} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
243 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
244 |
\begin{itemize} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
245 |
\item authentication, where one party wants to prove its identity to a |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
246 |
second party via some secret information, but doesn't want the second |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
247 |
party to learn anything about this secret\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
248 |
\item to enforce honest behaviour while maintaining privacy: the idea is to |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
249 |
force a user to prove, using a zero-knowledge proof, that its behaviour is |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
250 |
correct according to the protocol |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
251 |
\end{itemize} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
252 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
253 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
254 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
255 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
256 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
257 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
258 |
\frametitle{Central Properties} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
259 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
260 |
Zero-knowledge proof protocols should satisfy:\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
261 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
262 |
\begin{itemize} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
263 |
\item \alert{\bf Completeness} If Alice knows the secret, Bob accepts Alice ``proof'' for sure.\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
264 |
\item \alert{\bf Soundness} If Alice does not know the secret, Bob accepts her ``proof'' with a very |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
265 |
small probability. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
266 |
\end{itemize} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
267 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
268 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
269 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
270 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
271 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
272 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
273 |
\begin{frame}[c] |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
274 |
\frametitle{Graph Isomorphism} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
275 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
276 |
\begin{center} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
277 |
\begin{tabular}{l@{\hspace{10mm}}r} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
278 |
\includegraphics[scale=0.8]{pics/graphs.png}\\ |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
279 |
\end{tabular} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
280 |
\end{center} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
281 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
282 |
Finding an isomorphism between two graphs is an NP complete problem. |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
283 |
\end{frame}} |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
284 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
285 |
|
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
286 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
287 |
\mode<presentation>{ |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
288 |
\begin{frame}[c] |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
289 |
\frametitle{Graph Isomorphism Protocol} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
290 |
|
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
291 |
Alice starts with knowing an isomorphism \bl{$\sigma$} between graphs \bl{$G_1$} and \bl{$G_2$}\medskip |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
292 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
293 |
\begin{enumerate} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
294 |
\item Alice generates an isomorphic graph \bl{$H$} which she sends to Bob |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
295 |
\item Bob asks either for an isomorphism between \bl{$G_1$} and \bl{$H$}, or |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
296 |
\bl{$G_2$} and \bl{$H$} |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
297 |
\item Alice and Bob repeat this procedure \bl{$n$} times |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
298 |
\end{enumerate}\pause |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
299 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
300 |
these are called commitment algorithms |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
301 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
302 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
303 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
304 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
305 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
306 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
307 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
308 |
\frametitle{Graph Isomorphism Protocol (2)} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
309 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
310 |
If Alice knows the isomorphism, she can always calculate \bl{$\sigma$}.\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
311 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
312 |
If she doesn't, she can only correctly respond if Bob's |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
313 |
choice of index is the same as the one she used to form \bl{$H$}. The probability |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
314 |
of this happening is \bl{$\frac{1}{2}$}, so after \bl{$n$} rounds the probability of her |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
315 |
always responding correctly is only \bl{$\frac{1}{2}^n$}. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
316 |
|
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
317 |
\end{frame}} |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
318 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
319 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
320 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
321 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
322 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
323 |
\frametitle{Graph Isomorphism Protocol (3)} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
324 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
325 |
Why is the GI-protocol zero-knowledge?\bigskip\pause |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
326 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
327 |
A: We can generate a fake transcript of a conversation, which |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
328 |
cannot be distinguished from a ``real'' conversation.\bigskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
329 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
330 |
Anything Bob can compute using the information obtained from |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
331 |
the transcript can be computed using only a forged transcript and |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
332 |
therefore participation in such a communication does not increase |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
333 |
Bob's capability to perform any computation. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
334 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
335 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
336 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
337 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
338 |
|
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
339 |
|
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
340 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
341 |
\mode<presentation>{ |
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
342 |
\begin{frame}[c] |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
343 |
\frametitle{Non-Interactive ZKPs} |
77
56dbc339ec87
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
76
diff
changeset
|
344 |
|
80
807393d1efff
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
79
diff
changeset
|
345 |
|
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
346 |
\bigskip |
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
347 |
This is amazing: Alison can publish some data that contains no data about her secret, |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
348 |
but this data can be used to convince anyone of the secret's existence. |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
349 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
350 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
351 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
352 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
353 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
354 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
355 |
\frametitle{Non-Interactive ZKPs (2)} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
356 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
357 |
Alice starts with knowing an isomorphism \bl{$\sigma$} between graphs \bl{$G_1$} and \bl{$G_2$}\medskip |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
358 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
359 |
\begin{enumerate} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
360 |
\item Alice generates \bl{$n$} isomorphic graphs \bl{$H_{1..n}$} which she makes public |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
361 |
\item she feeds the \bl{$H_{1..n}$} into a hashing function (she has no control over what |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
362 |
the output will be) |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
363 |
\item Alice takes the first \bl{$n$} bits of the output: whenever output is \bl{$0$}, she shows |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
364 |
an isomorphism with \bl{$G_1$} ; for \bl{$1$} she shows an isomorphism with \bl{$G_2$} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
365 |
\end{enumerate} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
366 |
|
77
56dbc339ec87
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
76
diff
changeset
|
367 |
\end{frame}} |
56dbc339ec87
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
76
diff
changeset
|
368 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
56dbc339ec87
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
76
diff
changeset
|
369 |
|
79
2eaca58f9bcc
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
78
diff
changeset
|
370 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2eaca58f9bcc
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
78
diff
changeset
|
371 |
\mode<presentation>{ |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
372 |
\begin{frame}[c] |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
373 |
\frametitle{Problems of ZKPs} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
374 |
|
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
375 |
\begin{itemize} |
148
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
376 |
\item ``grand chess master problem''\\ |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
377 |
(person in the middle)\bigskip |
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
378 |
|
083c07f8668a
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
147
diff
changeset
|
379 |
\item Alice can have multiple identities; once she committed a fraud she stops using one |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
380 |
\end{itemize} |
83
161ec08d70f8
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
82
diff
changeset
|
381 |
|
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
382 |
\end{frame}} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
383 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
384 |
|
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
385 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
386 |
\mode<presentation>{ |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
387 |
\begin{frame}[c] |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
388 |
\frametitle{Other Methods for ZKPs} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
389 |
|
149
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
390 |
Essentially every NP-problem can be used for ZKPs |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
391 |
|
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
392 |
\begin{itemize} |
149
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
393 |
\item modular logarithms: Alice chooses public \bl{$A$}, \bl{$B$}, \bl{$p$}; and private \bl{$x$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
394 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
395 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
396 |
\bl{$A^x \equiv B\; mod\; p$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
397 |
\end{center} |
147
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
398 |
\end{itemize} |
ab38ed748930
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
146
diff
changeset
|
399 |
|
87
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
400 |
\end{frame}} |
149
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
401 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
402 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
403 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
404 |
\mode<presentation>{ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
405 |
\begin{frame}[c] |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
406 |
\frametitle{Commitment Stage} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
407 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
408 |
\begin{enumerate} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
409 |
\item Alice generates \bl{$z$} random numbers \bl{$r_1$}, ..., \bl{$r_z$}, all less than \bl{$p - 1$}. |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
410 |
\item Alice sends Bob for all \bl{$1..z$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
411 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
412 |
\bl{$h_i = A^{r_i} \;mod\; p$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
413 |
\end{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
414 |
\item Bob generates random bits \bl{$b_1$}, ..., \bl{$b_z$} by flipping a coin |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
415 |
\item For each bit \bl{$b_i$}, Alice sends Bob an \bl{$s_i$} where |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
416 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
417 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
418 |
\begin{tabular}{ll} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
419 |
\bl{$b_i = 0$}: & \bl{$s_i = r_i$}\\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
420 |
\bl{$b_i = 1$}: & \bl{$s_i = (r_i - r_j) \;mod\; (p -1)$}\\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
421 |
\end{tabular} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
422 |
\end{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
423 |
where \bl{$r_j$} is the lowest \bl{$j$} where \bl{$b_j = 1$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
424 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
425 |
\end{enumerate} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
426 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
427 |
\end{frame}} |
87
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
428 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
429 |
|
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
430 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
431 |
\mode<presentation>{ |
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
432 |
\begin{frame}[c] |
149
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
433 |
\frametitle{Confirmation Stage} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
434 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
435 |
\begin{enumerate} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
436 |
\item For each \bl{$b_i$} Bob checks whether \bl{$s_i$} conforms to the protocol |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
437 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
438 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
439 |
\begin{tabular}{ll} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
440 |
\bl{$b_i = 0$}: & \bl{$A^{s_i} \equiv B\;mod\;p$}\\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
441 |
\bl{$b_i = 1$}: & \bl{$A^{s_i} \equiv h_i * h_j^{-1} \;mod\; p$}\\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
442 |
\end{tabular} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
443 |
\end{center}\bigskip |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
444 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
445 |
Bob was send |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
446 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
447 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
448 |
\bl{$r_j - r _j$}, \bl{$r_m - r _j$}, \ldots, \bl{$r_p - r _j$ \;mod \;p} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
449 |
\end{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
450 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
451 |
where the corresponding bits were |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
452 |
\bl{$1$}; Bob does not know \bl{$r_j$}, he does not know any \bl{$r_i$} where the bit was \bl{$1$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
453 |
\end{enumerate} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
454 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
455 |
\end{frame}} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
456 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
457 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
458 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
459 |
\mode<presentation>{ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
460 |
\begin{frame}[c] |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
461 |
\frametitle{Proving Stage} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
462 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
463 |
\begin{enumerate} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
464 |
\item Alice proves she knows \bl{$x$}, the discrete log of \bl{$B$}\\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
465 |
she sends |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
466 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
467 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
468 |
\bl{$s_{z+1} = (x - r_j)$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
469 |
\end{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
470 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
471 |
\item Bob confirms |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
472 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
473 |
\begin{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
474 |
\bl{$A^{s_{z+1}} \equiv B * h_j^{-1} \;mod \; p$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
475 |
\end{center} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
476 |
\end{enumerate}\bigskip\pause |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
477 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
478 |
In order to cheat, Alice has to guess all bits in advance. She has only \bl{$1$} to \bl{$2^z$} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
479 |
chance. \\ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
480 |
\small\hspace{7mm}\textcolor{gray}{(explanation $\rightarrow$ \url{http://goo.gl/irL9GK})} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
481 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
482 |
\end{frame}} |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
483 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
484 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
485 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
486 |
|
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
487 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
488 |
\mode<presentation>{ |
66623e169581
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
148
diff
changeset
|
489 |
\begin{frame}[c] |
146
6f884231ca57
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
145
diff
changeset
|
490 |
\frametitle{Random Number Generators} |
87
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
491 |
|
150
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
492 |
\begin{itemize} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
493 |
\item Computers are deterministic. How do they generate random numbers?\bigskip\pause |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
494 |
|
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
495 |
\item The most popular method to generate random numbers between \bl{$0$} and \bl{$m$} is: choose |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
496 |
three integers |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
497 |
|
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
498 |
\begin{center} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
499 |
\begin{tabular}{ll} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
500 |
\bl{$a$} & multiplier\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
501 |
\bl{$c$} & increment\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
502 |
\bl{$X_0$} & start value |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
503 |
\end{tabular} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
504 |
\end{center} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
505 |
|
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
506 |
and calculate |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
507 |
|
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
508 |
\begin{center} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
509 |
\bl{$X_{n+1} = (a * X_n + c) \;mod\; m$} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
510 |
\end{center} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
511 |
\end{itemize} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
512 |
|
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
513 |
\only<3->{ |
151
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
514 |
\begin{textblock}{7}(10,2) |
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
515 |
\begin{tikzpicture} |
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
516 |
\draw (0,0) node[inner sep=2mm,fill=cream, ultra thick, draw=red, rounded corners=2mm] |
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
517 |
{\begin{minipage}{3.8cm} |
150
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
518 |
\begin{tabular}{ll|l} |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
519 |
\bl{$m =$} & \bl{$16$} & \bl{$16$}\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
520 |
\bl{$X_0 =$} & \bl{$1$} & \bl{$1$}\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
521 |
\bl{$a = $} & \bl{$5$} & \bl{$5$}\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
522 |
\bl{$c =$} & \bl{$1$} & \bl{$0$}\\ |
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
523 |
\end{tabular} |
151
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
524 |
\end{minipage}}; |
f8dc3dbdaa5c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
150
diff
changeset
|
525 |
\end{tikzpicture} |
150
15f82d14093d
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
149
diff
changeset
|
526 |
\end{textblock}} |
87
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
527 |
|
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
528 |
\end{frame}} |
e0908dc30b7c
added
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
86
diff
changeset
|
529 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
76
dde58256fc35
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
75
diff
changeset
|
530 |
\end{document} |
75
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
531 |
|
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
532 |
%%% Local Variables: |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
533 |
%%% mode: latex |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
534 |
%%% TeX-master: t |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
535 |
%%% End: |
df7cf3d07bd8
added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
536 |