aboutsummaryrefslogtreecommitdiff
path: root/slides/2018-lwm/img/mtp.tex
diff options
context:
space:
mode:
Diffstat (limited to 'slides/2018-lwm/img/mtp.tex')
-rw-r--r--slides/2018-lwm/img/mtp.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/slides/2018-lwm/img/mtp.tex b/slides/2018-lwm/img/mtp.tex
new file mode 100644
index 0000000..a62b333
--- /dev/null
+++ b/slides/2018-lwm/img/mtp.tex
@@ -0,0 +1,28 @@
+\begin{tikzpicture}[
+ sibling distance=32pt,
+ -latex,
+ apnode/.style = {
+ draw=black,
+ dashed,
+ },
+ ap/.style = {
+ draw=black,
+ dashed,
+ },
+]
+ \Tree [
+ .$r\gets\hash(h_{ab}\concat h_{cd})$ [
+ .\node[apnode]{$h_{ab}\gets\hash(h_a\concat h_b)$}; [
+ .$h_a\gets\hash(a)$
+ ] [
+ .$h_b\gets\hash(b)$
+ ]
+ ] \edge[ap]; [
+ .$h_{cd}\gets\hash(h_c\concat h_d)$ [
+ .\node[apnode]{$h_c\gets\hash(c)$};
+ ] \edge[ap]; [
+ .$h_d\gets\hash(d)$
+ ]
+ ]
+ ]
+\end{tikzpicture}