updated figures + some protocol changes
jump to
@@ -3,9 +3,12 @@
\begin{acronym} \acro{BFT}{byzantine fault tolerant} \acro{CRS}{common reference string} + \acro{CSP}{credential service provider} \acro{EVM}{Ethereum virtual machine} - \acro{IPFS}{interplanetary file system} + \acro{IMT}{incremental Merkle tree} \acro{IPFS}{interplanetary file system} \acro{MPC}{multi-party computation} + \acro{SMT}{sparse Merkle tree} + \acro{URI}{uniform resource identifier} \acro{ZK}{zero-knowledge} \acro{ZKP}{zero-knowledge proofs} \acro{ZK-SNARK}{zero-knowledge succinct non-interactive argument of knowledge}
@@ -50,7 +50,6 @@
{\color{blue}\fbox{\parbox{0.93\textwidth}{ \vspace{0.2cm} -a \noi Pieces of text marked in \textbf{blue} are heavily work in progress. In addition, there are these general tasks: \begin{itemize} \item Change $(C_1, C_2)$ to \texttt{ciphertext} in protocol flow and figures.@@ -58,7 +57,7 @@ \item Notation considerations:
\begin{itemize} \item From \textit{address} to \textit{nullifier} (if you think of an address as a token that allows voters to vote). \item From \textit{IPFS} to \textit{bulletin board}. - \item From \textit{aggregation/accumulation} (in aggregation circuit) to \textit{batching}. + \item From \textit{aggregation or accumulation} (in aggregation circuit) to \textit{batching}. \end{itemize} \item Check circuits and smart contracts names. \item Consider scenario where deterministic signature (no Eth compatible) can be used as nullifier.@@ -68,6 +67,8 @@ \item Do last results circuit.
\item Add citations. \item Add everything related to data blobs. \item Add a note on blank/null votes. + \item Include the role of the \textit{workers} as \textit{sequencer} helpers? + \item Tema ``election" finalization -- què passa en els últims minuts (hauríem de poder deixar als votants emetre vots però el sequencer pot no tenir temps de processar-ho). \item \textbf{Important change:} sequencers do not register in any smart contract. \end{itemize} }}}@@ -134,7 +135,7 @@ \section*{Acknowledgments}
\addcontentsline{toc}{section}{\protect\numberline{}Acknowledgments} \label{sec:acknowledgments} -The authors would like to thank the following reviewers and contributors for their valuable feedback and support: all team members from the Vocdoni association, Jordi Baylina (from Iden3 and Polygon), Adrià Maçanet (Privacy Scaling Explorations, Ethereum Foundation), Arnaucube (0xPARC), Alex Kampa (AZKR), Roger Baig (Polytechnic University of Catalonia), Javier Herranz (Polytechnic University of Catalonia), and Jordi Puiggali (Secrets Vault). +The authors would like to thank the following reviewers and contributors for their valuable feedback and support: all team members from the Vocdoni association, Jordi Baylina (from Iden3 and Polygon), Adrià Massanet (Privacy Scaling Explorations, Ethereum Foundation), Arnaucube (0xPARC), Alex Kampa (AZKR), Roger Baig (Polytechnic University of Catalonia), Javier Herranz (Polytechnic University of Catalonia), Jordi Puiggali (Secrets Vault), and Carla Ràfols (Pompeu Fabra University). % ---- Bibliography ----
@@ -142,6 +142,8 @@ \newcommand{\variablestyle}[1]{\texttt{#1}\xspace}
\newcommand{\true}{\variablestyle{true}} \newcommand{\census}{\variablestyle{census}} \newcommand{\censusdata}{\variablestyle{censusData}} +\newcommand{\censusorigin}{\variablestyle{censusOrigin}} +\newcommand{\censusuri}{\variablestyle{censusURI}} \newcommand{\voteproof}{\variablestyle{voteProof}} \newcommand{\ballotproof}{\variablestyle{ballotProof}} \newcommand{\censusproof}{\variablestyle{censusProof}}@@ -193,6 +195,7 @@ \newcommand{\electionregistry}{\smartcontractstyle{ElectionRegistry}}
\newcommand{\dkgmanagement}{\smartcontractstyle{KeyManagement}} \newcommand{\statetransitionverifier}{\smartcontractstyle{StateTransitionVerifier}} \newcommand{\resultsverifier}{\smartcontractstyle{ResultsVerifier}} +\newcommand{\censusmanagement}{\smartcontractstyle{CensusManagement}} % Blobs \newcommand{\blobstyle}[1]{{\sf{#1}}\xspace}
@@ -0,0 +1,1755 @@
+<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/29.0.3 Chrome/140.0.7339.249 Electron/38.7.0 Safari/537.36" version="29.0.3" pages="7"> + <diagram name="1. voter-circuit" id="-BY3RIMELlOST2Ke_Soi"> + <mxGraphModel dx="1185" dy="642" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="9w8_UW6vJWkl_njZVMp4-0" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-1" parent="9w8_UW6vJWkl_njZVMp4-0" /> + <mxCell id="nvt69mghrfZXCWMQVhOf-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="400" y="50" width="820" height="310" as="geometry" /> + </mxCell> + <mxCell id="nvt69mghrfZXCWMQVhOf-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="420" y="140" width="780" height="130" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-4" value="<div>\(\text{protocolRulesCompliance}(\text{ballotMode, weight, ballot})\)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="440" y="190" width="320" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.125;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-6" target="9w8_UW6vJWkl_njZVMp4-4" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-6" value="$$\text{ballotMode}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="440" y="80" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.165;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="720" y="160" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="810" y="160" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-9" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="720" y="190" as="targetPoint" /> + <Array as="points"> + <mxPoint x="720" y="190" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-9" value="$$\text{ballot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="680" y="80" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.445;entryY=0.014;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="860" y="120" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.833;entryY=0.003;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="930" y="120" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-14" value="$$\text{Enc}_{EPK}(\text{ballot}; k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="780" y="190" width="180" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-15" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-4" target="9w8_UW6vJWkl_njZVMp4-16" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="639.58" y="230" as="sourcePoint" /> + <mxPoint x="639.58" y="390" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-16" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="560" y="300" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-17" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-14" target="9w8_UW6vJWkl_njZVMp4-18" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="880" y="230" as="sourcePoint" /> + <mxPoint x="870" y="510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-18" value="$$\text{encryptedBallot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="810" y="300" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-19" value="PROTOCOL RULES COMPLIANCE" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="430" y="390.63" width="322.35" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-20" value="VOTE ENCRYPTION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;fontColor=#333333;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="777" y="390.63" width="190" height="40" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-21" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="580.39" y="217.12" width="20" height="327.04" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-22" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="862.52" y="287.87" width="20" height="185.56" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-24" target="9w8_UW6vJWkl_njZVMp4-4" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="9w8_UW6vJWkl_njZVMp4-24" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="560" y="80" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-0" value="$$\text{Hash}(\text{processID} || \text{address} || k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="980" y="190" width="200" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-1" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-5" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="1150" y="160" as="sourcePoint" /> + <mxPoint x="1150" y="190" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-2" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.149;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-4" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="1079.8899999999999" y="150" as="sourcePoint" /> + <mxPoint x="1079.8000000000002" y="189.79999999999995" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-3" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-0" target="OdLuYHqov1AF89vjBi5t-6" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="1079.58" y="230" as="sourcePoint" /> + <mxPoint x="1080" y="710" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-4" value="$$\text{processID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="1050" y="80" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-5" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="1120" y="80" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-6" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="1050" y="300" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="930" y="160" as="sourcePoint" /> + <mxPoint x="1010" y="190" as="targetPoint" /> + <Array as="points"> + <mxPoint x="930" y="160" /> + <mxPoint x="1010" y="160" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-8" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="900" y="80" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="OdLuYHqov1AF89vjBi5t-9" value="<div style="font-size: 11px;">$$EPK$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="830.66" y="80" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="IJeOMj3sBRJv-nG6xJRO-0" value="VOTE ID" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="979.99" y="390.65" width="208.01" height="40" as="geometry" /> + </mxCell> + <mxCell id="IJeOMj3sBRJv-nG6xJRO-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> + <mxGeometry x="1073.44" y="276.99" width="20" height="207.33" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="2. authentication-circuit" id="o6OCBXuaYOciUBZEVznX"> + <mxGraphModel dx="4740" dy="3418" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-0" /> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-1" parent="6AO6W4_8KHMcSuPCPKqw-0" /> + <mxCell id="n4zl9lOKqNB3rH38xvPK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="80" y="-760" width="1280" height="500" as="geometry" /> + </mxCell> + <mxCell id="n4zl9lOKqNB3rH38xvPK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="110" y="-679.88" width="1220" height="339.88" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-4" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="130" y="-410" width="200" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-5" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-7" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="159.89" y="-639.88" as="sourcePoint" /> + <mxPoint x="159.89" y="-589.88" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-6" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-4" target="6AO6W4_8KHMcSuPCPKqw-47" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" /> + <mxPoint x="230" y="-320" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-7" value="<div style="font-size: 11px;">$$\text{voteProof}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="150" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-9" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="560" y="-440" as="sourcePoint" /> + <mxPoint x="760" y="-470.88" as="targetPoint" /> + <Array as="points"> + <mxPoint x="512" y="-440" /> + <mxPoint x="280" y="-440" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="270" y="-509.88" width="390" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-13" target="6AO6W4_8KHMcSuPCPKqw-14" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-13" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1050" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-15" value="$$\text{censusProof}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="770" y="-736.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.702;entryY=0.009;entryDx=0;entryDy=0;entryPerimeter=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-17" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1240" y="-309.88" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-17" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1200" y="-736.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-19" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="900" y="-470" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-19" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="860" y="-736.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-21" target="6AO6W4_8KHMcSuPCPKqw-49" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1200" y="-320" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-21" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1100" y="-410" width="200" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1080" y="-629.88" as="sourcePoint" /> + <mxPoint x="1140" y="-320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1140" y="-630" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="950" y="-540" as="sourcePoint" /> + <mxPoint x="950" y="-470" as="targetPoint" /> + <Array as="points"> + <mxPoint x="950" y="-480" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-25" target="6AO6W4_8KHMcSuPCPKqw-48" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="880" y="-320" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-25" value="<div>$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="720" y="-469.88" width="320" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-26" value="" style="endArrow=classic;html=1;rounded=0;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="670" y="-630" as="sourcePoint" /> + <mxPoint x="770" y="-470" as="targetPoint" /> + <Array as="points"> + <mxPoint x="770" y="-630" /> + <mxPoint x="770" y="-510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-15" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="810" y="-470" as="targetPoint" /> + <mxPoint x="819.71" y="-669.88" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="810" y="-470" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.82;entryY=0.005;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-14" target="6AO6W4_8KHMcSuPCPKqw-46" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1080" y="-559.88" as="sourcePoint" /> + <mxPoint x="618" y="-509.88" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1080" y="-539.88" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-29" value="VOTER'S PROOF VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="130" y="-219.25" width="560" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-30" value="CENSUS MEMBERSHIP" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="730" y="-219.25" width="307.19" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-31" value="AUTHENTICATION + NON-MALLEABILITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1080" y="-219.25" width="230" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-32" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="400" y="-509.88" width="20" height="561.25" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-33" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="872.19" y="-382.67999999999995" width="20" height="306.87" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-34" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1184.19" y="-348" width="20" height="237.5" as="geometry" /> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-38" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="385" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-38" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="350" y="-736.88" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-39" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="460" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-39" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="430" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-40" value="$$(C_1, C_2)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="500" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-42" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="305" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="270" y="-736.88" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-45" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-46" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="650" y="-510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1009" y="-530" /> + <mxPoint x="1000" y="-530" /> + <mxPoint x="1000" y="-540" /> + <mxPoint x="650" y="-540" /> + <mxPoint x="650" y="-510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-46" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="982" y="-559.88" width="60" height="39.88" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-47" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="190" y="-309.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-48" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="840" y="-309.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-49" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1160" y="-309.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-50" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="640" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-51" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="570" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-40" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="530" y="-510" as="targetPoint" /> + <mxPoint x="520" y="-660" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="530" y="-510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-51" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="-510" as="targetPoint" /> + <mxPoint x="700" y="-600" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="600" y="-610" /> + <mxPoint x="600" y="-610" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="GFPi3vpMem_EEXF4PJQ--11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.92;entryY=0.019;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-50" target="6AO6W4_8KHMcSuPCPKqw-9" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="669.97" y="-509.88" as="targetPoint" /> + <mxPoint x="719.97" y="-676.88" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="670" y="-570" /> + <mxPoint x="629" y="-570" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="-650" as="sourcePoint" /> + <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1200" y="-650" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-14" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxGeometry x="1040" y="-599.88" width="80" height="40" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="Copy of 2. authentication-circuit" id="KVSpEcm4WbDDJAcKJysv"> + <mxGraphModel dx="677" dy="1217" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="KXn8IlWK5bg8NCUujisa-0" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-1" parent="KXn8IlWK5bg8NCUujisa-0" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-4" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="130" y="-410" width="200" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-5" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-7" target="KXn8IlWK5bg8NCUujisa-4"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="159.89" y="-639.88" as="sourcePoint" /> + <mxPoint x="159.89" y="-589.88" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-6" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-4" target="KXn8IlWK5bg8NCUujisa-41"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" /> + <mxPoint x="230" y="-320" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-7" value="<div style="font-size: 11px;">$$\text{ballotProof}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="140" y="-736.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-9" target="KXn8IlWK5bg8NCUujisa-4"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="560" y="-440" as="sourcePoint" /> + <mxPoint x="760" y="-470.88" as="targetPoint" /> + <Array as="points"> + <mxPoint x="512" y="-440" /> + <mxPoint x="280" y="-440" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="270" y="-509.88" width="390" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-11" target="KXn8IlWK5bg8NCUujisa-50"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-11" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1050" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.702;entryY=0.009;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-14" target="KXn8IlWK5bg8NCUujisa-18"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1240" y="-309.88" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-14" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1200" y="-736.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-18" target="KXn8IlWK5bg8NCUujisa-43"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1200" y="-320" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-18" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1100" y="-410" width="200" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" target="KXn8IlWK5bg8NCUujisa-18"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1080" y="-629.88" as="sourcePoint" /> + <mxPoint x="1140" y="-320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1140" y="-630" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-40"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="880" y="-309.8800000000001" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.82;entryY=0.005;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-50" target="KXn8IlWK5bg8NCUujisa-40"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1080" y="-559.88" as="sourcePoint" /> + <mxPoint x="618" y="-509.88" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1080" y="-539.88" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-26" value="VOTER'S PROOF VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="130" y="-219.25" width="560" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-28" value="AUTHENTICATION + NON-MALLEABILITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1080" y="-219.25" width="230" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-29" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="400" y="-509.88" width="20" height="561.25" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-31" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1184.19" y="-348" width="20" height="237.5" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-33"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="385" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-33" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="350" y="-736.88" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-35"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="460" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-35" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="430" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-36" value="$$\text{encryptedBallot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="500" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-38"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="305" y="-510" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-38" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="270" y="-736.88" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-40"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="650" y="-510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1009" y="-530" /> + <mxPoint x="1000" y="-530" /> + <mxPoint x="1000" y="-540" /> + <mxPoint x="650" y="-540" /> + <mxPoint x="650" y="-510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-40" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="982" y="-559.88" width="60" height="39.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-41" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="190" y="-309.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-43" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1160" y="-309.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-44" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="640" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-45" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="570" y="-736.88" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-36"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="530" y="-510" as="targetPoint" /> + <mxPoint x="520" y="-660" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="530" y="-510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-45"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="-510" as="targetPoint" /> + <mxPoint x="700" y="-600" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="600" y="-610" /> + <mxPoint x="600" y="-610" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.92;entryY=0.019;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-44" target="KXn8IlWK5bg8NCUujisa-9"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="669.97" y="-509.88" as="targetPoint" /> + <mxPoint x="719.97" y="-676.88" as="sourcePoint" /> + <Array as="points"> + <mxPoint x="670" y="-570" /> + <mxPoint x="629" y="-570" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" target="KXn8IlWK5bg8NCUujisa-18"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="-650" as="sourcePoint" /> + <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1200" y="-650" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-50" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="1040" y="-599.88" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="2DXNI-Av7wMyQZ8m3Fvy-1" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="KXn8IlWK5bg8NCUujisa-1"> + <mxGeometry x="850" y="-309.88" width="60" height="40" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="3. aggregate-circuit" id="88JFnn8AstWJnzEelpN0"> + <mxGraphModel dx="1233" dy="728" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="vWYVikCydA5HvOjBRwIf-0" /> + <mxCell id="vWYVikCydA5HvOjBRwIf-1" parent="vWYVikCydA5HvOjBRwIf-0" /> + <mxCell id="i_wgu6sUIYtOpveSoJkK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry x="30" y="60" width="790" height="260" as="geometry" /> + </mxCell> + <mxCell id="i_wgu6sUIYtOpveSoJkK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry x="50" y="135" width="750" height="95" as="geometry" /> + </mxCell> + <mxCell id="mhMekiSe2uiXRmLYm047-1" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="310.00000000000006" y="80" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="710" y="80" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="540" y="80.00000000000011" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="630" y="80.00000000000011" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-7" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="230" y="80.00000000000011" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-8" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="450" y="80.00000000000011" width="70" height="40" as="geometry" /> + </mxCell> + <mxCell id="VWBkZtje_WCXQabFDbId-11" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="390" y="80" width="40" height="40" as="geometry" /> + </mxCell> + <mxCell id="QCU0WVTcZCZ_NDvB6I_U-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="385" y="270" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="QCU0WVTcZCZ_NDvB6I_U-15" value="" style="endArrow=classic;html=1;rounded=0;" parent="vWYVikCydA5HvOjBRwIf-1" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="138.83000000000004" y="120" as="sourcePoint" /> + <mxPoint x="138.83000000000004" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-0" value="SHARED PUBLIC INPUTS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="458" y="354.01" width="319" height="40" as="geometry" /> + </mxCell> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="606.87" y="176.93" width="20" height="326.16" as="geometry" /> + </mxCell> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-2" value="VOTES AGGREGATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="73" y="354.01" width="360" height="40" as="geometry" /> + </mxCell> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="242.82" y="156.88" width="20" height="366.25" as="geometry" /> + </mxCell> + <mxCell id="KYVxoJJrrN6A2haL3CTe-1" value="<div style="font-size: 11px;">$$\text{authenticationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="70" y="80" width="140" height="40" as="geometry" /> + </mxCell> + <mxCell id="YQak7JiX628nDuEKiX8z-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="vWYVikCydA5HvOjBRwIf-1" source="YQak7JiX628nDuEKiX8z-0" target="QCU0WVTcZCZ_NDvB6I_U-1" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="YQak7JiX628nDuEKiX8z-0" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> + <mxGeometry x="70" y="160" width="710" height="40" as="geometry" /> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-2" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="259.65999999999997" y="120" as="sourcePoint" /> + <mxPoint x="259.65999999999997" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-3" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="339.65999999999997" y="120" as="sourcePoint" /> + <mxPoint x="339.65999999999997" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-4" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="409.66" y="120" as="sourcePoint" /> + <mxPoint x="409.66" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-5" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="484.83" y="120" as="sourcePoint" /> + <mxPoint x="484.83" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-6" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="574.83" y="120" as="sourcePoint" /> + <mxPoint x="574.83" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-7" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="659.83" y="120" as="sourcePoint" /> + <mxPoint x="659.83" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="52VyXC8j5xGTEDYuN6SN-8" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="744.83" y="120" as="sourcePoint" /> + <mxPoint x="744.83" y="160" as="targetPoint" /> + </mxGeometry> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="4. state-transition-circuit" id="PK6FMuq_bwtaiANtLuxe"> + <mxGraphModel dx="3782" dy="1928" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-0" /> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-1" parent="D6Gzr2-08hJ62fW1Y4SW-0" /> + <mxCell id="ojYA5p9BOs-s12dUr8XO-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" /> + </mxCell> + <mxCell id="ojYA5p9BOs-s12dUr8XO-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-0" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-7" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="290" y="480" width="160" height="60" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="915" y="347" width="355" height="113" as="geometry" /> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-10" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-3" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-10" target="yhMjlz7L6oX0I03LSNM_-0" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="640" y="-30" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-26" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="SGKnkJu5_sYSCg57PFAC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-8"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="779.67" y="230" as="sourcePoint" /> + <mxPoint x="779.67" y="620" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-9" target="xZoSSO8U0oyJhFnYmJBx-5"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="505" y="1220" as="sourcePoint" /> + <mxPoint x="505" y="1220" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25" edge="1" target="EZ67WfkGteQ7pZBN_wck-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1280" y="405" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1390" y="830" /> + <mxPoint x="1390" y="405" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-24"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="680" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-24" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="620" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="540" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-25" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="480" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-26" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="900" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-27" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="760" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-34" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-0" target="kZ82RYXQcsU66MAzuXJf-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-145" y="-10" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="kZ82RYXQcsU66MAzuXJf-0" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" /> + </mxCell> + <mxCell id="kZ82RYXQcsU66MAzuXJf-1" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" /> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-3" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="520.09" y="-60" as="sourcePoint" /> + <mxPoint x="520" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="kZ82RYXQcsU66MAzuXJf-1" edge="1"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="320" y="-120" as="sourcePoint" /> + <mxPoint x="570" y="-110" as="targetPoint" /> + <Array as="points"> + <mxPoint x="120" y="-120" /> + <mxPoint x="120" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="yhMjlz7L6oX0I03LSNM_-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="yhMjlz7L6oX0I03LSNM_-0" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" /> + <mxPoint x="640" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="yhMjlz7L6oX0I03LSNM_-0" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D1O2pzwOY9OCH-spyj_d-0" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" /> + </mxCell> + <mxCell id="yhMjlz7L6oX0I03LSNM_-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-24" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="898.95" y="-80" as="sourcePoint" /> + <mxPoint x="900" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="yhMjlz7L6oX0I03LSNM_-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-20" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1059.47" y="-80" as="sourcePoint" /> + <mxPoint x="1060" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="yhMjlz7L6oX0I03LSNM_-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1199.47" y="-80" as="sourcePoint" /> + <mxPoint x="1199" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-11" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="jH9XEzTzumLLzgrA1KFi-0" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-1" target="jH9XEzTzumLLzgrA1KFi-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint y="310" as="targetPoint" /> + <mxPoint y="240" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="jH9XEzTzumLLzgrA1KFi-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="0c9yVQNtpXtt_NukVZet-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-4" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="400" y="-80" as="sourcePoint" /> + <mxPoint x="400" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-9" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-8" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-23" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-24" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-20" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-21" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="RKRk78QnPbcHQFYOCmT4-4" target="xZoSSO8U0oyJhFnYmJBx-5"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-0" target="I46Z3Tsccw4bTtzRbnAU-3"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="320" y="730" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-0" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3" target="xZoSSO8U0oyJhFnYmJBx-5"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="440" y="730" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-3" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="360" y="490" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-18" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-31" target="RKRk78QnPbcHQFYOCmT4-4"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="512" y="320" as="sourcePoint" /> + <mxPoint x="560" y="580" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-9"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="596.5" y="300" as="sourcePoint" /> + <mxPoint x="596.5" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-7"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="870" y="300" as="sourcePoint" /> + <mxPoint x="870" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-13"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.5" y="250" as="sourcePoint" /> + <mxPoint x="979.5" y="500" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-17"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1109" y="250" as="sourcePoint" /> + <mxPoint x="1109" y="500" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-11"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1219.5" y="300" as="sourcePoint" /> + <mxPoint x="1219.5" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="779.29" y="440" as="sourcePoint" /> + <mxPoint x="779" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="779" y="520" /> + <mxPoint x="779" y="520" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="KAu6sMc1Uvy6INGLTeTi-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.41" y="350" as="sourcePoint" /> + <mxPoint x="980" y="610" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-31" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" /> + </mxCell> + <mxCell id="D6Gzr2-08hJ62fW1Y4SW-31" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="360" y="80" width="880" height="220" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-7" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="830" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="740" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-9" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="557" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="RKRk78QnPbcHQFYOCmT4-4" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="472" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="869.9499999999999" y="450" as="sourcePoint" /> + <mxPoint x="870" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="869.66" y="530" /> + <mxPoint x="869.66" y="530" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-20"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="550" y="520" as="sourcePoint" /> + <mxPoint x="550" y="570" as="targetPoint" /> + <Array as="points"> + <mxPoint x="549.71" y="550" /> + <mxPoint x="549.71" y="550" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1109.41" y="350" as="sourcePoint" /> + <mxPoint x="1110" y="610" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" /> + <mxPoint x="1219" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1219.12" y="530" /> + <mxPoint x="1219.12" y="530" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-13" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="920" y="360" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-17" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-12" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="920" y="410" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-18" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="550" y="520" as="sourcePoint" /> + <mxPoint x="550" y="610" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="I46Z3Tsccw4bTtzRbnAU-20" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="510" y="543" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-5" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="470" y="490" width="170" height="40" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="539.41" y="720" as="sourcePoint" /> + <mxPoint x="539.41" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="679.6" y="720" as="sourcePoint" /> + <mxPoint x="679.6" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="820" y="720" as="sourcePoint" /> + <mxPoint x="820" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-12" value="" style="group" vertex="1" connectable="0" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="360" y="610" width="880" height="160" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="110" as="sourcePoint" /> + <mxPoint x="600" y="200" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="720" y="110" as="sourcePoint" /> + <mxPoint x="720" y="200" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-3" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" parent="c3b2KowYPhYfo68HtMrI-12" vertex="1"> + <mxGeometry width="880" height="160" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxGeometry x="10" y="50" width="350" height="100" as="geometry" /> + </mxCell> + <mxCell id="c3b2KowYPhYfo68HtMrI-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxGeometry x="375" y="50" width="495" height="100" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-430" y="604.47" as="sourcePoint" /> + <mxPoint x="200" y="510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="400" y="570" /> + <mxPoint x="200" y="570" /> + <mxPoint x="200" y="510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-5" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="230" y="550" width="100" height="40" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-8" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="290" y="340" width="130" height="53" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="EZ67WfkGteQ7pZBN_wck-8" target="EZ67WfkGteQ7pZBN_wck-8"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1079.38" y="850" as="sourcePoint" /> + <mxPoint x="1079.38" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-20" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="620" y="960" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-21" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="480" y="960" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="EZ67WfkGteQ7pZBN_wck-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="760" y="-130" as="sourcePoint" /> + <mxPoint x="760" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="xZoSSO8U0oyJhFnYmJBx-2" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> + <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" /> + </mxCell> + <mxCell id="GPVaXYSz-EfsHx1UZKMQ-0" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" /> + </mxCell> + <mxCell id="3ep81gfC2W1f0rtrtprN-0" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" /> + </mxCell> + <mxCell id="3ep81gfC2W1f0rtrtprN-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" /> + </mxCell> + <mxCell id="3ep81gfC2W1f0rtrtprN-2" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" /> + </mxCell> + <mxCell id="3ep81gfC2W1f0rtrtprN-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="Copy of 4." id="SfqXgv12DMmRO-l3Q4tj"> + <mxGraphModel dx="2264" dy="1396" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-0" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-1" parent="ZHVPnpmu-zi4kkNDXHjC-0" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-2" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-3" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-5" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="290" y="480" width="160" height="60" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="915" y="347" width="355" height="113" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-10" target="ZHVPnpmu-zi4kkNDXHjC-30"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="640" y="-30" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-65"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="779.67" y="230" as="sourcePoint" /> + <mxPoint x="779.67" y="620" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-66" target="ZHVPnpmu-zi4kkNDXHjC-79"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="505" y="1220" as="sourcePoint" /> + <mxPoint x="505" y="1220" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20" target="ZHVPnpmu-zi4kkNDXHjC-6"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1280" y="405" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1390" y="830" /> + <mxPoint x="1390" y="405" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-16" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-18"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="680" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-18" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="620" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="540" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-20" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="480" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-21" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="900" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-22" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="760" y="810" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-25" target="ZHVPnpmu-zi4kkNDXHjC-26"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-145" y="-10" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-25" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-26" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-8"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="520.09" y="-60" as="sourcePoint" /> + <mxPoint x="520" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-28" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-26"> + <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxPoint x="320" y="-120" as="sourcePoint" /> + <mxPoint x="570" y="-110" as="targetPoint" /> + <Array as="points"> + <mxPoint x="120" y="-120" /> + <mxPoint x="120" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-30"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" /> + <mxPoint x="640" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-30" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-31" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-45"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="898.95" y="-80" as="sourcePoint" /> + <mxPoint x="900" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-46"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1059.47" y="-80" as="sourcePoint" /> + <mxPoint x="1060" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1199.47" y="-80" as="sourcePoint" /> + <mxPoint x="1199" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-35" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-26" target="ZHVPnpmu-zi4kkNDXHjC-37"> + <mxGeometry relative="1" as="geometry"> + <mxPoint y="310" as="targetPoint" /> + <mxPoint y="240" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-39"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="400" y="-80" as="sourcePoint" /> + <mxPoint x="400" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-39" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-40" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-43" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-44" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-45" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-46" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-47" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-67" target="ZHVPnpmu-zi4kkNDXHjC-79"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-50" target="ZHVPnpmu-zi4kkNDXHjC-52"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="320" y="730" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-50" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-51" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52" target="ZHVPnpmu-zi4kkNDXHjC-79"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="440" y="730" as="sourcePoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-52" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="490" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-53" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-54" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-63" target="ZHVPnpmu-zi4kkNDXHjC-67"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="512" y="320" as="sourcePoint" /> + <mxPoint x="560" y="580" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-55" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-66"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="596.5" y="300" as="sourcePoint" /> + <mxPoint x="596.5" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-64"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="870" y="300" as="sourcePoint" /> + <mxPoint x="870" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-72"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.5" y="250" as="sourcePoint" /> + <mxPoint x="979.5" y="500" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-73"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1109" y="250" as="sourcePoint" /> + <mxPoint x="1109" y="500" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-59" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-74"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1219.5" y="300" as="sourcePoint" /> + <mxPoint x="1219.5" y="550" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="779.29" y="440" as="sourcePoint" /> + <mxPoint x="779" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="779" y="520" /> + <mxPoint x="779" y="520" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.41" y="350" as="sourcePoint" /> + <mxPoint x="980" y="610" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-62" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-63" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="80" width="880" height="220" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-64" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="830" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-65" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="740" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-66" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="557" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-67" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="472" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-68" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="869.9499999999999" y="450" as="sourcePoint" /> + <mxPoint x="870" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="869.66" y="530" /> + <mxPoint x="869.66" y="530" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-69" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-78"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="550" y="520" as="sourcePoint" /> + <mxPoint x="550" y="570" as="targetPoint" /> + <Array as="points"> + <mxPoint x="549.71" y="550" /> + <mxPoint x="549.71" y="550" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-70" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1109.41" y="350" as="sourcePoint" /> + <mxPoint x="1110" y="610" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-71" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" /> + <mxPoint x="1219" y="610" as="targetPoint" /> + <Array as="points"> + <mxPoint x="1219.12" y="530" /> + <mxPoint x="1219.12" y="530" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-72" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="920" y="360" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-73" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-74" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-75" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="920" y="410" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-76" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-77" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="550" y="520" as="sourcePoint" /> + <mxPoint x="550" y="610" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-78" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="510" y="543" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-79" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="470" y="490" width="170" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-80" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="539.41" y="720" as="sourcePoint" /> + <mxPoint x="539.41" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-81" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="679.6" y="720" as="sourcePoint" /> + <mxPoint x="679.6" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-82" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="820" y="720" as="sourcePoint" /> + <mxPoint x="820" y="810" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-83" value="" style="group" vertex="1" connectable="0" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="360" y="610" width="880" height="160" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-84" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="600" y="110" as="sourcePoint" /> + <mxPoint x="600" y="200" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-85" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="720" y="110" as="sourcePoint" /> + <mxPoint x="720" y="200" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-86" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> + <mxGeometry width="880" height="160" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-87" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> + <mxGeometry x="10" y="50" width="350" height="100" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-88" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> + <mxGeometry x="375" y="50" width="495" height="100" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-89" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-430" y="604.47" as="sourcePoint" /> + <mxPoint x="200" y="510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="400" y="570" /> + <mxPoint x="200" y="570" /> + <mxPoint x="200" y="510" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-90" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="230" y="550" width="100" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-91" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="290" y="340" width="130" height="53" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-92" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-91" target="ZHVPnpmu-zi4kkNDXHjC-91"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-93" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1079.38" y="850" as="sourcePoint" /> + <mxPoint x="1079.38" y="960" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-94" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="620" y="960" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-95" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="480" y="960" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="760" y="-130" as="sourcePoint" /> + <mxPoint x="760" y="80" as="targetPoint" /> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-97" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-98" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-99" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-101" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> + <diagram name="5. results-circuit" id="vOdGFxvcKQLxlt7TpMJr"> + <mxGraphModel dx="1850" dy="1092" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="bshJnAdmZ42-ucYETjzj-0" /> + <mxCell id="bshJnAdmZ42-ucYETjzj-1" parent="bshJnAdmZ42-ucYETjzj-0" /> + <mxCell id="njsKSg5quu9oUWfDPbnt-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="80" y="50" width="1170" height="530" as="geometry" /> + </mxCell> + <mxCell id="EhFKpIqwLm2i5KqQf0Kn-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="120" y="140" width="1090" height="360" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.9;entryY=-0.003;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-11" target="bshJnAdmZ42-ucYETjzj-63"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-11" value="$$\text{stateRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="1100" y="80" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="bshJnAdmZ42-ucYETjzj-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="505" y="1200" as="sourcePoint" /> + <mxPoint x="505" y="1200" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="940" y="520" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="150" y="80" width="50" height="40" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-46" target="w11Yu14kjo9wnOEZIBzt-0"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-46" value="<div>$$\text{resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="610" y="80" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-47" target="w11Yu14kjo9wnOEZIBzt-0"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-47" value="<div>$$\text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="470" y="80" width="120" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-53" value="" style="text;whiteSpace=wrap;html=1;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> + </mxCell> + <mxCell id="32wBmxPFM4Aquibm1vis-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-63" target="bshJnAdmZ42-ucYETjzj-37"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="980" y="400" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-63" value="<div align="center">Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br></div><div align="center">0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd</b>, 0x5 = <b>resultsAdd</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="780" y="200" width="400" height="80" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.351;entryY=-0.006;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-97" target="bshJnAdmZ42-ucYETjzj-63"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-97" value="<div>$$\text{MTProofs}_i \text{ for } \text{EPK, resultsSub, resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="780" y="80" width="280" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-99" value="DECRYPTION KEY CORRECTNESS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="140" y="627.1800000000001" width="180" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="219.68" y="517.5" width="20" height="180" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-101" value="RESULTS INTEGRITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="760" y="627.1800000000001" width="420" height="40" as="geometry" /> + </mxCell> + <mxCell id="bshJnAdmZ42-ucYETjzj-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> + <mxGeometry x="961.24" y="396.27" width="20" height="422.49" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.112;entryY=-0.025;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="32wBmxPFM4Aquibm1vis-2" target="w11Yu14kjo9wnOEZIBzt-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="365" y="200" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="32wBmxPFM4Aquibm1vis-2" value="$$ESK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="340" y="80" width="50" height="40" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.907;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-0" target="w11Yu14kjo9wnOEZIBzt-1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-0" value="<div>$$\text{encryptedResults} = \text{resultsAdd} - \text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="460" y="200" width="280" height="40" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-1" value="<div>$$\text{results} = \text{Dec}_{ESK}(\text{encryptedResults})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="340" y="320" width="230" height="40" as="geometry" /> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="365" y="160" as="sourcePoint" /> + <mxPoint x="260" y="200" as="targetPoint" /> + <Array as="points"> + <mxPoint x="260" y="160" /> + </Array> + </mxGeometry> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="490" y="430" as="sourcePoint" /> + <mxPoint x="455" y="520" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="w11Yu14kjo9wnOEZIBzt-11" value="$$\text{results}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="415" y="520" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-41"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="175" y="330" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="MAhqL2grAOHlyQJotUcC-0"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="260" y="330" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-0" value="<div>$$scalarMul()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="220" y="200" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-5" value="<div>$$isEqual()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="150" y="330" width="130" height="40" as="geometry" /> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-6" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="175" y="520" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" target="MAhqL2grAOHlyQJotUcC-6" source="MAhqL2grAOHlyQJotUcC-5"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="220" y="370" as="sourcePoint" /> + <mxPoint x="220" y="400" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-8" value="RESULTS CALCULATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="344" y="627.1800000000001" width="390" height="40" as="geometry" /> + </mxCell> + <mxCell id="MAhqL2grAOHlyQJotUcC-9" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxGeometry x="529.06" y="408.13" width="20" height="398.75" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> +</mxfile>
@@ -1,55 +0,0 @@
-<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" version="28.1.1"> - <diagram name="Copy of Page-1" id="s9rVSSMqwi_BMs1X_iMG"> - <mxGraphModel dx="706" dy="471" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"> - <root> - <mxCell id="3pWEPM-DWOqgcgeheKjC-0" /> - <mxCell id="3pWEPM-DWOqgcgeheKjC-1" parent="3pWEPM-DWOqgcgeheKjC-0" /> - <mxCell id="0uB5nztOJnYtSxoqNcwR-5" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="180" y="110" width="490" height="230" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-2" value="<ul><li><b><font face="Courier New">numFields</font></b>: number of fields per ballot (in this case, <font face="Courier New"><b>numFields</b></font> = 3).</li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="170" y="170" width="490" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-7" value="<ul><li><b><font face="Courier New">minValue </font></b><font face="Courier New">&lt;=</font>&nbsp; x, y, z&nbsp; <font face="Courier New">&lt;=&nbsp;</font><b><font face="Courier New">maxValue</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="170" y="250" width="269.5" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-8" value="" style="group" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1" connectable="0"> - <mxGeometry x="170" y="288" width="520" height="32" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-9" value="<ul><li><b><font face="Courier New">minValueSum&nbsp;</font></b><font face="Courier New">&lt;=</font>&nbsp; x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + y&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + z&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font face="Courier New">&lt;=</font><b><font face="Courier New">&nbsp;maxValueSum</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1"> - <mxGeometry y="2" width="520" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-10" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1"> - <mxGeometry x="154.25" y="1" width="65.75" height="20" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-11" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1"> - <mxGeometry x="230" y="1" width="65.75" height="20" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-12" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1"> - <mxGeometry x="307" width="65.75" height="20" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-17" value="Ballot" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=5;fontSize=14;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="199.5" y="130" width="60.5" height="30" as="geometry" /> - </mxCell> - <mxCell id="0uB5nztOJnYtSxoqNcwR-0" value="x" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="260" y="130" width="40" height="30" as="geometry" /> - </mxCell> - <mxCell id="0uB5nztOJnYtSxoqNcwR-1" value="y" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="300" y="130" width="40" height="30" as="geometry" /> - </mxCell> - <mxCell id="0uB5nztOJnYtSxoqNcwR-2" value="z" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="340" y="130" width="40" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-14" value="<ul><li><b><font face="Courier New">uniqueValues =&nbsp;</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="169.75" y="210" width="160" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-15" value="<div><font face="Courier New"><b>true </b></font><font face="Helvetica">: x, y, z must be different.</font></div><div><font face="Courier New"><b>false </b></font><font face="Helvetica">: x, y, z can be different.</font></div>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;spacingBottom=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="338.25" y="210" width="211.75" height="30" as="geometry" /> - </mxCell> - <mxCell id="3pWEPM-DWOqgcgeheKjC-16" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;size=0.5;rotation=-180;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1"> - <mxGeometry x="324.25" y="210" width="10" height="30" as="geometry" /> - </mxCell> - </root> - </mxGraphModel> - </diagram> -</mxfile>
@@ -1,1559 +1,1293 @@
-<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0" version="28.1.1" pages="6"> - <diagram name="1. voter-circuit" id="-BY3RIMELlOST2Ke_Soi"> - <mxGraphModel dx="945" dy="517" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> +<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0" version="29.2.1" pages="6"> + <diagram name="1. voter" id="-BY3RIMELlOST2Ke_Soi"> + <mxGraphModel dx="1112" dy="554" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> <root> <mxCell id="9w8_UW6vJWkl_njZVMp4-0" /> <mxCell id="9w8_UW6vJWkl_njZVMp4-1" parent="9w8_UW6vJWkl_njZVMp4-0" /> - <mxCell id="nvt69mghrfZXCWMQVhOf-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="400" y="50" width="820" height="310" as="geometry" /> + <mxCell id="nvt69mghrfZXCWMQVhOf-0" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="310" width="820" x="400" y="50" as="geometry" /> </mxCell> - <mxCell id="nvt69mghrfZXCWMQVhOf-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="420" y="140" width="780" height="130" as="geometry" /> + <mxCell id="nvt69mghrfZXCWMQVhOf-1" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Courier New;" value="" vertex="1"> + <mxGeometry height="130" width="780" x="420" y="140" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-4" value="<div>\(\text{protocolRulesCompliance}(\text{ballotMode, weight, ballot})\)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="440" y="190" width="320" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-4" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="<div>\(\text{protocolRulesCompliance}(\text{ballotMode, weight, ballot})\)</div>" vertex="1"> + <mxGeometry height="40" width="320" x="440" y="190" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.125;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-6" target="9w8_UW6vJWkl_njZVMp4-4" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-5" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.125;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" target="9w8_UW6vJWkl_njZVMp4-4" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-6" value="$$\text{ballotMode}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="440" y="80" width="80" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-6" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{ballotMode}$$" vertex="1"> + <mxGeometry height="40" width="80" x="440" y="80" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.165;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-7" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.165;entryY=-0.015;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" target="9w8_UW6vJWkl_njZVMp4-14" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="720" y="160" as="sourcePoint" /> <Array as="points"> <mxPoint x="810" y="160" /> </Array> + <mxPoint x="720" y="160" as="sourcePoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-9" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-8" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;fontFamily=Courier New;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="720" y="190" as="targetPoint" /> <Array as="points"> <mxPoint x="720" y="190" /> </Array> + <mxPoint x="720" y="190" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-9" value="$$\text{ballot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="680" y="80" width="80" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-9" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{ballot}$$" vertex="1"> + <mxGeometry height="40" width="80" x="680" y="80" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.445;entryY=0.014;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-10" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.445;entryY=0.014;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" target="9w8_UW6vJWkl_njZVMp4-14" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="860" y="120" as="sourcePoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.833;entryY=0.003;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" target="9w8_UW6vJWkl_njZVMp4-14" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-12" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.833;entryY=0.003;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" target="9w8_UW6vJWkl_njZVMp4-14" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="930" y="120" as="sourcePoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-14" value="$$\text{Enc}_{EPK}(\text{ballot}, k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="780" y="190" width="180" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-14" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" value="$$\text{Enc}_{EPK}(\text{ballot}; k)$$" vertex="1"> + <mxGeometry height="40" width="180" x="780" y="190" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-15" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-4" target="9w8_UW6vJWkl_njZVMp4-16" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-15" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-4" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" target="9w8_UW6vJWkl_njZVMp4-16" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="639.58" y="230" as="sourcePoint" /> <mxPoint x="639.58" y="390" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-16" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="560" y="300" width="80" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-16" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="560" y="300" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-17" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-14" target="9w8_UW6vJWkl_njZVMp4-18" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-17" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-14" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" target="9w8_UW6vJWkl_njZVMp4-18" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="880" y="230" as="sourcePoint" /> <mxPoint x="870" y="510" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-18" value="$$(C_1, C_2)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="830" y="300" width="80" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-18" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{encryptedBallot}$$" vertex="1"> + <mxGeometry height="40" width="120" x="810" y="300" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-19" value="PROTOCOL RULES COMPLIANCE" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="430" y="390.63" width="322.35" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-19" parent="9w8_UW6vJWkl_njZVMp4-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" value="PROTOCOL RULES COMPLIANCE" vertex="1"> + <mxGeometry height="40" width="322.35" x="430" y="390.63" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-20" value="VOTE ENCRYPTION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;fontColor=#333333;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="777" y="390.63" width="190" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-20" parent="9w8_UW6vJWkl_njZVMp4-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;fontColor=#333333;" value="VOTE ENCRYPTION" vertex="1"> + <mxGeometry height="40" width="190" x="777" y="390.63" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-21" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="580.39" y="217.12" width="20" height="327.04" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-21" parent="9w8_UW6vJWkl_njZVMp4-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="327.04" width="20" x="580.39" y="217.12" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-22" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="862.52" y="287.87" width="20" height="185.56" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-22" parent="9w8_UW6vJWkl_njZVMp4-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="185.56" width="20" x="862.52" y="287.87" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-24" target="9w8_UW6vJWkl_njZVMp4-4" edge="1"> + <mxCell id="9w8_UW6vJWkl_njZVMp4-23" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="9w8_UW6vJWkl_njZVMp4-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" target="9w8_UW6vJWkl_njZVMp4-4" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="9w8_UW6vJWkl_njZVMp4-24" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="560" y="80" width="80" height="40" as="geometry" /> + <mxCell id="9w8_UW6vJWkl_njZVMp4-24" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{weight}$$" vertex="1"> + <mxGeometry height="40" width="80" x="560" y="80" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-0" value="$$\text{Hash}(\text{processID} || \text{address} || k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="980" y="190" width="200" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-0" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;" value="$$\text{Hash}(\text{processID} || \text{address} || k)$$" vertex="1"> + <mxGeometry height="40" width="200" x="980" y="190" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-1" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-5" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="OdLuYHqov1AF89vjBi5t-1" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-5" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=11;fontFamily=Courier New;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="1150" y="160" as="sourcePoint" /> <mxPoint x="1150" y="190" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-2" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.149;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-4" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="OdLuYHqov1AF89vjBi5t-2" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-4" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.149;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;fontSize=11;fontFamily=Courier New;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="1079.8899999999999" y="150" as="sourcePoint" /> <mxPoint x="1079.8000000000002" y="189.79999999999995" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-3" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-0" target="OdLuYHqov1AF89vjBi5t-6" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="OdLuYHqov1AF89vjBi5t-3" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" source="OdLuYHqov1AF89vjBi5t-0" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;fontFamily=Courier New;" target="OdLuYHqov1AF89vjBi5t-6" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="1079.58" y="230" as="sourcePoint" /> <mxPoint x="1080" y="710" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-4" value="$$\text{processID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="1050" y="80" width="60" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-4" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{processID}$$" vertex="1"> + <mxGeometry height="40" width="60" x="1050" y="80" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-5" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="1120" y="80" width="60" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-5" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{address}$$" vertex="1"> + <mxGeometry height="40" width="60" x="1120" y="80" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-6" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="1050" y="300" width="60" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-6" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{voteID}$$" vertex="1"> + <mxGeometry height="40" width="60" x="1050" y="300" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" edge="1"> + <mxCell id="OdLuYHqov1AF89vjBi5t-7" edge="1" parent="9w8_UW6vJWkl_njZVMp4-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;fontSize=11;fontFamily=Courier New;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="930" y="160" as="sourcePoint" /> - <mxPoint x="1010" y="190" as="targetPoint" /> <Array as="points"> <mxPoint x="930" y="160" /> <mxPoint x="1010" y="160" /> </Array> + <mxPoint x="930" y="160" as="sourcePoint" /> + <mxPoint x="1010" y="190" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-8" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="900" y="80" width="60" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-8" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$k$$" vertex="1"> + <mxGeometry height="40" width="60" x="900" y="80" as="geometry" /> </mxCell> - <mxCell id="OdLuYHqov1AF89vjBi5t-9" value="<div style="font-size: 11px;">$$EPK$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="830.66" y="80" width="60" height="40" as="geometry" /> + <mxCell id="OdLuYHqov1AF89vjBi5t-9" parent="9w8_UW6vJWkl_njZVMp4-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div style="font-size: 11px;">$$EPK$$</div>" vertex="1"> + <mxGeometry height="40" width="60" x="830.66" y="80" as="geometry" /> </mxCell> - <mxCell id="IJeOMj3sBRJv-nG6xJRO-0" value="VOTE ID" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="979.99" y="390.65" width="208.01" height="40" as="geometry" /> + <mxCell id="IJeOMj3sBRJv-nG6xJRO-0" parent="9w8_UW6vJWkl_njZVMp4-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" value="VOTE ID" vertex="1"> + <mxGeometry height="40" width="208.01" x="979.99" y="390.65" as="geometry" /> </mxCell> - <mxCell id="IJeOMj3sBRJv-nG6xJRO-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="9w8_UW6vJWkl_njZVMp4-1" vertex="1"> - <mxGeometry x="1073.44" y="276.99" width="20" height="207.33" as="geometry" /> + <mxCell id="IJeOMj3sBRJv-nG6xJRO-1" parent="9w8_UW6vJWkl_njZVMp4-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="207.33" width="20" x="1073.44" y="276.99" as="geometry" /> </mxCell> </root> </mxGraphModel> </diagram> - <diagram name="2. authentication-circuit" id="o6OCBXuaYOciUBZEVznX"> - <mxGraphModel dx="2056" dy="2063" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <diagram name="2. authentication" id="KVSpEcm4WbDDJAcKJysv"> + <mxGraphModel dx="1350" dy="1523" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> <root> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-0" /> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-1" parent="6AO6W4_8KHMcSuPCPKqw-0" /> - <mxCell id="n4zl9lOKqNB3rH38xvPK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="80" y="-760" width="1280" height="500" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-0" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-1" parent="KXn8IlWK5bg8NCUujisa-0" /> + <mxCell id="r1gjyXKsiLPQaPxgd_rX-0" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="400" width="1200" x="80" y="-760" as="geometry" /> </mxCell> - <mxCell id="n4zl9lOKqNB3rH38xvPK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="110" y="-679.88" width="1220" height="339.88" as="geometry" /> + <mxCell id="r1gjyXKsiLPQaPxgd_rX-1" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="240" width="1140" x="110" y="-680" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-4" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="130" y="-410" width="200" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-4" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" vertex="1"> + <mxGeometry height="40" width="200" x="130" y="-509.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-5" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-7" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="KXn8IlWK5bg8NCUujisa-5" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-7" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" target="KXn8IlWK5bg8NCUujisa-4" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="159.89" y="-639.88" as="sourcePoint" /> <mxPoint x="159.89" y="-589.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-6" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-4" target="6AO6W4_8KHMcSuPCPKqw-47" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> + <mxCell id="KXn8IlWK5bg8NCUujisa-6" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-4" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="KXn8IlWK5bg8NCUujisa-41" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" /> <mxPoint x="230" y="-320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-7" value="<div style="font-size: 11px;">$$\text{voteProof}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="150" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-7" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div style="font-size: 11px;">$$\text{ballotProof}$$</div>" vertex="1"> + <mxGeometry height="40" width="80" x="140" y="-736.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-9" target="6AO6W4_8KHMcSuPCPKqw-4" edge="1"> + <mxCell id="KXn8IlWK5bg8NCUujisa-8" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="KXn8IlWK5bg8NCUujisa-4" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="560" y="-440" as="sourcePoint" /> - <mxPoint x="760" y="-470.88" as="targetPoint" /> <Array as="points"> - <mxPoint x="512" y="-440" /> - <mxPoint x="280" y="-440" /> + <mxPoint x="540" y="-540" /> + <mxPoint x="280" y="-540" /> </Array> + <mxPoint x="560" y="-440" as="sourcePoint" /> + <mxPoint x="760" y="-470.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="270" y="-509.88" width="390" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-9" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="$$\text{public inputs}$$" vertex="1"> + <mxGeometry height="40" width="540" x="270" y="-610" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-13" target="6AO6W4_8KHMcSuPCPKqw-14" edge="1"> + <mxCell id="hb4OR3D8D2NA3x7vyUsM-4" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" target="KXn8IlWK5bg8NCUujisa-18" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-13" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1050" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-11" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;fontStyle=0" value="$$pk$$" vertex="1"> + <mxGeometry height="40" width="60" x="1040" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-13" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" target="KXn8IlWK5bg8NCUujisa-18"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1160" y="-309.88" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-14" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{signature}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1130" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-17" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="KXn8IlWK5bg8NCUujisa-43"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1200" y="-320" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-15" value="$$\text{censusProof}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="770" y="-736.88" width="80" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-18" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" vertex="1"> + <mxGeometry height="40" width="200" x="1020" y="-509.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.702;entryY=0.009;entryDx=0;entryDy=0;entryPerimeter=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-17" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxCell id="KXn8IlWK5bg8NCUujisa-19" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="KXn8IlWK5bg8NCUujisa-50" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1240" y="-309.88" as="targetPoint" /> + <Array as="points"> + <mxPoint x="960" y="-640" /> + </Array> + <mxPoint x="1070" y="-640" as="sourcePoint" /> + <mxPoint x="960" y="-600" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-17" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1200" y="-736.88" width="80" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-21" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="T_W0siPKbHqr28-VhzBB-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="T_W0siPKbHqr28-VhzBB-1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1012" y="-520" as="sourcePoint" /> + <mxPoint x="880" y="-309.8800000000001" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-19" edge="1"> + <mxCell id="KXn8IlWK5bg8NCUujisa-25" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" source="KXn8IlWK5bg8NCUujisa-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" target="T_W0siPKbHqr28-VhzBB-0" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="900" y="-470" as="targetPoint" /> + <Array as="points"> + <mxPoint x="960" y="-550" /> + <mxPoint x="960" y="-550" /> + </Array> + <mxPoint x="1080" y="-559.88" as="sourcePoint" /> + <mxPoint x="1031.1999999999998" y="-559.6806" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-19" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="860" y="-736.88" width="80" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-26" parent="KXn8IlWK5bg8NCUujisa-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" value="VOTER'S PROOF VERIFICATION" vertex="1"> + <mxGeometry height="40" width="700" x="130" y="-319.25" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-28" parent="KXn8IlWK5bg8NCUujisa-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" value="AUTHENTICATION + NON-MALLEABILITY" vertex="1"> + <mxGeometry height="40" width="400" x="850" y="-319.25" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-29" parent="KXn8IlWK5bg8NCUujisa-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="699.88" width="20" x="469.32" y="-679.2" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-31" parent="KXn8IlWK5bg8NCUujisa-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="402" width="20" x="1038.44" y="-530.25" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-21" target="6AO6W4_8KHMcSuPCPKqw-49" edge="1"> + <mxCell id="KXn8IlWK5bg8NCUujisa-33" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{ballotMode}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="350" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-35" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="60" x="430" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-36" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{encryptedBallot}$$" vertex="1"> + <mxGeometry height="40" width="100" x="500" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-38" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{processID}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="270" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-41" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="190" y="-410" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-43" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="1080" y="-410" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-44" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{weight}$$" vertex="1"> + <mxGeometry height="40" width="60" x="680" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-45" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{voteID}$$" vertex="1"> + <mxGeometry height="40" width="60" x="610" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="KXn8IlWK5bg8NCUujisa-49" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" target="T_W0siPKbHqr28-VhzBB-0" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1200" y="-320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="880" y="-650" /> + </Array> + <mxPoint x="780" y="-650" as="sourcePoint" /> + <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-21" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1100" y="-410" width="200" height="40" as="geometry" /> + <mxCell id="KXn8IlWK5bg8NCUujisa-50" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="$$\text{Hash}(pk)$$" vertex="1"> + <mxGeometry height="40" width="80" x="920" y="-610" as="geometry" /> + </mxCell> + <mxCell id="2DXNI-Av7wMyQZ8m3Fvy-1" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{address}$$" vertex="1"> + <mxGeometry height="40" width="60" x="750" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="T_W0siPKbHqr28-VhzBB-0" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="<div>$$\text{address} =? \text{ Hash}(pk)$$</div>" vertex="1"> + <mxGeometry height="40" width="160" x="840" y="-509.88" as="geometry" /> + </mxCell> + <mxCell id="T_W0siPKbHqr28-VhzBB-1" parent="KXn8IlWK5bg8NCUujisa-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="880" y="-410" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxCell id="xwY2sogMTx5f3gTPRE-l-4" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1080" y="-629.88" as="sourcePoint" /> - <mxPoint x="1140" y="-320" as="targetPoint" /> <Array as="points"> - <mxPoint x="1140" y="-630" /> + <mxPoint x="384.40999999999997" y="-646.88" /> + <mxPoint x="384.40999999999997" y="-646.88" /> </Array> + <mxPoint x="384.40999999999997" y="-696.88" as="sourcePoint" /> + <mxPoint x="384.40999999999997" y="-609.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1"> + <mxCell id="xwY2sogMTx5f3gTPRE-l-5" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="950" y="-540" as="sourcePoint" /> - <mxPoint x="950" y="-470" as="targetPoint" /> <Array as="points"> - <mxPoint x="950" y="-480" /> + <mxPoint x="310" y="-647" /> + <mxPoint x="310" y="-647" /> </Array> + <mxPoint x="310" y="-697" as="sourcePoint" /> + <mxPoint x="310" y="-610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-25" target="6AO6W4_8KHMcSuPCPKqw-48" edge="1"> + <mxCell id="xwY2sogMTx5f3gTPRE-l-6" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="880" y="-320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="459.83" y="-646.88" /> + <mxPoint x="459.83" y="-646.88" /> + </Array> + <mxPoint x="459.83" y="-696.88" as="sourcePoint" /> + <mxPoint x="459.83" y="-609.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-25" value="<div>$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="720" y="-469.88" width="320" height="40" as="geometry" /> + <mxCell id="xwY2sogMTx5f3gTPRE-l-7" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> + <mxGeometry relative="1" as="geometry"> + <Array as="points"> + <mxPoint x="550" y="-646.88" /> + <mxPoint x="550" y="-646.88" /> + </Array> + <mxPoint x="550" y="-696.88" as="sourcePoint" /> + <mxPoint x="550" y="-609.88" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-26" value="" style="endArrow=classic;html=1;rounded=0;fontSize=11;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="670" y="-630" as="sourcePoint" /> - <mxPoint x="770" y="-470" as="targetPoint" /> + <mxCell id="xwY2sogMTx5f3gTPRE-l-8" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> + <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="770" y="-630" /> - <mxPoint x="770" y="-510" /> + <mxPoint x="639.83" y="-646.88" /> + <mxPoint x="639.83" y="-646.88" /> </Array> + <mxPoint x="639.83" y="-696.88" as="sourcePoint" /> + <mxPoint x="639.83" y="-609.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-15" edge="1"> + <mxCell id="xwY2sogMTx5f3gTPRE-l-9" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="810" y="-470" as="targetPoint" /> - <mxPoint x="819.71" y="-669.88" as="sourcePoint" /> <Array as="points"> - <mxPoint x="810" y="-470" /> + <mxPoint x="709.83" y="-646.88" /> + <mxPoint x="709.83" y="-646.88" /> </Array> + <mxPoint x="709.83" y="-696.88" as="sourcePoint" /> + <mxPoint x="709.83" y="-609.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.82;entryY=0.005;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-14" target="6AO6W4_8KHMcSuPCPKqw-46" edge="1"> + <mxCell id="xwY2sogMTx5f3gTPRE-l-10" edge="1" parent="KXn8IlWK5bg8NCUujisa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.212;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1080" y="-559.88" as="sourcePoint" /> - <mxPoint x="618" y="-509.88" as="targetPoint" /> <Array as="points"> - <mxPoint x="1080" y="-539.88" /> + <mxPoint x="779.83" y="-646.88" /> + <mxPoint x="779.83" y="-646.88" /> </Array> + <mxPoint x="779.83" y="-696.88" as="sourcePoint" /> + <mxPoint x="779.83" y="-609.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-29" value="VOTER'S PROOF VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="130" y="-219.25" width="560" height="40" as="geometry" /> + </root> + </mxGraphModel> + </diagram> + <diagram name="2. authentication (bis)" id="qSWGO9y53fd-XVT_9cLn"> + <mxGraphModel dx="2264" dy="1915" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <root> + <mxCell id="388Bjxzc-1rhyMH9rcjR-0" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-1" parent="388Bjxzc-1rhyMH9rcjR-0" /> + <mxCell id="A7fSoE6CzBmzdETQdoIF-0" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="500" width="1110" x="80" y="-760" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-30" value="CENSUS MEMBERSHIP" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="730" y="-219.25" width="307.19" height="40" as="geometry" /> + <mxCell id="A7fSoE6CzBmzdETQdoIF-1" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="339.88" width="1050" x="110" y="-683.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-31" value="AUTHENTICATION + NON-MALLEABILITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1080" y="-219.25" width="230" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-4" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="$$\text{Proof.verify}(\text{voteProof, public inputs})$$" vertex="1"> + <mxGeometry height="40" width="200" x="130" y="-410" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-32" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="400" y="-509.88" width="20" height="561.25" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-5" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-7" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;fontSize=11;" target="388Bjxzc-1rhyMH9rcjR-4" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="159.89" y="-639.88" as="sourcePoint" /> + <mxPoint x="159.89" y="-589.88" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-33" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="872.19" y="-382.67999999999995" width="20" height="306.87" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-6" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-4" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="388Bjxzc-1rhyMH9rcjR-31" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" /> + <mxPoint x="230" y="-320" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-34" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1184.19" y="-348" width="20" height="237.5" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-7" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div style="font-size: 11px;">$$\text{ballotProof}$$</div>" vertex="1"> + <mxGeometry height="40" width="80" x="140" y="-736.88" as="geometry" /> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-38" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-8" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;fontSize=11;startArrow=none;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="388Bjxzc-1rhyMH9rcjR-4" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="385" y="-510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="540" y="-440" /> + <mxPoint x="280" y="-440" /> + </Array> + <mxPoint x="560" y="-440" as="sourcePoint" /> + <mxPoint x="760" y="-470.88" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-38" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="350" y="-736.88" width="70" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-9" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="$$\text{public inputs}$$" vertex="1"> + <mxGeometry height="40" width="540" x="270" y="-509.88" as="geometry" /> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-39" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-10" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;" target="388Bjxzc-1rhyMH9rcjR-15" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="460" y="-510" as="targetPoint" /> + <Array as="points"> + <mxPoint x="970" y="-670" /> + <mxPoint x="1070" y="-670" /> + </Array> + <mxPoint x="870" y="-670" as="sourcePoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-39" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="430" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="_0NUNidTl2WasRkNqES5-0" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" target="388Bjxzc-1rhyMH9rcjR-38" value=""> + <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-40" value="$$(C_1, C_2)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="500" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-11" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;fontStyle=0" value="$$pk$$" vertex="1"> + <mxGeometry height="40" width="60" x="840" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-12" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" target="388Bjxzc-1rhyMH9rcjR-15"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1160" y="-309.88" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-42" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-13" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{signature}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1050" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-14" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="388Bjxzc-1rhyMH9rcjR-32"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="305" y="-510" as="targetPoint" /> + <mxPoint x="1200" y="-320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="270" y="-736.88" width="70" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-15" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="$$\text{Signature.verify}_{pk}(\text{voteID, signature})$$" vertex="1"> + <mxGeometry height="40" width="200" x="940" y="-509.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-45" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-46" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-17" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="Ed4UcY_SSiyH-G17I0Am-0"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="650" y="-510" as="targetPoint" /> + <mxPoint x="870" y="-570" as="sourcePoint" /> + <mxPoint x="870" y="-310" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-18" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.941;entryY=-0.036;entryDx=0;entryDy=0;jumpStyle=arc;entryPerimeter=0;startArrow=oval;startFill=1;" target="388Bjxzc-1rhyMH9rcjR-9" value=""> + <mxGeometry relative="1" as="geometry"> <Array as="points"> - <mxPoint x="1009" y="-530" /> - <mxPoint x="1000" y="-530" /> - <mxPoint x="1000" y="-540" /> - <mxPoint x="650" y="-540" /> - <mxPoint x="650" y="-510" /> + <mxPoint x="870" y="-560" /> + <mxPoint x="778" y="-560" /> </Array> + <mxPoint x="870" y="-560" as="sourcePoint" /> + <mxPoint x="1031.1999999999998" y="-559.6806" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-46" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="982" y="-559.88" width="60" height="39.88" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-19" parent="388Bjxzc-1rhyMH9rcjR-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" value="VOTER'S PROOF VERIFICATION" vertex="1"> + <mxGeometry height="40" width="700" x="130" y="-219.25" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-47" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="190" y="-309.88" width="80" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-20" parent="388Bjxzc-1rhyMH9rcjR-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" value="AUTHENTICATION + NON-MALLEABILITY" vertex="1"> + <mxGeometry height="40" width="300" x="850" y="-219.25" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-21" parent="388Bjxzc-1rhyMH9rcjR-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="699.88" width="20" x="469.32" y="-579.2" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-48" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="840" y="-309.88" width="80" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-22" parent="388Bjxzc-1rhyMH9rcjR-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="300.25" width="20" x="987.56" y="-379.38" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-23" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="385" y="-510" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-49" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1160" y="-309.88" width="80" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-24" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{ballotMode}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="350" y="-736.88" as="geometry" /> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-50" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="640" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-25" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="460" y="-510" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-51" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="570" y="-736.88" width="60" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-26" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="60" x="430" y="-736.88" as="geometry" /> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-40" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-27" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="530" y="-510" as="targetPoint" /> - <mxPoint x="520" y="-660" as="sourcePoint" /> - <Array as="points"> - <mxPoint x="530" y="-510" /> - </Array> + <mxPoint x="550" y="-510" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-51" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-28" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{encryptedBallot}$$" vertex="1"> + <mxGeometry height="40" width="100" x="500" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-29" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="600" y="-510" as="targetPoint" /> - <mxPoint x="700" y="-600" as="sourcePoint" /> - <Array as="points"> - <mxPoint x="600" y="-610" /> - <mxPoint x="600" y="-610" /> - </Array> + <mxPoint x="305" y="-510" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="GFPi3vpMem_EEXF4PJQ--11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.92;entryY=0.019;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" parent="6AO6W4_8KHMcSuPCPKqw-1" source="6AO6W4_8KHMcSuPCPKqw-50" target="6AO6W4_8KHMcSuPCPKqw-9" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-30" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{processID}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="270" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-31" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="190" y="-320" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-32" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="1000" y="-320" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-33" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{weight}$$" vertex="1"> + <mxGeometry height="40" width="60" x="680" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-34" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{voteID}$$" vertex="1"> + <mxGeometry height="40" width="60" x="610" y="-736.88" as="geometry" /> + </mxCell> + <mxCell id="388Bjxzc-1rhyMH9rcjR-35" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.684;entryY=0.047;entryDx=0;entryDy=0;entryPerimeter=0;" target="388Bjxzc-1rhyMH9rcjR-9"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="669.97" y="-509.88" as="targetPoint" /> - <mxPoint x="719.97" y="-676.88" as="sourcePoint" /> <Array as="points"> - <mxPoint x="670" y="-570" /> - <mxPoint x="629" y="-570" /> + <mxPoint x="640" y="-610" /> + <mxPoint x="639" y="-610" /> </Array> + <mxPoint x="700" y="-600" as="sourcePoint" /> + <mxPoint x="600" y="-510" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;jumpStyle=arc;startArrow=oval;startFill=1;" parent="6AO6W4_8KHMcSuPCPKqw-1" target="6AO6W4_8KHMcSuPCPKqw-21" edge="1"> + <mxCell id="388Bjxzc-1rhyMH9rcjR-36" edge="1" parent="388Bjxzc-1rhyMH9rcjR-1" source="388Bjxzc-1rhyMH9rcjR-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;jumpStyle=arc;"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="600" y="-650" as="sourcePoint" /> - <mxPoint x="1162" y="-318.8800000000001" as="targetPoint" /> <Array as="points"> - <mxPoint x="1200" y="-650" /> + <mxPoint x="710" y="-509" /> </Array> + <mxPoint x="719.97" y="-676.88" as="sourcePoint" /> + <mxPoint x="710" y="-509" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-14" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> - <mxGeometry x="1040" y="-599.88" width="80" height="40" as="geometry" /> + <mxCell id="388Bjxzc-1rhyMH9rcjR-38" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="$$\text{Hash}(pk)$$" vertex="1"> + <mxGeometry height="40" width="80" x="830" y="-640" as="geometry" /> + </mxCell> + <mxCell id="Ed4UcY_SSiyH-G17I0Am-0" parent="388Bjxzc-1rhyMH9rcjR-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{address}$$" vertex="1"> + <mxGeometry height="40" width="60" x="840" y="-320" as="geometry" /> </mxCell> </root> </mxGraphModel> </diagram> - <diagram name="3. aggregate-circuit" id="88JFnn8AstWJnzEelpN0"> - <mxGraphModel dx="1233" dy="728" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <diagram name="3. aggregation" id="88JFnn8AstWJnzEelpN0"> + <mxGraphModel dx="945" dy="471" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> <root> <mxCell id="vWYVikCydA5HvOjBRwIf-0" /> <mxCell id="vWYVikCydA5HvOjBRwIf-1" parent="vWYVikCydA5HvOjBRwIf-0" /> - <mxCell id="i_wgu6sUIYtOpveSoJkK-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="30" y="60" width="790" height="260" as="geometry" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-0" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="260" width="790" x="35" y="60" as="geometry" /> </mxCell> - <mxCell id="i_wgu6sUIYtOpveSoJkK-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="50" y="135" width="750" height="95" as="geometry" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-1" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="95" width="750" x="55" y="135" as="geometry" /> </mxCell> - <mxCell id="mhMekiSe2uiXRmLYm047-1" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="310.00000000000006" y="80" width="60" height="40" as="geometry" /> + <mxCell id="mhMekiSe2uiXRmLYm047-1" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{voteID}_i$$" vertex="1"> + <mxGeometry height="40" width="60" x="350.00000000000006" y="80" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="710" y="80" width="70" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-5" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{ballotMode}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="640" y="80.00000000000011" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="540" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-6" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="60" x="720" y="80.00000000000011" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="630" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-2" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" source="VWBkZtje_WCXQabFDbId-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.293;entryY=-0.001;entryDx=0;entryDy=0;entryPerimeter=0;" target="YQak7JiX628nDuEKiX8z-0" value=""> + <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-7" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="230" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-7" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{encryptedBallot}_i$$</div>" vertex="1"> + <mxGeometry height="40" width="110" x="230" y="80" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-8" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="450" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-8" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{processID}$$</div>" vertex="1"> + <mxGeometry height="40" width="70" x="560" y="80.00000000000011" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-11" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="390" y="80" width="40" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-11" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{address}_i$$" vertex="1"> + <mxGeometry height="40" width="60" x="420" y="80" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="385" y="270" width="80" height="40" as="geometry" /> + <mxCell id="QCU0WVTcZCZ_NDvB6I_U-1" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="390" y="270" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-15" value="" style="endArrow=classic;html=1;rounded=0;" parent="vWYVikCydA5HvOjBRwIf-1" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="138.83000000000004" y="120" as="sourcePoint" /> - <mxPoint x="138.83000000000004" y="160" as="targetPoint" /> + <mxCell id="QCU0WVTcZCZ_NDvB6I_U-15" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="148.83000000000004" y="120" as="sourcePoint" /> + <mxPoint x="148.83000000000004" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="kuW-ZrGGYPgx6TDovwxI-0" value="SHARED PUBLIC INPUTS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="458" y="354.01" width="319" height="40" as="geometry" /> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-0" parent="vWYVikCydA5HvOjBRwIf-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" value="SHARED PUBLIC INPUTS" vertex="1"> + <mxGeometry height="40" width="319" x="458" y="354.01" as="geometry" /> </mxCell> - <mxCell id="kuW-ZrGGYPgx6TDovwxI-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="606.87" y="176.93" width="20" height="326.16" as="geometry" /> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-1" parent="vWYVikCydA5HvOjBRwIf-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="326.16" width="20" x="606.87" y="176.93" as="geometry" /> </mxCell> - <mxCell id="kuW-ZrGGYPgx6TDovwxI-2" value="VOTES AGGREGATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="73" y="354.01" width="360" height="40" as="geometry" /> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-2" parent="vWYVikCydA5HvOjBRwIf-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" value="VOTES AGGREGATION" vertex="1"> + <mxGeometry height="40" width="360" x="73" y="354.01" as="geometry" /> </mxCell> - <mxCell id="kuW-ZrGGYPgx6TDovwxI-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="242.82" y="156.88" width="20" height="366.25" as="geometry" /> + <mxCell id="kuW-ZrGGYPgx6TDovwxI-3" parent="vWYVikCydA5HvOjBRwIf-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="366.25" width="20" x="242.82" y="156.88" as="geometry" /> </mxCell> - <mxCell id="KYVxoJJrrN6A2haL3CTe-1" value="<div style="font-size: 11px;">$$\text{authenticationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="70" y="80" width="140" height="40" as="geometry" /> + <mxCell id="KYVxoJJrrN6A2haL3CTe-1" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div style="font-size: 11px;">$$\text{authenticationProof}_i$$</div>" vertex="1"> + <mxGeometry height="40" width="140" x="80" y="80" as="geometry" /> </mxCell> - <mxCell id="YQak7JiX628nDuEKiX8z-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="vWYVikCydA5HvOjBRwIf-1" source="YQak7JiX628nDuEKiX8z-0" target="QCU0WVTcZCZ_NDvB6I_U-1" edge="1"> + <mxCell id="YQak7JiX628nDuEKiX8z-1" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" source="YQak7JiX628nDuEKiX8z-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" target="QCU0WVTcZCZ_NDvB6I_U-1" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="YQak7JiX628nDuEKiX8z-0" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="vWYVikCydA5HvOjBRwIf-1" vertex="1"> - <mxGeometry x="70" y="160" width="710" height="40" as="geometry" /> + <mxCell id="YQak7JiX628nDuEKiX8z-0" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="recursive SNARK batch verifier" vertex="1"> + <mxGeometry height="40" width="700" x="80" y="160" as="geometry" /> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-2" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="259.65999999999997" y="120" as="sourcePoint" /> - <mxPoint x="259.65999999999997" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="5LdrQF1ocCtSj25F3_tH-0" parent="vWYVikCydA5HvOjBRwIf-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{weight}_i$$" vertex="1"> + <mxGeometry height="40" width="60" x="490" y="80" as="geometry" /> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-3" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="339.65999999999997" y="120" as="sourcePoint" /> - <mxPoint x="339.65999999999997" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-3" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="379.58" y="120" as="sourcePoint" /> + <mxPoint x="379.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-4" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="409.66" y="120" as="sourcePoint" /> - <mxPoint x="409.66" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-4" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="449.58" y="120" as="sourcePoint" /> + <mxPoint x="449.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-5" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="484.83" y="120" as="sourcePoint" /> - <mxPoint x="484.83" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-5" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="519.58" y="120" as="sourcePoint" /> + <mxPoint x="519.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-6" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="574.83" y="120" as="sourcePoint" /> - <mxPoint x="574.83" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-6" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="594.58" y="120" as="sourcePoint" /> + <mxPoint x="594.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-7" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="659.83" y="120" as="sourcePoint" /> - <mxPoint x="659.83" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-7" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="674.58" y="120" as="sourcePoint" /> + <mxPoint x="674.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="52VyXC8j5xGTEDYuN6SN-8" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="744.83" y="120" as="sourcePoint" /> - <mxPoint x="744.83" y="160" as="targetPoint" /> + <mxCell id="RMN0ENitVXahEsUxOJQI-8" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" style="endArrow=classic;html=1;rounded=0;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> + <mxPoint x="749.58" y="120" as="sourcePoint" /> + <mxPoint x="749.58" y="160" as="targetPoint" /> </mxGeometry> </mxCell> </root> </mxGraphModel> </diagram> - <diagram name="4. state-transition-circuit" id="PK6FMuq_bwtaiANtLuxe"> - <mxGraphModel dx="3782" dy="1928" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <diagram name="4. state-transition" id="SfqXgv12DMmRO-l3Q4tj"> + <mxGraphModel dx="4250" dy="2420" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> <root> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-0" /> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-1" parent="D6Gzr2-08hJ62fW1Y4SW-0" /> - <mxCell id="ojYA5p9BOs-s12dUr8XO-1" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-0" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-1" parent="ZHVPnpmu-zi4kkNDXHjC-0" /> + <mxCell id="rbifxSStxaFz5T3WB4gI-0" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="1410" width="2330" x="-730" y="-350" as="geometry" /> </mxCell> - <mxCell id="ojYA5p9BOs-s12dUr8XO-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" /> + <mxCell id="rbifxSStxaFz5T3WB4gI-1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="980" width="2120" x="-580" y="-60" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-0" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-7" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;" value="" vertex="1"> + <mxGeometry height="230" width="380" x="320" y="-310" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-7" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="290" y="480" width="160" height="60" as="geometry" /> + <mxCell id="UHoIRV_9THWay56M9Opq-5" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.501;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-42" value=""> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + <mxPoint x="640" y="-270" as="sourcePoint" /> + <mxPoint x="640" y="59" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-1" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="915" y="347" width="355" height="113" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-4" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" value="" vertex="1"> + <mxGeometry height="550" width="1040" x="280" y="330" as="geometry" /> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-10" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-5" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" value="" vertex="1"> + <mxGeometry height="60" width="160" x="290" y="480" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-3" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-6" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" value="" vertex="1"> + <mxGeometry height="113" width="355" x="915" y="347" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-10" target="yhMjlz7L6oX0I03LSNM_-0" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="640" y="-30" as="targetPoint" /> - </mxGeometry> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-8" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{voteID}_i$$" vertex="1"> + <mxGeometry height="40" width="100" x="470" y="-190" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-11" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{stateRoot}^{\text{old}}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1160" y="-120" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-26" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="SGKnkJu5_sYSCg57PFAC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-8"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-12" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-65" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="779.67" y="230" as="sourcePoint" /> <mxPoint x="779.67" y="620" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-9" target="xZoSSO8U0oyJhFnYmJBx-5"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-13" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-66" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.737;entryY=-0.012;entryDx=0;entryDy=0;entryPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-79" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-14" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;"> <mxGeometry relative="1" as="geometry"> <mxPoint x="505" y="1220" as="sourcePoint" /> <mxPoint x="505" y="1220" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-30" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25" edge="1" target="EZ67WfkGteQ7pZBN_wck-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-15" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-6" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1280" y="405" as="targetPoint" /> <Array as="points"> <mxPoint x="1390" y="830" /> <mxPoint x="1390" y="405" /> </Array> + <mxPoint x="1280" y="405" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-16" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{stateRoot}^{\text{new}}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1040" y="810" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-24"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-17" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="680" y="960" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-24" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="620" y="810" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-18" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="620" y="810" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-25"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-19" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;"> <mxGeometry relative="1" as="geometry"> <mxPoint x="540" y="960" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-25" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="480" y="810" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-20" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="480" y="810" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-26" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="900" y="810" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-21" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="900" y="810" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-27" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="760" y="810" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-22" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="760" y="810" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-34" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-23" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{stateRoot}^{\text{new}}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1040" y="960" as="geometry" /> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-0" target="kZ82RYXQcsU66MAzuXJf-1" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-24" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-26" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="-145" y="-10" as="targetPoint" /> + <mxPoint x="-525" y="-10" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="kZ82RYXQcsU66MAzuXJf-0" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-25" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" vertex="1"> + <mxGeometry height="40" width="130" x="-528" y="-120" as="geometry" /> </mxCell> - <mxCell id="kZ82RYXQcsU66MAzuXJf-1" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-26" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="recursive SNARK batch verifier" vertex="1"> + <mxGeometry height="220" width="390" x="-560" y="80" as="geometry" /> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-3" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-27" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="520.09" y="-60" as="sourcePoint" /> <mxPoint x="520" y="80" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-1" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="kZ82RYXQcsU66MAzuXJf-1" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="320" y="-120" as="sourcePoint" /> - <mxPoint x="570" y="-110" as="targetPoint" /> - <Array as="points"> - <mxPoint x="120" y="-120" /> - <mxPoint x="120" /> - </Array> - </mxGeometry> - </mxCell> - <mxCell id="yhMjlz7L6oX0I03LSNM_-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="yhMjlz7L6oX0I03LSNM_-0" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-32" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" /> - <mxPoint x="640" y="80" as="targetPoint" /> <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="yhMjlz7L6oX0I03LSNM_-0" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="D1O2pzwOY9OCH-spyj_d-0" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" /> - </mxCell> - <mxCell id="yhMjlz7L6oX0I03LSNM_-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-24" edge="1"> - <mxGeometry relative="1" as="geometry"> <mxPoint x="898.95" y="-80" as="sourcePoint" /> <mxPoint x="900" y="80" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="yhMjlz7L6oX0I03LSNM_-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="xZoSSO8U0oyJhFnYmJBx-20" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-33" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="1059.47" y="-80" as="sourcePoint" /> <mxPoint x="1060" y="80" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="yhMjlz7L6oX0I03LSNM_-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-34" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="1199.47" y="-80" as="sourcePoint" /> <mxPoint x="1199" y="80" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-11" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="jH9XEzTzumLLzgrA1KFi-0" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="kZ82RYXQcsU66MAzuXJf-1" target="jH9XEzTzumLLzgrA1KFi-1" edge="1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-36" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-37" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint y="310" as="targetPoint" /> - <mxPoint y="240" as="sourcePoint" /> + <mxPoint x="-380" y="240" as="sourcePoint" /> + <mxPoint x="-380" y="310" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="jH9XEzTzumLLzgrA1KFi-1" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-37" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="-405" y="959" as="geometry" /> </mxCell> - <mxCell id="0c9yVQNtpXtt_NukVZet-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-4" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="400" y="-80" as="sourcePoint" /> - <mxPoint x="400" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-5" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-39" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{censusRoot}$$" vertex="1"> + <mxGeometry height="40" width="80" x="600" y="-290" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-40" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{ballotMode}$$</div>" vertex="1"> + <mxGeometry height="40" width="80" x="600" y="-240" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-9" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-8" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-23" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-41" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="80" x="600" y="-190" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-24" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-43" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{encryptedBallot}_i$$" vertex="1"> + <mxGeometry height="40" width="100" x="470" y="-140" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-20" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-44" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="840" y="-120" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-21" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-45" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="840" y="-170" as="geometry" /> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="RKRk78QnPbcHQFYOCmT4-4" target="xZoSSO8U0oyJhFnYmJBx-5"> - <mxGeometry relative="1" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-46" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="1000" y="-170" as="geometry" /> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-0" target="I46Z3Tsccw4bTtzRbnAU-3"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="320" y="730" as="targetPoint" /> - </mxGeometry> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-47" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="1000" y="-120" as="geometry" /> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-0" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-50" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$k$$" vertex="1"> + <mxGeometry height="40" width="60" x="-680" y="490" as="geometry" /> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3" target="xZoSSO8U0oyJhFnYmJBx-5"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-51" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-79" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="440" y="730" as="sourcePoint" /> </mxGeometry> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-3" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="360" y="490" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-52" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{Hash}(k)$$" vertex="1"> + <mxGeometry height="40" width="80" x="360" y="490" as="geometry" /> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-18" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-53" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="text;whiteSpace=wrap;html=1;" value="" vertex="1"> + <mxGeometry height="50" width="60" x="880" y="1020" as="geometry" /> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="D6Gzr2-08hJ62fW1Y4SW-31" target="RKRk78QnPbcHQFYOCmT4-4"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-54" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.222;exitY=1.002;exitDx=0;exitDy=0;exitPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-67" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="512" y="320" as="sourcePoint" /> <mxPoint x="560" y="580" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-9"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-55" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.317;exitY=1.002;exitDx=0;exitDy=0;exitPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-66" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="596.5" y="300" as="sourcePoint" /> <mxPoint x="596.5" y="550" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-7"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-56" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-64" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="870" y="300" as="sourcePoint" /> <mxPoint x="870" y="550" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-13"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-57" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-72" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="979.5" y="250" as="sourcePoint" /> <mxPoint x="979.5" y="500" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-17"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-58" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-73" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="1109" y="250" as="sourcePoint" /> <mxPoint x="1109" y="500" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" target="xZoSSO8U0oyJhFnYmJBx-11"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-59" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-74" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="1219.5" y="300" as="sourcePoint" /> <mxPoint x="1219.5" y="550" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-60" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="779.29" y="440" as="sourcePoint" /> - <mxPoint x="779" y="610" as="targetPoint" /> <Array as="points"> <mxPoint x="779" y="520" /> <mxPoint x="779" y="520" /> </Array> + <mxPoint x="779.29" y="440" as="sourcePoint" /> + <mxPoint x="779" y="610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KAu6sMc1Uvy6INGLTeTi-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-61" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="979.41" y="350" as="sourcePoint" /> <mxPoint x="980" y="610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-31" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-62" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" vertex="1"> + <mxGeometry height="230" width="240" x="1270" y="490" as="geometry" /> </mxCell> - <mxCell id="D6Gzr2-08hJ62fW1Y4SW-31" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="360" y="80" width="880" height="220" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-63" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" vertex="1"> + <mxGeometry height="220" width="1040" x="280" y="80" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-7" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="830" y="410" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-64" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" value="$$\text{address}_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="830" y="410" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="740" y="410" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-65" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{voteID}_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="740" y="410" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-9" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="557" y="410" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-66" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{encryptedBallot}_i$$" vertex="1"> + <mxGeometry height="40" width="100" x="560" y="410" as="geometry" /> </mxCell> - <mxCell id="RKRk78QnPbcHQFYOCmT4-4" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="472" y="410" width="80" height="40" as="geometry" /> + <mxCell id="pnmM_wexEI5E3oBj83wp-11" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-67" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.216;entryY=-0.005;entryDx=0;entryDy=0;entryPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-79" value=""> + <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-67" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="82" x="470" y="410" as="geometry" /> + </mxCell> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-68" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="869.9499999999999" y="450" as="sourcePoint" /> - <mxPoint x="870" y="610" as="targetPoint" /> <Array as="points"> <mxPoint x="869.66" y="530" /> <mxPoint x="869.66" y="530" /> </Array> + <mxPoint x="869.9499999999999" y="450" as="sourcePoint" /> + <mxPoint x="870" y="610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-20"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-69" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-78" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="550" y="520" as="sourcePoint" /> - <mxPoint x="550" y="570" as="targetPoint" /> <Array as="points"> <mxPoint x="549.71" y="550" /> <mxPoint x="549.71" y="550" /> </Array> + <mxPoint x="550" y="520" as="sourcePoint" /> + <mxPoint x="550" y="570" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-70" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="1109.41" y="350" as="sourcePoint" /> <mxPoint x="1110" y="610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-71" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" /> - <mxPoint x="1219" y="610" as="targetPoint" /> <Array as="points"> <mxPoint x="1219.12" y="530" /> <mxPoint x="1219.12" y="530" /> </Array> + <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" /> + <mxPoint x="1219" y="610" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-13" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="920" y="360" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-72" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="920" y="360" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-17" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-73" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="1050" y="360" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-74" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{stateRoot}^{\text{old}}$$" vertex="1"> + <mxGeometry height="40" width="80" x="1180" y="410" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-12" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="920" y="410" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-75" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="920" y="410" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-18" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-76" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="1050" y="410" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-77" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="550" y="520" as="sourcePoint" /> <mxPoint x="550" y="610" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="I46Z3Tsccw4bTtzRbnAU-20" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="510" y="543" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-78" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="$$\text{reEncryptedBallot}'_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="510" y="543" as="geometry" /> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-5" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="470" y="490" width="170" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-79" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" vertex="1"> + <mxGeometry height="40" width="190" x="470" y="490" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-80" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="539.41" y="720" as="sourcePoint" /> <mxPoint x="539.41" y="810" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-16" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-81" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="679.6" y="720" as="sourcePoint" /> <mxPoint x="679.6" y="810" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-82" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="820" y="720" as="sourcePoint" /> <mxPoint x="820" y="810" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-12" value="" style="group" vertex="1" connectable="0" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="360" y="610" width="880" height="160" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-83" connectable="0" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="group" value="" vertex="1"> + <mxGeometry height="160" width="880" x="360" y="610" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-84" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="600" y="110" as="sourcePoint" /> <mxPoint x="600" y="200" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="c3b2KowYPhYfo68HtMrI-12"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-85" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="720" y="110" as="sourcePoint" /> <mxPoint x="720" y="200" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-3" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" parent="c3b2KowYPhYfo68HtMrI-12" vertex="1"> - <mxGeometry width="880" height="160" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-86" parent="ZHVPnpmu-zi4kkNDXHjC-83" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" vertex="1"> + <mxGeometry height="160" width="880" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12"> - <mxGeometry x="10" y="50" width="350" height="100" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-87" parent="ZHVPnpmu-zi4kkNDXHjC-83" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" value="" vertex="1"> + <mxGeometry height="100" width="350" x="10" y="50" as="geometry" /> </mxCell> - <mxCell id="c3b2KowYPhYfo68HtMrI-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="c3b2KowYPhYfo68HtMrI-12"> - <mxGeometry x="375" y="50" width="495" height="100" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-88" parent="ZHVPnpmu-zi4kkNDXHjC-83" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" value="" vertex="1"> + <mxGeometry height="100" width="495" x="375" y="50" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="I46Z3Tsccw4bTtzRbnAU-3"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="-430" y="604.47" as="sourcePoint" /> - <mxPoint x="200" y="510" as="targetPoint" /> - <Array as="points"> - <mxPoint x="400" y="570" /> - <mxPoint x="200" y="570" /> - <mxPoint x="200" y="510" /> - </Array> - </mxGeometry> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-91" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" value="$$\text{Iterate over } i$$" vertex="1"> + <mxGeometry height="53" width="130" x="290" y="340" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-5" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="230" y="550" width="100" height="40" as="geometry" /> - </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-8" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="290" y="340" width="130" height="53" as="geometry" /> - </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1" source="EZ67WfkGteQ7pZBN_wck-8" target="EZ67WfkGteQ7pZBN_wck-8"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-92" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-91" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-91"> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-93" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> <mxPoint x="1079.38" y="850" as="sourcePoint" /> <mxPoint x="1079.38" y="960" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-20" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="620" y="960" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-94" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="620" y="960" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-21" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="480" y="960" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-95" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" vertex="1"> + <mxGeometry height="40" width="120" x="480" y="960" as="geometry" /> </mxCell> - <mxCell id="EZ67WfkGteQ7pZBN_wck-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-96" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> + <Array as="points" /> <mxPoint x="760" y="-130" as="sourcePoint" /> <mxPoint x="760" y="80" as="targetPoint" /> - <Array as="points" /> </mxGeometry> </mxCell> - <mxCell id="xZoSSO8U0oyJhFnYmJBx-2" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="D6Gzr2-08hJ62fW1Y4SW-1" vertex="1"> - <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-97" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" vertex="1"> + <mxGeometry height="120" width="80" x="720" y="-200" as="geometry" /> </mxCell> - <mxCell id="GPVaXYSz-EfsHx1UZKMQ-0" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" /> - </mxCell> - <mxCell id="3ep81gfC2W1f0rtrtprN-0" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" /> - </mxCell> - <mxCell id="3ep81gfC2W1f0rtrtprN-1" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-98" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" vertex="1"> + <mxGeometry height="150" width="380" x="-705" y="-330" as="geometry" /> </mxCell> - <mxCell id="3ep81gfC2W1f0rtrtprN-2" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" /> - </mxCell> - <mxCell id="3ep81gfC2W1f0rtrtprN-3" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="D6Gzr2-08hJ62fW1Y4SW-1"> - <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" /> - </mxCell> - </root> - </mxGraphModel> - </diagram> - <diagram name="Copy of 4." id="SfqXgv12DMmRO-l3Q4tj"> - <mxGraphModel dx="2264" dy="1396" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> - <root> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-0" /> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-1" parent="ZHVPnpmu-zi4kkNDXHjC-0" /> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-2" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-390" y="-340" width="1990" height="1380" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-3" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-250" y="-60" width="1800" height="980" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-99" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" value="AGGREGATION VERIFICATION" vertex="1"> + <mxGeometry height="40" width="440" x="-580" y="1117.18" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="280" y="330" width="1040" height="550" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-100" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="435" width="20" x="-367.82000000000005" y="880" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-5" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="290" y="480" width="160" height="60" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-101" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" value="TRANSITION VERIFICATION" vertex="1"> + <mxGeometry height="40" width="1120" x="280" y="1117.18" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fontStyle=1;dashed=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="915" y="347" width="355" height="113" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-102" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="1127.5" width="20" x="828.75" y="533.75" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="320" y="-310" width="380" height="230" as="geometry" /> + <mxCell id="VEDIWXK7rKS1DhhC90V1-0" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" value="CENSUS MEMBERSHIP" vertex="1"> + <mxGeometry height="40" width="350" x="-110" y="1117.19" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-8" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="480" y="-190" width="80" height="40" as="geometry" /> + <mxCell id="VEDIWXK7rKS1DhhC90V1-1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="360.24" width="20" x="58.88" y="917.38" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-10" target="ZHVPnpmu-zi4kkNDXHjC-30"> + <mxCell id="pnmM_wexEI5E3oBj83wp-6" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="UHoIRV_9THWay56M9Opq-0" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.163;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" target="UHoIRV_9THWay56M9Opq-2" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="640" y="-30" as="targetPoint" /> + <mxPoint x="-70" y="-10" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="600" y="-140" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-11" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1160" y="-120" width="80" height="40" as="geometry" /> + <mxCell id="UHoIRV_9THWay56M9Opq-0" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{censusProof}_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="-110" y="-120" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-65"> + <mxCell id="pnmM_wexEI5E3oBj83wp-4" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="UHoIRV_9THWay56M9Opq-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.431;entryY=-0.004;entryDx=0;entryDy=0;entryPerimeter=0;" target="UHoIRV_9THWay56M9Opq-2" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="779.67" y="230" as="sourcePoint" /> - <mxPoint x="779.67" y="620" as="targetPoint" /> + <mxPoint x="30" y="-10" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-66" target="ZHVPnpmu-zi4kkNDXHjC-79"> - <mxGeometry relative="1" as="geometry" /> + <mxCell id="UHoIRV_9THWay56M9Opq-1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{censusRoot}$$" vertex="1"> + <mxGeometry height="40" width="80" x="-10" y="-120" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="505" y="1220" as="sourcePoint" /> - <mxPoint x="505" y="1220" as="targetPoint" /> - </mxGeometry> + <mxCell id="UHoIRV_9THWay56M9Opq-2" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="<div>$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$</div>" vertex="1"> + <mxGeometry height="220" width="370" x="-130" y="80" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-15" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.513;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20" target="ZHVPnpmu-zi4kkNDXHjC-6"> + <mxCell id="pnmM_wexEI5E3oBj83wp-9" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.346;entryY=-0.013;entryDx=0;entryDy=0;entryPerimeter=0;" target="ZHVPnpmu-zi4kkNDXHjC-63" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1280" y="405" as="targetPoint" /> - <Array as="points"> - <mxPoint x="1390" y="830" /> - <mxPoint x="1390" y="405" /> - </Array> + <mxPoint x="640" y="-30" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-16" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1040" y="810" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-17" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-18"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="680" y="960" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-18" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="620" y="810" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-20"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="540" y="960" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-20" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="480" y="810" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-21" value="<div><div>$$\text{resultsAdd}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="900" y="810" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-22" value="<div><div>$$\text{resultsSub}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="760" y="810" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-23" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1040" y="960" width="80" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-42" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{processID}$$</div>" vertex="1"> + <mxGeometry height="40" width="80" x="600" y="-140" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-24" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-25" target="ZHVPnpmu-zi4kkNDXHjC-26"> + <mxCell id="UHoIRV_9THWay56M9Opq-6" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="-145" y="-10" as="targetPoint" /> + <Array as="points" /> + <mxPoint x="400.40999999999997" y="-150" as="sourcePoint" /> + <mxPoint x="400.40999999999997" y="80" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-25" value="<div style="font-size: 11px;">$$\text{aggregationProof}_i$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-165" y="-120" width="130" height="40" as="geometry" /> + <mxCell id="UHoIRV_9THWay56M9Opq-3" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;fontStyle=0" value="$$\text{weight}_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="360" y="-190" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-26" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-210" y="80" width="440" height="220" as="geometry" /> + <mxCell id="UHoIRV_9THWay56M9Opq-4" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$\text{address}_i$$" vertex="1"> + <mxGeometry height="40" width="80" x="360" y="-140" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-8"> + <mxCell id="UHoIRV_9THWay56M9Opq-10" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;" target="ZHVPnpmu-zi4kkNDXHjC-63" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="520.09" y="-60" as="sourcePoint" /> - <mxPoint x="520" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-28" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-26"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="320" y="-120" as="sourcePoint" /> - <mxPoint x="570" y="-110" as="targetPoint" /> <Array as="points"> - <mxPoint x="120" y="-120" /> - <mxPoint x="120" /> + <mxPoint x="360" /> </Array> + <mxPoint x="130" as="sourcePoint" /> + <mxPoint x="360.00000000000045" y="40" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-30"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="640.0222222222224" y="29.88000000000011" as="sourcePoint" /> - <mxPoint x="640" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> + <mxCell id="UHoIRV_9THWay56M9Opq-8" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="<div>$$\text{censusOrigin}$$</div>" vertex="1"> + <mxGeometry height="40" width="80" x="90" y="-120" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-30" value="$$\text{Hash}(pk_i)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="600" y="-40" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-31" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="610" y="20" width="60" height="39.88" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-32" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-45"> + <mxCell id="5hAzbrJOQIkqeWhDGd8Z-4" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="898.95" y="-80" as="sourcePoint" /> - <mxPoint x="900" y="80" as="targetPoint" /> - <Array as="points" /> + <mxPoint x="129.74" y="-80" as="sourcePoint" /> + <mxPoint x="129.74" y="80" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-46"> + <mxCell id="pnmM_wexEI5E3oBj83wp-1" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="UHoIRV_9THWay56M9Opq-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="pnmM_wexEI5E3oBj83wp-2" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1059.47" y="-80" as="sourcePoint" /> - <mxPoint x="1060" y="80" as="targetPoint" /> - <Array as="points" /> + <mxPoint x="30" y="310" as="sourcePoint" /> + <mxPoint x="20" y="320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1199.47" y="-80" as="sourcePoint" /> - <mxPoint x="1199" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> + <mxCell id="pnmM_wexEI5E3oBj83wp-2" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="15" y="959" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-35" value="public inputs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="160" y="-140" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-26" target="ZHVPnpmu-zi4kkNDXHjC-37"> - <mxGeometry relative="1" as="geometry"> - <mxPoint y="310" as="targetPoint" /> - <mxPoint y="240" as="sourcePoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-30" y="960" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-39"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="400" y="-80" as="sourcePoint" /> - <mxPoint x="400" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-39" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="-290" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-40" value="<div>$$\text{ballotMode}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="-240" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="-190" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-42" value="<div>$$\text{processID}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="-140" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-43" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="480" y="-140" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-44" value="<div>$$\text{numVotes}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="840" y="-120" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-45" value="<div>$$\text{numOverwrites}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="840" y="-170" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-46" value="<div>$$\text{resultsAdd}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1000" y="-170" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-47" value="<div>$$\text{resultsSub}^{\text{old}}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1000" y="-120" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-48" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-67" target="ZHVPnpmu-zi4kkNDXHjC-79"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-49" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-50" target="ZHVPnpmu-zi4kkNDXHjC-52"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="320" y="730" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-50" value="$$k$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-350" y="490" width="60" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-51" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52" target="ZHVPnpmu-zi4kkNDXHjC-79"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="440" y="730" as="sourcePoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-52" value="$$\text{Hash}(k)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="490" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-53" value="" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-54" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.173;exitY=0.992;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-63" target="ZHVPnpmu-zi4kkNDXHjC-67"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="512" y="320" as="sourcePoint" /> - <mxPoint x="560" y="580" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-55" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-66"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="596.5" y="300" as="sourcePoint" /> - <mxPoint x="596.5" y="550" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-56" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-64"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="870" y="300" as="sourcePoint" /> - <mxPoint x="870" y="550" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-72"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="979.5" y="250" as="sourcePoint" /> - <mxPoint x="979.5" y="500" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-73"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1109" y="250" as="sourcePoint" /> - <mxPoint x="1109" y="500" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-59" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" target="ZHVPnpmu-zi4kkNDXHjC-74"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1219.5" y="300" as="sourcePoint" /> - <mxPoint x="1219.5" y="550" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-60" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="779.29" y="440" as="sourcePoint" /> - <mxPoint x="779" y="610" as="targetPoint" /> + <mxCell id="UHoIRV_9THWay56M9Opq-7" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="endArrow=classic;html=1;rounded=0;startArrow=oval;startFill=1;jumpStyle=arc;" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <Array as="points"> - <mxPoint x="779" y="520" /> - <mxPoint x="779" y="520" /> - </Array> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-61" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="979.41" y="350" as="sourcePoint" /> - <mxPoint x="980" y="610" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-62" value="<div><div><div><div><div><div><div><div><div><div>$$\text{stateRoot}^{\text{old}} = \text{stateRoot}^{\text{new}}$$</div><div><br></div></div></div></div>$$\text{numVotes}^{\text{old}} = \text{numVotes}^{\text{new}}$$</div></div></div>$$\text{numOverwrites}^{\text{old}} = \text{numOverwrites}^{\text{new}}$$</div><div><br></div><div><div><div><div><div><div><div>$$\text{resultsAdd}^{\text{old}} = \text{resultsAdd}^{\text{new}}$$</div></div></div>$$\text{resultsSub}^{\text{old}} = \text{resultsSub}^{\text{new}}$$</div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1270" y="490" width="240" height="230" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-63" value="<div><u><b>VERIFY INITIAL STATE</b><b><br><br></b></u></div><div><b><br></b></div><div align="left"><b>1.</b> Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br>&nbsp;&nbsp; 0x0 = <b>processID</b>, 0x1 = <b>censusRoot</b>, 0x2 = <b>ballotMode</b>, 0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd^{old}</b>, 0x5 = <b>resultsAdd^{sub}</b>. <br><br></div><div align="left"><b>2.</b> Verify the MTProofs that prove that none of the <b>voteIDs</b> belong to the tree.<br><b><br>3.</b> Verify the MTProofs of each <b>address</b>:<br><br>&nbsp;&nbsp; - If it is an inclusion proof: consider the vote <b>(c1, c2)</b> an <b>overwrite</b>.</div><div align="left">&nbsp;&nbsp; - If it is a non-inclusion proof: consider the vote <b>(c1, c2)</b> a <b>newVote</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="80" width="880" height="220" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-64" value="$$\text{address}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="830" y="410" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-65" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="740" y="410" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-66" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="557" y="410" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-67" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="472" y="410" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-68" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="869.9499999999999" y="450" as="sourcePoint" /> - <mxPoint x="870" y="610" as="targetPoint" /> - <Array as="points"> - <mxPoint x="869.66" y="530" /> - <mxPoint x="869.66" y="530" /> + <mxPoint x="320" y="-40" /> + <mxPoint x="320" y="40" /> + <mxPoint x="200" y="40" /> </Array> + <mxPoint x="400" y="-40" as="sourcePoint" /> + <mxPoint x="200" y="80" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-69" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-78"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="550" y="520" as="sourcePoint" /> - <mxPoint x="550" y="570" as="targetPoint" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-28" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-7" style="endArrow=classic;html=1;rounded=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;jumpStyle=arc;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" target="ZHVPnpmu-zi4kkNDXHjC-26" value=""> + <mxGeometry height="50" relative="1" width="50" as="geometry"> <Array as="points"> - <mxPoint x="549.71" y="550" /> - <mxPoint x="549.71" y="550" /> + <mxPoint x="240" y="-195" /> + <mxPoint x="240" y="-40" /> + <mxPoint x="170" y="-40" /> + <mxPoint x="-80" y="-40" /> + <mxPoint x="-268" y="-40" /> </Array> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-70" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1109.41" y="350" as="sourcePoint" /> - <mxPoint x="1110" y="610" as="targetPoint" /> + <mxPoint x="320" y="-120" as="sourcePoint" /> + <mxPoint x="570" y="-110" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-71" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-49" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;jumpStyle=arc;" target="ZHVPnpmu-zi4kkNDXHjC-52" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="1219.4099999999999" y="450" as="sourcePoint" /> - <mxPoint x="1219" y="610" as="targetPoint" /> - <Array as="points"> - <mxPoint x="1219.12" y="530" /> - <mxPoint x="1219.12" y="530" /> - </Array> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-72" value="<div><div>$$\text{numOverwrites}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="920" y="360" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-73" value="<div><div>$$\text{resultsAdd}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1050" y="360" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-74" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1180" y="410" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-75" value="<div><div>$$\text{numVotes}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="920" y="410" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-76" value="<div><div>$$\text{resultsSub}^{\text{old}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1050" y="410" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-77" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="550" y="520" as="sourcePoint" /> - <mxPoint x="550" y="610" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-78" value="$$(C_1', C_2')_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="510" y="543" width="80" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-79" value="$$\mathsf{ReEnc}_{EPK}(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="470" y="490" width="170" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-80" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="539.41" y="720" as="sourcePoint" /> - <mxPoint x="539.41" y="810" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-81" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="679.6" y="720" as="sourcePoint" /> - <mxPoint x="679.6" y="810" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-82" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="820" y="720" as="sourcePoint" /> - <mxPoint x="820" y="810" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-83" value="" style="group" vertex="1" connectable="0" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="360" y="610" width="880" height="160" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-84" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="600" y="110" as="sourcePoint" /> - <mxPoint x="600" y="200" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-85" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="720" y="110" as="sourcePoint" /> - <mxPoint x="720" y="200" as="targetPoint" /> - <Array as="points" /> + <mxPoint x="320" y="730" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-86" value="<div align="center"><b><u>APPLY STATE TRANSITIONS<br><br></u></b></div><div align="left"><b><br></b></div><div align="left"><b>&nbsp;&nbsp;&nbsp; </b>If the vote is a <b>newVote: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </b>If the vote is an <b>overwrite</b>:<b> <br></b></div><div align="left"><br></div><div align="left">&nbsp; &nbsp; <b>1.</b> Include <b>address</b>, <b>voteID</b>, and <b>(C1', C2')</b>.&nbsp;&nbsp; <span style="white-space: pre;">	</span><b>&nbsp;&nbsp;&nbsp; 1.</b> Update vote associated to <b>address</b> to<b> (C1', C2')</b> and include <b>voteID</b>.</div><div align="left">&nbsp; &nbsp; <b>2.</b> Update <b>numVotes</b>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>2.</b> Update <b>numVotes</b> and <b>numOverwrites</b>.<div align="left">&nbsp; &nbsp; <b>3.</b> Update <b>resultsAdd</b>.&nbsp; &nbsp; <span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>3.</b> Update <b>resultsAdd</b> and <b>resultsSub</b>.<br>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.<span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span><span style="white-space: pre;">	</span>&nbsp;&nbsp;&nbsp; <b>4.</b> Update <b>stateRoot</b>.</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> - <mxGeometry width="880" height="160" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-87" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> - <mxGeometry x="10" y="50" width="350" height="100" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-88" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#9673a6;fontFamily=Courier New;align=left;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-83"> - <mxGeometry x="375" y="50" width="495" height="100" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-89" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52"> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-89" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;endArrow=none;startFill=0;endFill=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="-430" y="604.47" as="sourcePoint" /> - <mxPoint x="200" y="510" as="targetPoint" /> <Array as="points"> <mxPoint x="400" y="570" /> <mxPoint x="200" y="570" /> <mxPoint x="200" y="510" /> </Array> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-90" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="230" y="550" width="100" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-91" value="$$\text{Iterate over } i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;align=center;spacingBottom=-4;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="290" y="340" width="130" height="53" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-92" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1" source="ZHVPnpmu-zi4kkNDXHjC-91" target="ZHVPnpmu-zi4kkNDXHjC-91"> - <mxGeometry relative="1" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-93" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1079.38" y="850" as="sourcePoint" /> - <mxPoint x="1079.38" y="960" as="targetPoint" /> + <mxPoint x="-430" y="604.47" as="sourcePoint" /> + <mxPoint x="200" y="510" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-94" value="<div><div>$$\text{numVotes}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="620" y="960" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-95" value="<div><div>$$\text{numOverwrites}^{\text{new}}$$</div></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="480" y="960" width="120" height="40" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-90" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;" value="<div><div><div><div><div><div><div><div><div><div>$$k = \text{Hash}(k)$$</div></div></div></div></div></div></div></div><div><div><div></div></div></div></div></div>" vertex="1"> + <mxGeometry height="40" width="100" x="230" y="550" as="geometry" /> </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-96" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="760" y="-130" as="sourcePoint" /> - <mxPoint x="760" y="80" as="targetPoint" /> - <Array as="points" /> - </mxGeometry> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-97" value="<div>$$\text{MTProofs}_i$$</div><div>(inclusion or non-inclusion)</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="720" y="-200" width="80" height="120" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-98" value="<div align="left"><b>&nbsp;&nbsp; MISSING</b></div><div align="left"><b><br></b></div><div align="left">&nbsp;&nbsp; <b>1.</b> For <i>some</i> existing leafs, also reencrypt the votes.</div><div align="left">&nbsp;&nbsp; <b>2.</b> Data blobs.</div><div align="left">&nbsp;&nbsp; <b>3.</b> Add some details, like specifics of resultsAdd.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#647687;strokeColor=#314354;fontFamily=Courier New;align=left;fontColor=#ffffff;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="1200" y="-320" width="380" height="150" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-99" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="-200" y="1117.18" width="440" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="12.17999999999995" y="880" width="20" height="435" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-101" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="280" y="1117.18" width="1120" height="40" as="geometry" /> - </mxCell> - <mxCell id="ZHVPnpmu-zi4kkNDXHjC-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="ZHVPnpmu-zi4kkNDXHjC-1"> - <mxGeometry x="832.5" y="537.5" width="20" height="1120" as="geometry" /> + <mxCell id="ZHVPnpmu-zi4kkNDXHjC-35" parent="ZHVPnpmu-zi4kkNDXHjC-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=light-dark(#ffffff, #ededed);strokeWidth=2;" value="public inputs" vertex="1"> + <mxGeometry height="40" width="100" x="190" y="-120" as="geometry" /> </mxCell> </root> </mxGraphModel> </diagram> - <diagram name="5. results-circuit" id="vOdGFxvcKQLxlt7TpMJr"> - <mxGraphModel dx="1850" dy="1092" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <diagram name="5. results" id="aiuFaC-kqE7RjO91U1DS"> + <mxGraphModel dx="2990" dy="942" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> <root> - <mxCell id="bshJnAdmZ42-ucYETjzj-0" /> - <mxCell id="bshJnAdmZ42-ucYETjzj-1" parent="bshJnAdmZ42-ucYETjzj-0" /> - <mxCell id="njsKSg5quu9oUWfDPbnt-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="80" y="50" width="1170" height="530" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-0" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-1" parent="N2jN9Lvx0J_JxxWh13aD-0" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-2" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="530" width="1170" x="-140" y="50" as="geometry" /> </mxCell> - <mxCell id="EhFKpIqwLm2i5KqQf0Kn-0" value="<div><br></div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="120" y="140" width="1090" height="360" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-3" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" value="<div><br></div>" vertex="1"> + <mxGeometry height="260" width="1090" x="-100" y="140" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-8" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.9;entryY=-0.003;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-11" target="bshJnAdmZ42-ucYETjzj-63"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-4" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.9;entryY=-0.003;entryDx=0;entryDy=0;entryPerimeter=0;" target="N2jN9Lvx0J_JxxWh13aD-15" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-11" value="$$\text{stateRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="1100" y="80" width="80" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-5" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{stateRoot}$$" vertex="1"> + <mxGeometry height="40" width="80" x="880" y="80" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="bshJnAdmZ42-ucYETjzj-1" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="505" y="1200" as="sourcePoint" /> - <mxPoint x="505" y="1200" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-37" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="940" y="520" width="80" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-7" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="720" y="520" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-41" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="150" y="80" width="50" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-8" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$EPK$$" vertex="1"> + <mxGeometry height="40" width="50" x="-70" y="80" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-46" target="w11Yu14kjo9wnOEZIBzt-0"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-9" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" target="N2jN9Lvx0J_JxxWh13aD-25" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-46" value="<div>$$\text{resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="610" y="80" width="120" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-10" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{resultsAdd}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="390" y="80" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-47" target="w11Yu14kjo9wnOEZIBzt-0"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-11" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" target="N2jN9Lvx0J_JxxWh13aD-25" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-47" value="<div>$$\text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="470" y="80" width="120" height="40" as="geometry" /> - </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-53" value="" style="text;whiteSpace=wrap;html=1;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="880" y="1020" width="60" height="50" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-12" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{resultsSub}$$</div>" vertex="1"> + <mxGeometry height="40" width="120" x="250" y="80" as="geometry" /> </mxCell> - <mxCell id="32wBmxPFM4Aquibm1vis-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-63" target="bshJnAdmZ42-ucYETjzj-37"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-14" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="N2jN9Lvx0J_JxxWh13aD-7" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="980" y="400" as="targetPoint" /> + <mxPoint x="760" y="400" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-63" value="<div align="center">Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br></div><div align="center">0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd</b>, 0x5 = <b>resultsAdd</b>.</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="780" y="200" width="400" height="80" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-15" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;align=center;" value="<div align="center">Verify the MTProofs that prove that the first leafs of the tree store the public parameters of the voting process:<br><br></div><div align="center">0x3 = <b>EPK</b>, 0x4 = <b>resultsAdd</b>, 0x5 = <b>resultsAdd</b>.</div>" vertex="1"> + <mxGeometry height="80" width="400" x="560" y="200" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.351;entryY=-0.006;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-97" target="bshJnAdmZ42-ucYETjzj-63"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-16" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.351;entryY=-0.006;entryDx=0;entryDy=0;entryPerimeter=0;" target="N2jN9Lvx0J_JxxWh13aD-15" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-97" value="<div>$$\text{MTProofs}_i \text{ for } \text{EPK, resultsSub, resultsAdd}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="780" y="80" width="280" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-17" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="<div>$$\text{MTProofs}_i \text{ for } \text{EPK, resultsSub, resultsAdd}$$</div>" vertex="1"> + <mxGeometry height="40" width="280" x="560" y="80" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-99" value="DECRYPTION KEY CORRECTNESS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="140" y="627.1800000000001" width="180" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-18" parent="N2jN9Lvx0J_JxxWh13aD-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" value="DECRYPTION KEY CORRECTNESS" vertex="1"> + <mxGeometry height="40" width="180" x="-80" y="627.1800000000001" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-100" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="219.68" y="517.5" width="20" height="180" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-19" parent="N2jN9Lvx0J_JxxWh13aD-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="180" width="20" x="-0.3199999999999932" y="517.5" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-101" value="RESULTS INTEGRITY" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="760" y="627.1800000000001" width="420" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-20" parent="N2jN9Lvx0J_JxxWh13aD-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" value="RESULTS INTEGRITY" vertex="1"> + <mxGeometry height="40" width="420" x="540" y="627.1800000000001" as="geometry" /> </mxCell> - <mxCell id="bshJnAdmZ42-ucYETjzj-102" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="bshJnAdmZ42-ucYETjzj-1" vertex="1"> - <mxGeometry x="961.24" y="396.27" width="20" height="422.49" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-21" parent="N2jN9Lvx0J_JxxWh13aD-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="422.49" width="20" x="741.24" y="396.27" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.112;entryY=-0.025;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="32wBmxPFM4Aquibm1vis-2" target="w11Yu14kjo9wnOEZIBzt-1"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-22" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.112;entryY=-0.025;entryDx=0;entryDy=0;entryPerimeter=0;" target="N2jN9Lvx0J_JxxWh13aD-26" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="365" y="200" as="targetPoint" /> + <mxPoint x="145" y="200" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="32wBmxPFM4Aquibm1vis-2" value="$$ESK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="340" y="80" width="50" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-23" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" value="$$ESK$$" vertex="1"> + <mxGeometry height="40" width="50" x="120" y="80" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.907;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-0" target="w11Yu14kjo9wnOEZIBzt-1"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-24" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.907;entryY=0.002;entryDx=0;entryDy=0;entryPerimeter=0;" target="N2jN9Lvx0J_JxxWh13aD-26" value=""> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-0" value="<div>$$\text{encryptedResults} = \text{resultsAdd} - \text{resultsSub}$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="460" y="200" width="280" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-25" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="<div>$$\text{encryptedResults} = \text{resultsAdd} - \text{resultsSub}$$</div>" vertex="1"> + <mxGeometry height="40" width="280" x="240" y="200" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-1" value="<div>$$\text{results} = \text{Dec}_{ESK}(\text{encryptedResults})$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="340" y="320" width="230" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-26" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" value="<div>$$\text{results} = \text{Dec}_{ESK}(\text{encryptedResults})$$</div>" vertex="1"> + <mxGeometry height="40" width="230" x="120" y="320" as="geometry" /> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-9" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-27" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="365" y="160" as="sourcePoint" /> - <mxPoint x="260" y="200" as="targetPoint" /> <Array as="points"> - <mxPoint x="260" y="160" /> + <mxPoint x="40" y="160" /> </Array> + <mxPoint x="145" y="160" as="sourcePoint" /> + <mxPoint x="40" y="200" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="w11Yu14kjo9wnOEZIBzt-1"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-28" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="490" y="430" as="sourcePoint" /> - <mxPoint x="455" y="520" as="targetPoint" /> + <mxPoint x="270" y="430" as="sourcePoint" /> + <mxPoint x="235" y="520" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="w11Yu14kjo9wnOEZIBzt-11" value="$$\text{results}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="415" y="520" width="80" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-29" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" value="$$\text{results}$$" vertex="1"> + <mxGeometry height="40" width="80" x="195" y="520" as="geometry" /> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="bshJnAdmZ42-ucYETjzj-41"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-30" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="175" y="330" as="targetPoint" /> + <mxPoint x="-45" y="330" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" source="MAhqL2grAOHlyQJotUcC-0"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-31" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="260" y="330" as="targetPoint" /> + <mxPoint x="40" y="330" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-0" value="<div>$$scalarMul()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="220" y="200" width="80" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-32" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="<div>$$scalarMul()$$</div>" vertex="1"> + <mxGeometry height="40" width="80" y="200" as="geometry" /> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-5" value="<div>$$isEqual()$$</div>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="150" y="330" width="130" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-33" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" value="<div>$$isEqual()$$</div>" vertex="1"> + <mxGeometry height="40" width="130" x="-70" y="330" as="geometry" /> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-6" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="175" y="520" width="80" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-34" parent="N2jN9Lvx0J_JxxWh13aD-1" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" value="true" vertex="1"> + <mxGeometry height="40" width="80" x="-45" y="520" as="geometry" /> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="bshJnAdmZ42-ucYETjzj-1" target="MAhqL2grAOHlyQJotUcC-6" source="MAhqL2grAOHlyQJotUcC-5"> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-35" edge="1" parent="N2jN9Lvx0J_JxxWh13aD-1" source="N2jN9Lvx0J_JxxWh13aD-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" target="N2jN9Lvx0J_JxxWh13aD-34" value=""> <mxGeometry relative="1" as="geometry"> - <mxPoint x="220" y="370" as="sourcePoint" /> - <mxPoint x="220" y="400" as="targetPoint" /> + <mxPoint y="370" as="sourcePoint" /> + <mxPoint y="400" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-8" value="RESULTS CALCULATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="344" y="627.1800000000001" width="390" height="40" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-36" parent="N2jN9Lvx0J_JxxWh13aD-1" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" value="RESULTS CALCULATION" vertex="1"> + <mxGeometry height="40" width="390" x="124" y="627.1800000000001" as="geometry" /> </mxCell> - <mxCell id="MAhqL2grAOHlyQJotUcC-9" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="bshJnAdmZ42-ucYETjzj-1"> - <mxGeometry x="529.06" y="408.13" width="20" height="398.75" as="geometry" /> + <mxCell id="N2jN9Lvx0J_JxxWh13aD-37" parent="N2jN9Lvx0J_JxxWh13aD-1" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" value="" vertex="1"> + <mxGeometry height="398.75" width="20" x="309.05999999999995" y="408.13" as="geometry" /> </mxCell> </root> </mxGraphModel>
@@ -19,6 +19,14 @@ \paragraph{Smart contracts.} Smart contracts are programs deployed on the Ethereum blockchain that execute deterministically in response to transactions. Once deployed, they cannot be altered, and their execution is guaranteed by the consensus of the network. In \davinci, smart contracts orchestrate the election by managing state transitions and storing critical data such as the current state root and the encryption public key. They enforce the protocol rules in a trustless environment, ensuring that no single participant can manipulate the election. By anchoring these rules in Ethereum smart contracts, \davinci guarantees that the election logic is applied consistently and verifiably across all participants.
\paragraph{Data blobs.} Data availability is a key requirement for decentralized protocols. Ethereum’s recent EIP-4844~\cite{eip4844} introduces data blobs as a mechanism for publishing large volumes of off-chain data alongside transactions at a lower cost than traditional storage. These blobs are kept on-chain for 4096 epochs, approximately 18 days, after which they are pruned. For longer election periods, third-party solutions based on EIP-4844 can be used to extend data availability~\cite{todocitation}. In \davinci, sequencers use data blobs to share state transition data efficiently. By publishing state updates in blobs, sequencers allow other participants to reconstruct and verify the evolution of the election without overloading Ethereum’s permanent storage. This ensures scalable, decentralized data availability while retaining verifiability. + +\subsection{Merkle trees} +\label{sec:background:mt} + +\paragraph{Sparse Merkle trees.} + +\paragraph{Lean incremental Merkle trees.} + \subsection{Zero-knowledge proofs} \label{sec:background:zkp}
@@ -26,7 +26,7 @@
\vspace{-0.5cm} \begin{figure}[H] \centering - \includegraphics[scale = 0.5, draft = false]{\figs/ballot-variables.png} + \includegraphics[scale = 0.8, draft = false]{\figs/ballot-variables.pdf} \caption{Schematic representation of the parameters that define a ballot in \davinci.} \label{fig:ballot-variables} \end{figure}
@@ -0,0 +1,123 @@
+% !TeX root = ../build/main.tex + +The census Merkle tree, denoted by $\hlget{\censusTree}$ encodes the list of eligible voters and their associated voting weights. Formally, it is implemented as a sparse Merkle tree (SMT) of fixed depth\footnote{In the present work, all circuits are instantiated using sparse Merkle trees as described above. However, the protocol does not strictly depend on this structure: any authenticated data structure that supports efficient commitments and membership proofs verifiable inside zero-knowledge circuits could be employed. Adapting the protocol to such alternatives would only require modifying the corresponding circuits, while the overall flow of the election process would remain unchanged.}, as described in Section~\ref{sec:cryptographic-primitives:merkle-trees}. Each voter is mapped to a unique path in the tree, typically derived from their Ethereum address or another unique identifier, and the corresponding leaf stores the voting weight of that address. While the default weight is usually one, the system also supports weighted voting, where different participants may have different levels of influence. + +To construct the census, the organizer collects the dataset of eligible voters and their weights, computes the corresponding tree, and publishes its root (\censusroot) on-chain. The full dataset does not need to be stored on-chain; instead, it is distributed off-chain (e.g., via IPFS or another content-addressed storage system), enabling verifiers and sequencers to independently reconstruct the tree and produce membership proofs when needed. This design ensures transparency and verifiability while minimizing on-chain storage requirements. + +The census tree plays a central role during the voting phase. Voters must provide a Merkle proof showing that their address and weight are included in the tree committed by the organizer. These proofs are then verified within ZK circuits, which guarantees that only eligible participants can cast ballots without requiring the disclosure of the entire census. In this way, the census Merkle tree provides a compact, cryptographically verifiable commitment to voter eligibility that supports both privacy and scalability. + +Although the protocol does not mandate a specific method for constructing the census tree, different instantiations are possible depending on the application context: +% +\begin{itemize} + \item \emph{Private datasets}. Organizations maintaining internal voter registries (e.g., membership databases or CSV files) can directly convert them into the Merkle format. This approach keeps the registry confidential, with only the root hash made public. + \item \emph{Self-sovereign identity (SSI)}. If voters manage identities through SSI systems, the organizer can aggregate these identities and build + the tree accordingly. This enables participation without requiring centralized identity management. + \item \textit{Ethereum-based tokens}. Token balances (e.g., ERC-20 or NFTs) may also define eligibility. In this setting, the census can either be created via the optimistic approach, taking a snapshot of token balances and allowing a dispute period for fraud proofs, or through a ZK-SNARK that proves correctness directly from Ethereum storage proofs and ensures that both individual balances and the token’s total supply are consistent. +\end{itemize} +% +This flexibility allows the protocol to accommodate a wide range of use cases, from private associations to decentralized communities, while maintaining the same security and verifiability guarantees. + +----------------------------------------- + + +The census defines the set of eligible voters and their associated voting weights. Throughout the protocol, the census is represented by a lean incremental Merkle tree, as defined in Section~\ref{sec:cryptographic-primitives:merkle-trees}, and denoted by $\hlset{\censusTree}$. Voters are inserted sequentially into the tree: each new eligible voter occupies the next available leaf, and that leaf stores both their Ethereum address (or another unique identifier) and their voting weight. While the default weight is one, the protocol also supports weighted voting, where different participants may have different voting power. + + + + + +--------------------------------------- + +\subsection{ALTRETYPE} + +The census defines the set of eligible voters and their associated voting weights. +Throughout the protocol, the census is represented by a Merkle-tree commitment, denoted +by $$\hlset{\censusTree}$$, and its root $\censusroot$ is recorded in the election registry smart +contract. Each voter is mapped to a unique path in the tree---typically derived from +their Ethereum address or another unique identifier---and the corresponding leaf stores +the voter’s weight. While the default weight is one, the protocol naturally supports +weighted voting. + +During ballot submission, voters provide a Merkle membership proof showing that their +address and weight are included in the committed census. These proofs are verified inside +zero-knowledge circuits, ensuring that eligibility checks occur privately and without +requiring disclosure of the full census. The Merkle-tree commitment thus offers a compact, +scalable mechanism to attest voter eligibility. + +DAVINCI supports multiple census models depending on the deployment context, including +off-chain and on-chain trees, static or dynamically updatable registries, and +credential-based approaches. In all configurations, the election registry smart +contract stores two parameters: +(i) \texttt{censusRoot}, containing either a Merkle root or the address of a census +contract, and +(ii) \texttt{censusURI}, pointing to an off-chain location where sequencers can +retrieve the census data or related verification information. + +The supported census models are described below. + +\paragraph{Off-chain static census.} + +In this model, the organizer constructs a fixed census prior to the start of the election. +The census is represented as a (incremental) Merkle tree built off-chain, and its root is +submitted to the election registry contract during setup. The contract stores this +commitment in \texttt{censusRoot}, while \texttt{censusURI} provides a URL or +content-addressed reference (e.g., IPFS) where sequencers can download the full tree to +generate and verify Merkle proofs. The tree remains unchanged throughout the voting +period. + +\paragraph{Off-chain dynamic census.} + +In the off-chain dynamic model, the Merkle tree remains off-chain but can be \emph{extended} +during the voting period. The organizer may add new voters (but may never delete entries +or alter weights, as such operations would enable double voting). Each update produces a +new Merkle root, which the organizer must publish to the election registry contract via a +transaction that updates the \texttt{censusRoot} variable. Sequencers always verify +membership proofs against the most recently published root, ensuring consistency with the +on-chain commitment. + +\paragraph{On-chain static census.} + +Here, the census is deployed as a dedicated smart contract that stores the Merkle tree +on-chain. The tree is static and does not change during the voting period. During election +setup, the election registry contract reads the tree root from the census contract and +stores it in \texttt{censusRoot}, while \texttt{censusURI} indicates where sequencers may +retrieve the full tree representation (e.g., IPFS). Membership verification can therefore +be performed entirely on-chain. + +\paragraph{On-chain dynamic census.} + +In this configuration, the census lives in a dedicated on-chain contract that supports the +addition of new members during the voting period. The address of this contract is stored in +\texttt{censusRoot}, and \texttt{censusURI} points to an external representation of the tree +(e.g., dGraph, IPFS). The census contract maintains a list of all Merkle roots corresponding +to valid updates. Sequencers may produce membership proofs using earlier roots, since the +tree evolves over time. During state transitions, the election registry contract queries the +census contract to check whether the root used in a submitted proof is recognized as valid. +As in all dynamic models, only additions to the census are permitted. + +\paragraph{Credential service provider.} + +Credential service provider (CSP)\\ + +This model replaces the Merkle-tree-based census with an eligibility credential issued by a +trusted entity. Instead of providing a Merkle proof, voters obtain a digital signature from a +\emph{Credential Service Provider} (CSP) attesting to their eligibility. In this case, the +election registry smart contract stores the CSP’s public key in \texttt{censusRoot}, and +\texttt{censusURI} specifies where voters may request or obtain their credential. Sequencers +verify eligibility by checking the CSP signature directly, eliminating the need for a +census tree. This approach is suitable when eligibility is administered by an external +authority capable of issuing verifiable credentials. + +\paragraph{Constructing the census.} + +Any of the above models may be instantiated using different sources of eligibility +information. That is, the protocol does not mandate a specific method for constructing the census tree, different instantiations are possible depending on the application context: +% +\begin{itemize} + \item \emph{Private datasets}. Organizations maintaining internal voter registries (e.g., membership databases or CSV files) can directly convert them into the Merkle format. This approach keeps the registry confidential, with only the root hash made public. + \item \emph{Self-sovereign identity (SSI)}. If voters manage identities through SSI systems, the organizer can aggregate these identities and build + the tree accordingly. This enables participation without requiring centralized identity management. + \item \textit{Ethereum-based tokens}. Token balances (e.g., ERC-20 or NFTs) may also define eligibility. In this setting, the census can either be created via the optimistic approach, taking a snapshot of token balances and allowing a dispute period for fraud proofs, or through a \ac{ZK-SNARK} that proves correctness directly from Ethereum storage proofs and ensures that both individual balances and the token’s total supply are consistent. +\end{itemize} +% +This flexibility allows \davinci to accommodate a wide range of governance and participation use cases, from private associations to decentralized communities, while maintaining the same security and verifiability guarantees.
@@ -1,18 +1,23 @@
% !TeX root = ../build/main.tex -The census Merkle tree, denoted by $\hlget{\censusTree}$ encodes the list of eligible voters and their associated voting weights. Formally, it is implemented as a sparse Merkle tree (SMT) of fixed depth\footnote{In the present work, all circuits are instantiated using sparse Merkle trees as described above. However, the protocol does not strictly depend on this structure: any authenticated data structure that supports efficient commitments and membership proofs verifiable inside zero-knowledge circuits could be employed. Adapting the protocol to such alternatives would only require modifying the corresponding circuits, while the overall flow of the election process would remain unchanged.}, as described in Section~\ref{sec:cryptographic-primitives:merkle-trees}. Each voter is mapped to a unique path in the tree, typically derived from their Ethereum address or another unique identifier, and the corresponding leaf stores the voting weight of that address. While the default weight is usually one, the system also supports weighted voting, where different participants may have different levels of influence. +The census defines the set of eligible voters and their associated voting weights. Throughout the protocol, the census is represented by a lean incremental Merkle tree of fixed depth, as defined in Section~\ref{sec:cryptographic-primitives:merkle-trees}, and denoted by $\hlset{\censusTree}$. Voters are inserted sequentially into the tree: each new eligible voter occupies the next available leaf, and that leaf stores both their Ethereum address (or another unique identifier) and their voting weight. While the default weight is one, the protocol also supports weighted voting, where different participants may have different voting power. +% +To ensure verifiability, only a commitment to the census (the Merkle root) is required on-chain. During the voting period, sequencers provide Merkle membership proofs showing that voters addresses and weights are included in the committed census. These proofs are verified inside \ac{ZK} circuits, ensuring that eligibility checks occur privately. This approach provides a compact and scalable mechanism for attesting voter eligibility while keeping on-chain storage minimal. -To construct the census, the organizer collects the dataset of eligible voters and their weights, computes the corresponding tree, and publishes its root (\censusroot) on-chain. The full dataset does not need to be stored on-chain; instead, it is distributed off-chain (e.g., via IPFS or another content-addressed storage system), enabling verifiers and sequencers to independently reconstruct the tree and produce membership proofs when needed. This design ensures transparency and verifiability while minimizing on-chain storage requirements. +\Davinci does not prescribe how the census must be constructed. Organizers may derive it from internal membership lists (e.g., CSV files or databases), self-sovereign identity credentials, or Ethereum-based tokens (e.g., ERC-20 or NFTs) whose balances define eligibility. In token-based settings, the census may be built using an optimistic snapshot at a chosen block or via a \ac{ZK} proof that validates balances using Ethereum storage proofs. This flexibility allows the \davinci protocol to accommodate a wide range of use cases, from private associations to decentralized communities, while maintaining the same security and verifiability guarantees. -The census tree plays a central role during the voting phase. Voters must provide a Merkle proof showing that their address and weight are included in the tree committed by the organizer. These proofs are then verified within ZK circuits, which guarantees that only eligible participants can cast ballots without requiring the disclosure of the entire census. In this way, the census Merkle tree provides a compact, cryptographically verifiable commitment to voter eligibility that supports both privacy and scalability. - -Although the protocol does not mandate a specific method for constructing the census tree, different instantiations are possible depending on the application context: -% +In practice, the protocol distinguishes Merkle-tree-based census configurations according to their origin (off-chain or on-chain) and whether they are static or dynamic (i.e., allow adding new members during the voting period). Beyond these, \davinci also offers a credential-based census model in which eligibility is certified by a signature issued by a \ac{CSP} rather than a Merkle proof. To support all these configurations, the \hlget{\electionregistry} smart contract defines the following parameters: \begin{itemize} - \item \emph{Private datasets}. Organizations maintaining internal voter registries (e.g., membership databases or CSV files) can directly convert them into the Merkle format. This approach keeps the registry confidential, with only the root hash made public. - \item \emph{Self-sovereign identity (SSI)}. If voters manage identities through SSI systems, the organizer can aggregate these identities and build - the tree accordingly. This enables participation without requiring centralized identity management. - \item \textit{Ethereum-based tokens}. Token balances (e.g., ERC-20 or NFTs) may also define eligibility. In this setting, the census can either be created via the optimistic approach, taking a snapshot of token balances and allowing a dispute period for fraud proofs, or through a ZK-SNARK that proves correctness directly from Ethereum storage proofs and ensures that both individual balances and the token’s total supply are consistent. + \item \censusorigin: the deployment model (off-chain static, off-chain dynamic, on-chain dynamic, or CSP). + \item \censusuri: a \ac{URI} pointing to an external reference (URL, GraphQL endpoint, CDN path, IPFS/IPNS, etc.) from which sequencers can download or query the census data. + \item \censusroot: the on-chain commitment whose meaning depends on the census model (Merkle root, census contract address, or \ac{CSP}'s public key). \end{itemize} -% -This flexibility allows the protocol to accommodate a wide range of use cases, from private associations to decentralized communities, while maintaining the same security and verifiability guarantees. +Below, we describe each census model. + +\paragraph{Off-chain static census.} In this model, the organizer constructs a fixed census before the election begins. The incremental Merkle tree is built locally, its root is stored in \censusroot, and \censusuri provides a \ac{URI} from which sequencers can download the full tree. Since the census is static, no updates occur during the voting period. + +\paragraph{Off-chain dynamic census.} Here the Merkle tree remains off-chain, but the organizer may append new voters during the voting period (never deleting voters or modifying weights, as this would allow double voting). Each update produces a new Merkle root, which the organizer must publish to the \hlget{\electionregistry} contract by updating the parameter \censusroot. As in the off-chain static model, \censusuri provides a \ac{URI} from which sequencers can download the current version of the tree. Sequencers verify membership proofs against the most recently published root, ensuring consistency with the organizer’s commitment. + +\paragraph{On-chain dynamic census.} In this configuration, the census is managed by a dedicated on-chain contract (\hlget{\censusmanagement}) that allows adding new members during the voting period. The address of this contract is stored in \censusroot, while \censusuri points to an external representation of the tree (e.g., a GraphQL endpoint or CDN). The \hlget{\censusmanagement} contract maintains a history of valid Merkle roots. Sequencers may therefore use membership proofs referencing older roots, and during state transitions the \hlget{\electionregistry} contract queries the \hlget{\censusmanagement} contract to verify that the root used in the proof is recognized as valid. As in all dynamic models, only additions to the census are permitted. + +\paragraph{Credential service providers.} This model replaces the Merkle-tree-based census with eligibility credentials issued by a trusted entity. Instead of a Merkle proof, the voter presents a digital signature from a \ac{CSP} attesting to their membership. In this case, \censusroot stores the \ac{CSP}’s public key, and \censusuri specifies the endpoint where voters can obtain their credential. Sequencers verify eligibility by checking the \ac{CSP} signature directly. This model applies when eligibility is managed externally through attested identities.
@@ -1,6 +1,6 @@
% !TeX root = ../build/main.tex -At the core of \davinci lie a set of arithmetic circuits that enforce the correctness of every step of the election. Each circuit corresponds to a distinct task and, taken together, they guarantee that all protocol rules are satisfied without revealing any private information. Specifically, the \emph{ballot circuit} (Section~\ref{sec:vocdoni-protocol:circuits:ballot}) ensures that encrypted votes are valid and well-formed, the \emph{verifier circuit} (Section~\ref{sec:vocdoni-protocol:circuits:verifier}) verifies the voter's census membership; the \emph{aggregation circuit} (Section~\ref{sec:vocdoni-protocol:circuits:aggregation}) combines multiple authenticated votes into a single proof; and the \emph{state transition circuit} (Section~\ref{sec:vocdoni-protocol:circuits:state-transition}) updates the global state root and produces the \ac{ZK-SNARK} proof that is verified on-chain. The flow of these circuits and their interactions is shown in Figure~\ref{fig:circuits-flow}. +At the core of \davinci lie a set of arithmetic circuits that enforce the correctness of every step of the election. Each circuit corresponds to a distinct task and, taken together, they guarantee that all protocol rules are satisfied without revealing any private information. Specifically, the \emph{ballot circuit} (Section~\ref{sec:vocdoni-protocol:circuits:ballot}) ensures that encrypted votes are valid and well-formed, the \emph{verifier circuit} (Section~\ref{sec:vocdoni-protocol:circuits:verifier}) verifies the voter's census membership; the \emph{aggregation circuit} (Section~\ref{sec:vocdoni-protocol:circuits:aggregation}) combines multiple authenticated votes into a single proof; and the \emph{state transition circuit} (Section~\ref{sec:vocdoni-protocol:circuits:state-transition}) updates the global state root and produces the \ac{ZK-SNARK} proof that is verified on-chain. The flow of these circuits and their interactions is shown in Figure~\ref{fig:circuits-flow}. {\color{blue}Add \textit{results} circuit.} \begin{figure}[h] \centerline{\includegraphics[width=\linewidth,draft=false]{\figs/circuits-flow-v2}}@@ -27,7 +27,7 @@ \item $\public$ $\ballotmode$: ballot protocol configuration.
\item $\public$ $\epk$ ($EPK$): encryption public key. \item $\public$ $\address$: voter's address. \item $\public$ $\weight$: voter's weight. - \item $\public$ $(C_1, C_2)$: encrypted ballot. + \item $\public$ $\encryptedballot$: encrypted ballot. \item $\public$ $\voteid$: vote's unique identifier. \end{itemize} \textbf{Private inputs}@@ -37,7 +37,7 @@ \item \private $k$: random scalar.
\end{itemize} \textbf{Constraints} \begin{itemize} - \item \emph{Vote encryption}. Correct encryption of the ballot: $(C_1, C_2) = \hlget{\Enc}_{\epk}(\ballot; k).$ + \item \emph{Vote encryption}. Correct encryption of the ballot: $\encryptedballot = \hlget{\Enc}_{\epk}(\ballot; k).$ \item \emph{Protocol rules compliance}. The ballot meets the protocol rules (number of valid choices, etc.): $... + \weight$. \item \emph{Vote identifier}. The vote's identifier is correctly computed: $\voteid = \text{Hash} (\processid \conc \address \conc k).$ \end{itemize}@@ -45,7 +45,7 @@ \vspace{-0.3cm}
\end{spacing} \begin{figure}[H] - \centerline{\includegraphics[width=380pt,draft=false]{\figs/circuit-voter}} + \centerline{\includegraphics[width=380pt,draft=false]{\figs/circuit1.pdf}} \caption{Ballot circuit. All public values are framed in green.} \label{fig:circuit-ballot} \end{figure}@@ -87,7 +87,7 @@ \vspace{-0.3cm}
\end{spacing} \begin{figure}[H] - \centerline{\includegraphics[width=450pt,draft=false]{\figs/circuit-authentication}} + \centerline{\includegraphics[width=450pt,draft=false]{\figs/circuit2.pdf}} \caption{Authentication circuit. All public values are framed in green.} \label{fig:circuit-verifier} \end{figure}@@ -123,7 +123,7 @@ \vspace{-0.3cm}
\end{spacing} \begin{figure}[h] - \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit-aggregate}} + \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit3.pdf}} \caption{Aggregation circuit. All public values are framed in green.} \label{fig:circuit-aggregate} \end{figure}@@ -218,11 +218,9 @@
\subsubsection{Results circuit} \label{sec:vocdoni-protocol:circuits:results} -{\color{blue}{It needs to be done.}} - \begin{figure}[h] - \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit-results}} - \caption{Results circuit. All public values are framed in green.} + \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit5.pdf}} + \caption{Results circuit. All public values are framed in green. {\color{red}The figure is not right.}} \label{fig:circuit-results} \end{figure}@@ -230,7 +228,7 @@ %%% STATE-TRANSITION CIRCUIT
\begin{landscape} %\thispagestyle{empty} % removes the page number \begin{figure}[H] - \centerline{\includegraphics[width=560pt,draft=false]{\figs/circuit-state-transition-v2}} + \centerline{\includegraphics[width=700pt,draft=false]{\figs/circuit4.pdf}} \caption{State transition circuit. All public values are framed in green.} \label{fig:circuit-state-transition-v2} \end{figure}
@@ -14,7 +14,7 @@ %Sequencers must first register in the sequencer registry smart contract, a process that remains open continuously. Registration involves publishing their identity, network endpoint (e.g., URI), and a collateral deposit to ensure honest participation. The collateral can later be slashed in case of misbehavior. \\
\noi For each new election, the organizer performs the following steps: \begin{enumerate} - \item Prepare the census data \censusdata\ and generate the census Merkle tree $\censusTree$ with that data. + \item Prepare the census data \censusdata\ and generate the census Merkle tree $\censusTree$ with that data. \item Compute the census commitment $\censusroot = \censusTree.\hlget{\MTRoot}()$. \item Prepare the voting form (ballot / set of questions), upload it to IPFS, compute commitment. \item Define the election details, including duration, options, and the ballot rules $\ballotmode$ (see Section~\ref{sec:ballot-protocol}).
@@ -5,7 +5,11 @@ \noi {\color{blue}\textbf{TODO}: add methods and state variables.}
\subsubsection{Organization registry} -The \orgregistry smart contract is used to create and manage organizations within the system. Each organization is identified by the Ethereum address of its creator and is associated with a name and a URL pointing to its metadata. At this stage, the contract serves only as a registration mechanism, but it lays the foundation for future extensions, such as managing multiple elections under the same organization. +The \hlset{\orgregistry} smart contract is used to create and manage organizations within the system. Each organization is identified by the Ethereum address of its creator and is associated with a name and a URL pointing to its metadata. At this stage, the contract serves only as a registration mechanism, but it lays the foundation for future extensions, such as managing multiple elections under the same organization. + +\subsubsection{Census management} + +{\color{blue}The \hlset{\censusmanagement} smart contract xxx.} \subsubsection{Key management}@@ -24,7 +28,7 @@
The \hlset{\resultsverifier} contract validates the proof of correct tally computation. It contains the verification key for the results circuit (see Section~\ref{sec:vocdoni-protocol:circuits:results}) and ensures that the final results submitted by the organizer match the commitments from the final state. Once verified, the results and their proof are permanently recorded on-chain, providing a tamper-proof reference for the election outcome.\\ \martai{\\ - 1. \orgregistry only for transparency purposes, right? Any EOW can call \electionregistry?\\ + 1. \orgregistry only for transparency purposes, right? Any EOA can call \electionregistry?\\ 2. Once EPK is created, does a kew warden uploaded it to \dkgmanagement and that triggers a call to \electionregistry that records it?\\ 3. What is the relation with \electionregistry and \dkgmanagement, because the organizer sets the security parameters for the DKG, what is the interaction between contracts?\\ 4. Does \electionregistry call the other two verifier contracts? Or the sequencers need to call the other two?}
@@ -3,9 +3,7 @@
% \noi Merkle trees are used to create a cryptographic representation of both the voter census registry and the election state. -The state Merkle tree, denoted by $\hlget{\stateTree}$, represents the evolving state of the election. Like the census tree, it is implemented as a SMT of fixed depth, as described in Section~\ref{sec:cryptographic-primitives:merkle-trees}. In contrast to the census tree, which remains static once the election begins, the state tree is dynamic: it is updated throughout the election as new votes are cast, validated, and incorporated by the sequencers. - -The leaves of the state tree store the global election parameters, the encrypted ballots, and the set of vote identifiers, as illustrated in Figure~\ref{fig:mt-state}. More specifically: +The state Merkle tree, denoted by $\hlset{\stateTree}$, represents the evolving state of the election. It is implemented as a \ac{SMT} of fixed depth, as described in Section~\ref{sec:cryptographic-primitives:merkle-trees}, and is dynamic: it is updated throughout the election as new votes are cast, validated, and incorporated by the sequencers. The leaves of the state tree store the global election parameters, the encrypted ballots, and the set of vote identifiers, as illustrated in Figure~\ref{fig:mt-state} and described below. \paragraph{Reserved addresses for metadata.} The first six addresses are reserved for the process parameters as follows:@@ -34,4 +32,4 @@ \paragraph{Initial state.} At the beginning of the election, the state tree is initialized with the election parameters and empty accumulators, and its root ($\stateroot$) is published on-chain.
\paragraph{State transitions.} As the voting progresses, sequencers update the tree whenever new votes are received, producing a new root for each transition. To guarantee correctness, each update is accompanied by a \ac{ZK-SNARK} proof attesting that the transition from the previous root to the new root respects all protocol constraints: ballots are well-formed and comply with the voting rules, voters are eligible according to the census, the \voteid non-membership condition prevents double voting (or overwrites are handled correctly), and encrypted results are aggregated consistently. In addition, sequencers reencrypt stored ciphertexts, including both newly submitted and already included ballots. This mechanism refreshes the randomness of the encrypted votes without altering their underlying content, ensuring receipt-freeness and concealing whether a particular ballot has been overwritten or simply re-randomized. -In this way, the state tree provides a compact and tamper-proof commitment to the current status of the election. At the end of the election, the final state root together with the on-chain verification of all transitions serves as a complete cryptographic record of the election, encapsulating both the tally and the integrity of the entire voting procedure.+This way, the state tree provides a compact and tamper-proof commitment to the current status of the election. At the end of the election, the final state root together with the on-chain verification of all transitions serves as a complete cryptographic record of the election, encapsulating both the tally and the integrity of the entire voting procedure.
@@ -6,17 +6,21 @@ \subsection{Parties involved}
\label{sec:vocdoni-protocol:parties} \input{\secs/parties.tex} +\subsection{Smart contracts} +\label{sec:vocdoni-protocol:smart-contracts} +\input{\secs/smart-contracts.tex} + \subsection{Census} \label{sec:vocdoni-protocol:census} \input{\secs/census.tex} +%\subsection{Census old} +%\label{sec:vocdoni-protocol:census-old} +%\input{\secs/census-old.tex} + \subsection{State tree} \label{sec:vocdoni-protocol:state-tree} \input{\secs/state-tree.tex} - -\subsection{Smart contracts} -\label{sec:vocdoni-protocol:smart-contracts} -\input{\secs/smart-contracts.tex} \subsection{Circuits} \label{sec:vocdoni-protocol:circuits}