File:TCN Protocol Key Generation.svg

Summary

Description
English: TCN Protocol Key Generation
Date
Source Own work
Author Ben McLean

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#TCN%20Protocol%20Key%20Generation.svg
Category:Self-published work

LaTeX source

\documentclass[border={30pt 0pt 0pt 30pt}]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{automata, positioning, arrows, shapes.geometric}

\usepackage{environ}

\usepackage[margin=2cm]{geometry}
\renewcommand{\baselinestretch}{1.15}
\setlength{\parskip}{6pt}

\begin{document}

\begin{tikzpicture}[node distance=2cm]
	\node(rak)[draw]{$rak$};
	\node(rvk)[draw, above of=rak, xshift=2cm]{$rvk$};
	
	\node(tck0)[draw, right of=rak, xshift=2cm]{$tck_0$};
	\node(tck1)[draw, right of=tck0]{$tck_1$};
	\node(tck2)[draw, right of=tck1]{$tck_2$};
	\node(tckD)[right of=tck2]{...};
	\node(tckN)[draw, right of=tckD]{$tck_n$};
	
	\node(tcn1)[draw, below of=tck1]{$tcn_1$};
	\node(tcn2)[draw, below of=tck2]{$tcn_2$};
	\node(tcnD)[below of=tckD]{...};
	\node(tcnN)[draw, below of=tckN]{$tcn_n$};
	
	\draw [->] (rak) |- (rvk);
	
	\draw [->] (rak) -- (tck0);
	\draw [->] (rvk) -| (tck0);
	
	\draw [->] (tck0) -- (tck1);
	\draw [->] (rvk) -| (tck1);
	\draw [->] (tck1) -- (tcn1);
	
	\draw [->] (tck1) -- (tck2);
	\draw [->] (rvk) -| (tck2);
	\draw [->] (tck2) -- (tcn2);
	
	\draw [-] (tck2) -- (tckD);
	
	\draw [->] (tckD) -- (tckN);
	\draw [->] (rvk) -| (tckN);
	\draw [->] (tckN) -- (tcnN);
\end{tikzpicture}

\end{document}
Category:Computer science diagrams
Category:CC-BY-SA-4.0 Category:Computer science diagrams Category:Self-published work