arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
udpate public/private inputs to each circuit
bellesmarta belles.mm@gmail.com
Sun, 29 Jun 2025 21:33:41 +0200
commit

74a617a1137793815c2234a070799ab1530ec85a

parent

cbda76b0b11b3c67cee070e1d84052f6b1c845a1

M v2/build/main.tex → v2/build/main.tex

@@ -31,7 +31,7 @@ \end{abstract}

\martai{Change Vocdoni to DAVINCI.} -\martai{Mention that the spec can be tailored to the needs of the specific vote. So, here we present some default configuration, but some of the pieces can be changed (specially the cryptographic schemes or curves). For this reason, we tried to make this document modular (like the code), to facilitate the changes and the analysis of the consequences.} +\martai{Mention that the spec can be tailored to the needs of the specific vote. So, here we present some default configuration, but some of the pieces can be changed (specially the cryptographic schemes or curves). For this reason, we tried to make this document modular (like the code), to facilitate the changes and the analysis of the consequences.} \martai{Separate the roles of the sequencers from key generators?}
M v2/build/preamble-macros.tex → v2/build/preamble-macros.tex

@@ -87,6 +87,8 @@

% Voting protocol \newcommand{\variablestyle}[1]{\texttt{#1}\xspace} \newcommand{\voteproof}{\variablestyle{voteProof}} +\newcommand{\censusproof}{\variablestyle{censusProof}} +\newcommand{\authenticationproof}{\variablestyle{authenticationProof}} \newcommand{\voteid}{\variablestyle{voteID}} \newcommand{\ballot}{\variablestyle{ballot}} \newcommand{\vote}{\variablestyle{vote}}
M v2/figures/circuits.drawio → v2/figures/circuits.drawio

@@ -1,6 +1,6 @@

-<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0" version="27.1.6" pages="6"> +<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" version="27.1.6" pages="5"> <diagram name="1. voter-circuit" id="-BY3RIMELlOST2Ke_Soi"> - <mxGraphModel dx="1088" 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"> + <mxGraphModel dx="1321" dy="780" 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" />

@@ -143,7 +143,7 @@ </root>

</mxGraphModel> </diagram> <diagram name="2. authentication-circuit" id="o6OCBXuaYOciUBZEVznX"> - <mxGraphModel dx="1663" 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"> + <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"> <root> <mxCell id="6AO6W4_8KHMcSuPCPKqw-0" /> <mxCell id="6AO6W4_8KHMcSuPCPKqw-1" parent="6AO6W4_8KHMcSuPCPKqw-0" />

@@ -168,7 +168,7 @@ <mxPoint x="229.57999999999998" y="-449.88" as="sourcePoint" />

<mxPoint x="230" y="-320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-7" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{voteProof}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-7" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{voteProof}$$&lt;/div&gt;" 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">

@@ -190,7 +190,7 @@ </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=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <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">

@@ -198,7 +198,7 @@ <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=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <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">

@@ -240,7 +240,7 @@ <mxGeometry relative="1" as="geometry">

<mxPoint x="880" y="-320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="6AO6W4_8KHMcSuPCPKqw-25" value="&lt;div&gt;$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <mxCell id="6AO6W4_8KHMcSuPCPKqw-25" value="&lt;div&gt;$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$&lt;/div&gt;" 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">

@@ -274,7 +274,7 @@ </mxCell>

<mxCell id="6AO6W4_8KHMcSuPCPKqw-29" value="VOTER&#39;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=#f8cecc;strokeColor=#b85450;fontSize=11;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <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">

@@ -340,7 +340,7 @@ </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=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <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">

@@ -384,538 +384,466 @@ <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=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="6AO6W4_8KHMcSuPCPKqw-1" vertex="1"> + <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="2. authentication-circuit-bis" id="UPdaxIJmiyFzw_YjwQPH"> - <mxGraphModel dx="1663" dy="1630" 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. 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="BCmyCWQthUHdnjgJXqds-0" /> - <mxCell id="BCmyCWQthUHdnjgJXqds-1" parent="BCmyCWQthUHdnjgJXqds-0" /> - <mxCell id="BCmyCWQthUHdnjgJXqds-2" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="70" y="-730" width="1280" height="560" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-3" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="120" y="-640" width="1190" height="390" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-4" value="$$\text{Proof.verify}(\text{vote proof, public inputs})$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=10;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="130" y="-389.88" width="200" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-7" target="BCmyCWQthUHdnjgJXqds-4" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="159.89" y="-629.88" as="sourcePoint" /> - <mxPoint x="159.89" y="-579.88" as="targetPoint" /> - </mxGeometry> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-6" 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;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-4" edge="1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="229.57999999999998" y="-439.88" as="sourcePoint" /> - <mxPoint x="230" y="-219.88000000000034" as="targetPoint" /> - </mxGeometry> + <mxCell id="vWYVikCydA5HvOjBRwIf-0" /> + <mxCell id="vWYVikCydA5HvOjBRwIf-1" parent="vWYVikCydA5HvOjBRwIf-0" /> + <mxCell id="i_wgu6sUIYtOpveSoJkK-0" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" 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="BCmyCWQthUHdnjgJXqds-7" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{vote proof}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="150" y="-706.88" width="60" height="40" as="geometry" /> + <mxCell id="i_wgu6sUIYtOpveSoJkK-1" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" 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="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-9" target="BCmyCWQthUHdnjgJXqds-4" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="560" y="-430" as="sourcePoint" /> - <mxPoint x="760" y="-460.88" as="targetPoint" /> - <Array as="points"> - <mxPoint x="512" y="-430" /> - <mxPoint x="280" y="-430" /> - </Array> - </mxGeometry> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-9" value="$$\text{public inputs}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="421.51" y="-499.88" width="180" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-10" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-11" target="BCmyCWQthUHdnjgJXqds-9" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="510" y="-499.88" as="targetPoint" /> - </mxGeometry> + <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="BCmyCWQthUHdnjgJXqds-11" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="500.90999999999997" y="-867.53" width="21.21" height="419.25" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-13" target="BCmyCWQthUHdnjgJXqds-14" edge="1"> - <mxGeometry relative="1" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-5" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" 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="BCmyCWQthUHdnjgJXqds-13" value="$$pk$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1050" y="-706.88" width="60" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-14" value="$$\text{Hash}(pk)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1040" y="-589.88" width="80" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-15" value="$$\text{censusProof}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="770" y="-706.88" width="80" height="40" as="geometry" /> + <mxCell id="VWBkZtje_WCXQabFDbId-8" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" 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="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-17" target="BCmyCWQthUHdnjgJXqds-21" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1240" y="-299.88" as="targetPoint" /> - </mxGeometry> + <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="BCmyCWQthUHdnjgJXqds-17" value="$$\text{signature}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1200" y="-706.88" width="80" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-18" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-19" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="900" y="-460" as="targetPoint" /> + <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="BCmyCWQthUHdnjgJXqds-19" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="860" y="-706.88" width="80" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-21" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1200" y="-219.88000000000034" as="targetPoint" /> - </mxGeometry> + <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="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1100" y="-309.88" width="200" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;" parent="BCmyCWQthUHdnjgJXqds-1" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1080" y="-619.88" as="sourcePoint" /> - <mxPoint x="1200" y="-309.88" as="targetPoint" /> - <Array as="points"> - <mxPoint x="1200" y="-619.88" /> - </Array> - </mxGeometry> + <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="BCmyCWQthUHdnjgJXqds-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=11;startArrow=oval;startFill=1;jumpStyle=arc;" parent="BCmyCWQthUHdnjgJXqds-1" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="950" y="-530" as="sourcePoint" /> - <mxPoint x="950" y="-460" as="targetPoint" /> - <Array as="points"> - <mxPoint x="950" y="-470" /> - </Array> - </mxGeometry> + <mxCell id="KYVxoJJrrN6A2haL3CTe-1" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{authenticationProof}_i$$&lt;/div&gt;" 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="BCmyCWQthUHdnjgJXqds-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-25" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="880" y="-219.88000000000034" as="targetPoint" /> - </mxGeometry> + <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="BCmyCWQthUHdnjgJXqds-25" value="&lt;div&gt;$$\text{MT.verify}((\text{weight, address}), \text{censusProof, censusRoot})$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="720" y="-459.88" width="320" height="40" as="geometry" /> + <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="BCmyCWQthUHdnjgJXqds-26" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;exitPerimeter=0;startArrow=oval;startFill=1;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-11" edge="1"> + <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="719.58" y="-619.88" as="sourcePoint" /> - <mxPoint x="770" y="-460" as="targetPoint" /> - <Array as="points"> - <mxPoint x="721" y="-499.88" /> - <mxPoint x="770" y="-500" /> - </Array> + <mxPoint x="259.65999999999997" y="120" as="sourcePoint" /> + <mxPoint x="259.65999999999997" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-15" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="810" y="-460" as="targetPoint" /> - <mxPoint x="819.71" y="-659.88" as="sourcePoint" /> - <Array as="points"> - <mxPoint x="810" y="-460" /> - </Array> - </mxGeometry> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-14" target="BCmyCWQthUHdnjgJXqds-46" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="1080" y="-549.88" as="sourcePoint" /> - <mxPoint x="618" y="-499.88" as="targetPoint" /> - <Array as="points"> - <mxPoint x="1080" y="-529.88" /> - </Array> + <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="BCmyCWQthUHdnjgJXqds-29" value="VOTER&#39;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="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="130" y="-139.25" width="560" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-30" value="CENSUS MEMBERSHIP" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#f8cecc;strokeColor=#b85450;fontSize=11;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="730" y="-139.25" width="307.19" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-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="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1080" y="-139.25" width="230" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-32" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="400" y="-429.88" width="20" height="561.25" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-33" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="872.19" y="-302.67999999999995" width="20" height="306.87" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-34" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1184.19" y="-268" width="20" height="237.5" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-35" value="" style="endArrow=none;html=1;rounded=0;" parent="BCmyCWQthUHdnjgJXqds-1" target="BCmyCWQthUHdnjgJXqds-39" edge="1"> + <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="459.8" y="-658" as="sourcePoint" /> - <mxPoint x="459.8" y="-678" as="targetPoint" /> + <mxPoint x="409.66" y="120" as="sourcePoint" /> + <mxPoint x="409.66" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-36" value="" style="endArrow=none;html=1;rounded=0;entryX=0.497;entryY=0.247;entryDx=0;entryDy=0;entryPerimeter=0;" parent="BCmyCWQthUHdnjgJXqds-1" target="BCmyCWQthUHdnjgJXqds-38" edge="1"> + <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="384.8" y="-658" as="sourcePoint" /> - <mxPoint x="384.8" y="-678" as="targetPoint" /> + <mxPoint x="484.83" y="120" as="sourcePoint" /> + <mxPoint x="484.83" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-37" value="" style="endArrow=none;html=1;rounded=0;entryX=0.5;entryY=0.247;entryDx=0;entryDy=0;entryPerimeter=0;" parent="BCmyCWQthUHdnjgJXqds-1" target="BCmyCWQthUHdnjgJXqds-40" edge="1"> + <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="529.8" y="-658" as="sourcePoint" /> - <mxPoint x="529.8" y="-678" as="targetPoint" /> + <mxPoint x="574.83" y="120" as="sourcePoint" /> + <mxPoint x="574.83" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-38" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="350" y="-706.88" width="70" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-39" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="430" y="-706.88" width="60" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-40" value="$$(C_1, C_2)$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="500" y="-706.88" width="60" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-41" value="" style="endArrow=none;html=1;rounded=0;entryX=0.455;entryY=0.747;entryDx=0;entryDy=0;entryPerimeter=0;" parent="BCmyCWQthUHdnjgJXqds-1" target="BCmyCWQthUHdnjgJXqds-42" edge="1"> + <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="301.88" y="-658" as="sourcePoint" /> - <mxPoint x="301.88" y="-678" as="targetPoint" /> + <mxPoint x="659.83" y="120" as="sourcePoint" /> + <mxPoint x="659.83" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-42" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="270" y="-706.88" width="70" height="40" as="geometry" /> - </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-43" value="" style="endArrow=none;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;exitPerimeter=0;startArrow=oval;startFill=1;" parent="BCmyCWQthUHdnjgJXqds-1" edge="1"> + <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="620" y="-658" as="sourcePoint" /> - <mxPoint x="620" y="-580" as="targetPoint" /> - <Array as="points" /> + <mxPoint x="744.83" y="120" as="sourcePoint" /> + <mxPoint x="744.83" y="160" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-44" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.31;entryY=0.025;entryDx=0;entryDy=0;entryPerimeter=0;jumpStyle=arc;" parent="BCmyCWQthUHdnjgJXqds-1" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="620" y="-669.88" as="sourcePoint" /> - <mxPoint x="1172" y="-308.8800000000001" as="targetPoint" /> - <Array as="points"> - <mxPoint x="620" y="-360" /> - <mxPoint x="1172" y="-360" /> - </Array> - </mxGeometry> + </root> + </mxGraphModel> + </diagram> + <diagram name="4. state-transition-circuit" id="x6B-zyxiSRkjN1jwR15T"> + <mxGraphModel dx="2642" dy="1760" 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="ZdTqr67gGV_Two7x-mBu-0" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-1" parent="ZdTqr67gGV_Two7x-mBu-0" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-19" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.727;entryY=-0.02;entryDx=0;entryDy=0;entryPerimeter=0;" parent="ZdTqr67gGV_Two7x-mBu-1" source="ZdTqr67gGV_Two7x-mBu-4" target="JGRwFc0fyMI5h4bvW3bD-0" edge="1"> + <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-45" 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="BCmyCWQthUHdnjgJXqds-1" source="BCmyCWQthUHdnjgJXqds-46" target="BCmyCWQthUHdnjgJXqds-9" edge="1"> - <mxGeometry relative="1" as="geometry"> - <mxPoint x="810" y="-499.88" as="targetPoint" /> - <Array as="points"> - <mxPoint x="1009" y="-520" /> - <mxPoint x="1000" y="-520" /> - <mxPoint x="1000" y="-530" /> - <mxPoint x="569" y="-530" /> - </Array> - </mxGeometry> + <mxCell id="ZdTqr67gGV_Two7x-mBu-4" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="120" y="40" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-46" value="$$\text{address}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=default;strokeColor=none;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="979" y="-549.88" width="60" height="39.88" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-9" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="440" y="-10" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-47" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="190" y="-219.88" width="80" height="40" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-10" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="440" y="-110" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-48" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="840" y="-219.88" width="80" height="40" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-11" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="440" y="-60" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-49" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="1160" y="-219.88" width="80" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-13" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" source="ZdTqr67gGV_Two7x-mBu-12" target="phJliGzTQF7XW9zZiR-q-1" edge="1"> + <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-52" value="$$\text{weight}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="690" y="-706.88" width="60" height="40" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-12" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="320" y="40" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="BCmyCWQthUHdnjgJXqds-53" value="$$\text{voteID}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="BCmyCWQthUHdnjgJXqds-1" vertex="1"> - <mxGeometry x="590" y="-706.88" width="60" height="40" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-13" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="440" y="40" width="80" height="40" as="geometry" /> </mxCell> - </root> - </mxGraphModel> - </diagram> - <diagram name="3. aggregate-circuit" id="88JFnn8AstWJnzEelpN0"> - <mxGraphModel dx="3040" dy="785" 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="LlBItY6GOZu0n2DmgTnU-0" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="-110" y="60" width="1150" height="260" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-14" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="120" y="-10" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="LlBItY6GOZu0n2DmgTnU-1" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="-90" y="135" width="1110" height="95" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" source="ZdTqr67gGV_Two7x-mBu-32" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-100" y="160" as="targetPoint" /> + </mxGeometry> </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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="250.00000000000006" y="80" width="60" height="40" as="geometry" /> + <mxCell id="ZdTqr67gGV_Two7x-mBu-32" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{aggregationProof}_i$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="-160" y="40" width="120" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.038;entryY=0.021;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" source="VWBkZtje_WCXQabFDbId-0"> + <mxCell id="xnlEkFcDW3wDAF-mUqor-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" source="JGRwFc0fyMI5h4bvW3bD-0" target="xnlEkFcDW3wDAF-mUqor-0" edge="1"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="114.95999999999981" y="160.84000000000003" as="targetPoint" /> + <mxPoint x="60" y="270" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-0" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{voteProof}_i$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="80" y="80" width="70" height="40" as="geometry" /> + <mxCell id="JGRwFc0fyMI5h4bvW3bD-0" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="-160" y="160" width="440" height="40" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-2" value="$$\text{censusProof}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="470" y="80.00000000000011" width="80" height="40" as="geometry" /> + <mxCell id="tK7HVng925d0syRrVfO4-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;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="-170" y="440" width="440" height="40" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-3" value="$$\text{signature}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="570" y="80" width="80" height="40" as="geometry" /> + <mxCell id="d2DoWqZH1p_f5rfd7LTq-0" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="42.18" y="202.82" width="20" height="435" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="930" y="80" width="70" height="40" as="geometry" /> + <mxCell id="wiVq041o4hXXWoejm4On-0" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="720" y="440" width="400" height="40" as="geometry" /> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-5" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="760" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="wiVq041o4hXXWoejm4On-1" value="VOTES COUNT" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="480" y="440" width="200" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="850" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-0" value="VOTES REENCRYPTION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="290" y="440" width="140" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="170" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-11" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.083;entryY=-0.018;entryDx=0;entryDy=0;entryPerimeter=0;" parent="ZdTqr67gGV_Two7x-mBu-1" source="phJliGzTQF7XW9zZiR-q-1" target="phJliGzTQF7XW9zZiR-q-10" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="710" y="300" as="targetPoint" /> + <Array as="points"> + <mxPoint x="360" y="220" /> + <mxPoint x="680" y="220" /> + <mxPoint x="680" y="300" /> + <mxPoint x="680" y="300" /> + </Array> + </mxGeometry> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-8" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="670" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-1" value="$$ReEnc()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="320" y="160" width="80" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="330" y="80" width="40" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.271;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="ZdTqr67gGV_Two7x-mBu-1" source="phJliGzTQF7XW9zZiR-q-3" target="phJliGzTQF7XW9zZiR-q-10" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="770" y="190" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="VWBkZtje_WCXQabFDbId-12" value="$$\text{weight}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="390" y="80" width="60" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-3" value="&lt;div&gt;$$\text{totalNewVotes}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="720" y="80" width="100" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="425" y="270" width="80" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-4" value="&lt;div&gt;$$\text{totalOverwrites}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="720" y="30" width="100" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-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="509.71" y="120" as="sourcePoint" /> - <mxPoint x="509.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-5" value="$$AddBN254()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="520" y="320" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-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="279.71" y="120" as="sourcePoint" /> - <mxPoint x="279.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-6" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="1040" y="30" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-9" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="199.70999999999998" y="120" as="sourcePoint" /> - <mxPoint x="199.70999999999998" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-7" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="1040" y="80" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-10" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="349.71" y="120" as="sourcePoint" /> - <mxPoint x="349.71" y="160" as="targetPoint" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-27" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" source="phJliGzTQF7XW9zZiR-q-8" target="phJliGzTQF7XW9zZiR-q-10" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="880" y="215" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-11" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="419.71" y="120" as="sourcePoint" /> - <mxPoint x="419.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-8" value="merkleTree&lt;br&gt;parameters&lt;br&gt;witness" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="840" y="30" width="80" height="90" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-13" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="609.71" y="120" as="sourcePoint" /> - <mxPoint x="609.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-9" value="merkleTree&lt;br&gt;state transition proofs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="940" y="30" width="80" height="90" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-14" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="704.83" y="120" as="sourcePoint" /> - <mxPoint x="704.83" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="phJliGzTQF7XW9zZiR-q-10" value="$$MerkleTreeProcessor()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="640" y="320" width="480" height="40" as="geometry" /> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-15" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="794.83" y="120" as="sourcePoint" /> - <mxPoint x="794.83" y="160" as="targetPoint" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;" parent="ZdTqr67gGV_Two7x-mBu-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="560" y="220" as="sourcePoint" /> + <mxPoint x="560" y="320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="560" y="230" /> + <mxPoint x="560" y="230" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-16" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="879.83" y="120" as="sourcePoint" /> - <mxPoint x="879.83" y="160" as="targetPoint" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=oval;startFill=1;" parent="ZdTqr67gGV_Two7x-mBu-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="360" y="140" as="sourcePoint" /> + <mxPoint x="240" y="160" as="targetPoint" /> + <Array as="points"> + <mxPoint x="240" y="140" /> + <mxPoint x="240" y="160" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="QCU0WVTcZCZ_NDvB6I_U-17" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="964.83" y="120" as="sourcePoint" /> - <mxPoint x="964.83" y="160" as="targetPoint" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;jumpStyle=arc;" parent="ZdTqr67gGV_Two7x-mBu-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="480" y="120" as="sourcePoint" /> + <mxPoint x="200" y="160" as="targetPoint" /> + <Array as="points"> + <mxPoint x="320" y="120" /> + <mxPoint x="200" y="120" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="kuW-ZrGGYPgx6TDovwxI-0" value="SHARED POLLING PUBLIC INPUTS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="678" y="354.01" width="319" height="40" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=none;startFill=0;" parent="ZdTqr67gGV_Two7x-mBu-1" target="phJliGzTQF7XW9zZiR-q-10" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="480" y="80" as="sourcePoint" /> + <mxPoint x="480" y="180" as="targetPoint" /> + <Array as="points"> + <mxPoint x="480" y="160" /> + <mxPoint x="720" y="160" /> + </Array> + </mxGeometry> </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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="826.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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="-64" y="354.01" width="720" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="286.69" y="-22.5" width="20" height="725" as="geometry" /> + <mxCell id="phJliGzTQF7XW9zZiR-q-28" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.75" y="120" as="sourcePoint" /> + <mxPoint x="979.75" y="320" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="KYVxoJJrrN6A2haL3CTe-0" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" source="KYVxoJJrrN6A2haL3CTe-1"> + <mxCell id="phJliGzTQF7XW9zZiR-q-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="ZdTqr67gGV_Two7x-mBu-1" edge="1"> <mxGeometry relative="1" as="geometry"> - <mxPoint x="-5" y="160" as="targetPoint" /> + <mxPoint x="1079.75" y="120" as="sourcePoint" /> + <mxPoint x="1079.75" y="320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="KYVxoJJrrN6A2haL3CTe-1" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{authenticationProof}_i$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="-70" y="80" width="130" height="40" as="geometry" /> + <mxCell id="xnlEkFcDW3wDAF-mUqor-0" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="20" y="360" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="YQak7JiX628nDuEKiX8z-1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="vWYVikCydA5HvOjBRwIf-1" source="YQak7JiX628nDuEKiX8z-0" target="QCU0WVTcZCZ_NDvB6I_U-1"> - <mxGeometry relative="1" as="geometry" /> + <mxCell id="IpKGK8iQcOz9ALTK2j-a-0" value="$$ReEnc()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="890" y="200" width="80" height="40" 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;" vertex="1" parent="vWYVikCydA5HvOjBRwIf-1"> - <mxGeometry x="-70" y="160" width="1070" height="40" as="geometry" /> + <mxCell id="IpKGK8iQcOz9ALTK2j-a-1" value="Old votes also need to be reencrypted! (at least, some)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="ZdTqr67gGV_Two7x-mBu-1" vertex="1"> + <mxGeometry x="710" y="250" width="400" height="20" as="geometry" /> </mxCell> </root> </mxGraphModel> </diagram> - <diagram name="Copy of 3. aggregate-circuit" id="V9wotwbknZIt10WEv3Fl"> - <mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1100" pageHeight="850" math="1" shadow="0"> + <diagram name="Copy of 4. state-transition-circuit" id="4M9kqhw3Y8-IgwBPYDfn"> + <mxGraphModel dx="2782" dy="1843" 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="zN2cJIjQaCI12ElQYv9r-0" /> - <mxCell id="zN2cJIjQaCI12ElQYv9r-1" parent="zN2cJIjQaCI12ElQYv9r-0" /> - <mxCell id="zN2cJIjQaCI12ElQYv9r-2" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="40" y="60" width="1000" height="260" as="geometry" /> - </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1" source="zN2cJIjQaCI12ElQYv9r-4" target="zN2cJIjQaCI12ElQYv9r-19"> + <mxCell id="usbbzfsNIkUUJXwe7_7J-0" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-1" parent="usbbzfsNIkUUJXwe7_7J-0" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-2" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.727;entryY=-0.02;entryDx=0;entryDy=0;entryPerimeter=0;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-3" target="usbbzfsNIkUUJXwe7_7J-15" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-4" value="&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="60" y="135" width="960" height="95" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-3" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="120" y="40" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-5" value="$$\text{voteID}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="250.00000000000006" y="80" width="60" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-4" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="440" y="-170" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-6" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.038;entryY=0.021;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1" source="zN2cJIjQaCI12ElQYv9r-7" target="zN2cJIjQaCI12ElQYv9r-17"> + <mxCell id="usbbzfsNIkUUJXwe7_7J-5" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="440" y="-110" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-6" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="440" y="-60" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-7" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-8" target="usbbzfsNIkUUJXwe7_7J-22" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-7" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{voteProof}_i$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="80" y="80" width="70" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-8" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="320" y="40" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-8" value="$$\text{censusProof}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="470" y="80.00000000000011" width="80" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-9" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="440" y="40" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-9" value="$$\text{signature}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="570" y="80" width="80" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-10" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="120" y="-10" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-10" value="$$\text{censusRoot}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="930" y="80" width="70" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-13" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="-100" y="160" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-11" value="&lt;div&gt;$$\text{ballotMode}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="760" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-13" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;$$\text{aggregationProof}_i$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="-160" y="40" width="120" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-12" value="$$EPK$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="850" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-15" target="usbbzfsNIkUUJXwe7_7J-39" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="60" y="270" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-13" value="$$(C_1, C_2)_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="170" y="80.00000000000011" width="60" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-15" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="-160" y="160" width="440" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-14" value="&lt;div&gt;$$\text{processID}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="670" y="80.00000000000011" width="70" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-16" value="AGGREGATION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="-170" y="440" width="440" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-15" value="$$pk_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="330" y="80" width="40" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-17" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="42.18" y="202.82" width="20" height="435" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-16" value="$$\text{weight}_i$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="390" y="80" width="60" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-18" value="TRANSITION VERIFICATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="720" y="440" width="400" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-17" value="recursive SNARK batch verifier" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#fff2cc;strokeColor=#d6b656;fontFamily=Courier New;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="80" y="160" width="920" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-19" value="VOTES COUNT" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="480" y="440" width="200" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-18" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=11;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1" source="zN2cJIjQaCI12ElQYv9r-17"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="519.83" y="200" as="sourcePoint" /> - <mxPoint x="540" y="270" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-20" value="VOTES REENCRYPTION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="290" y="440" width="140" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.083;entryY=-0.018;entryDx=0;entryDy=0;entryPerimeter=0;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-22" target="usbbzfsNIkUUJXwe7_7J-32" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="710" y="300" as="targetPoint" /> + <Array as="points"> + <mxPoint x="360" y="220" /> + <mxPoint x="680" y="220" /> + <mxPoint x="680" y="300" /> + <mxPoint x="680" y="300" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-19" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="500" y="270" width="80" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-22" value="$$ReEnc()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="320" y="160" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-20" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="509.71" y="120" as="sourcePoint" /> - <mxPoint x="509.71" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-23" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.271;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-24" target="usbbzfsNIkUUJXwe7_7J-32" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="770" y="190" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-21" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="279.71" y="120" as="sourcePoint" /> - <mxPoint x="279.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="usbbzfsNIkUUJXwe7_7J-24" value="&lt;div&gt;$$\text{numNewVotes}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="710" y="80" width="120" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-22" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="199.70999999999998" y="120" as="sourcePoint" /> - <mxPoint x="199.70999999999998" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="usbbzfsNIkUUJXwe7_7J-25" value="&lt;div&gt;$$\text{numNewOverwrites}$$&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="710" y="30" width="120" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-23" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="349.71" y="120" as="sourcePoint" /> - <mxPoint x="349.71" y="160" as="targetPoint" /> - </mxGeometry> + <mxCell id="usbbzfsNIkUUJXwe7_7J-26" value="$$AddBN254()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#dae8fc;strokeColor=#6c8ebf;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="520" y="320" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-27" value="$$\text{stateRoot}^{\text{old}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="1040" y="30" width="80" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-28" value="$$\text{stateRoot}^{\text{new}}$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#d5e8d4;strokeColor=#82b366;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="1040" y="80" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-24" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="419.71" y="120" as="sourcePoint" /> - <mxPoint x="419.71" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-29" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" source="usbbzfsNIkUUJXwe7_7J-30" target="usbbzfsNIkUUJXwe7_7J-32" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="880" y="215" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-25" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="609.71" y="120" as="sourcePoint" /> - <mxPoint x="609.71" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-30" value="merkleTree&lt;br&gt;parameters&lt;br&gt;witness" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="840" y="30" width="80" height="90" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-31" value="merkleTree&lt;br&gt;state transition proofs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#f8cecc;strokeColor=#b85450;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="940" y="30" width="80" height="90" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-32" value="$$MerkleTreeProcessor()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#e1d5e7;strokeColor=#9673a6;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="640" y="320" width="480" height="40" as="geometry" /> + </mxCell> + <mxCell id="usbbzfsNIkUUJXwe7_7J-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.25;entryY=0;entryDx=0;entryDy=0;startArrow=oval;startFill=1;" parent="usbbzfsNIkUUJXwe7_7J-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="560" y="220" as="sourcePoint" /> + <mxPoint x="560" y="320" as="targetPoint" /> + <Array as="points"> + <mxPoint x="560" y="230" /> + <mxPoint x="560" y="230" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-26" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="704.83" y="120" as="sourcePoint" /> - <mxPoint x="704.83" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-34" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=oval;startFill=1;" parent="usbbzfsNIkUUJXwe7_7J-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="360" y="140" as="sourcePoint" /> + <mxPoint x="240" y="160" as="targetPoint" /> + <Array as="points"> + <mxPoint x="240" y="140" /> + <mxPoint x="240" y="160" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-27" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="794.83" y="120" as="sourcePoint" /> - <mxPoint x="794.83" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=oval;startFill=1;jumpStyle=arc;" parent="usbbzfsNIkUUJXwe7_7J-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="480" y="120" as="sourcePoint" /> + <mxPoint x="200" y="160" as="targetPoint" /> + <Array as="points"> + <mxPoint x="320" y="120" /> + <mxPoint x="200" y="120" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-28" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="879.83" y="120" as="sourcePoint" /> - <mxPoint x="879.83" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-36" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=none;startFill=0;" parent="usbbzfsNIkUUJXwe7_7J-1" target="usbbzfsNIkUUJXwe7_7J-32" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="480" y="80" as="sourcePoint" /> + <mxPoint x="480" y="180" as="targetPoint" /> + <Array as="points"> + <mxPoint x="480" y="160" /> + <mxPoint x="720" y="160" /> + </Array> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-29" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry width="50" height="50" relative="1" as="geometry"> - <mxPoint x="964.83" y="120" as="sourcePoint" /> - <mxPoint x="964.83" y="160" as="targetPoint" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="979.75" y="120" as="sourcePoint" /> + <mxPoint x="979.75" y="320" as="targetPoint" /> </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-30" value="SHARED POLLING PUBLIC INPUTS" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="678" y="354.01" width="319" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-38" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="usbbzfsNIkUUJXwe7_7J-1" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="1079.75" y="120" as="sourcePoint" /> + <mxPoint x="1079.75" y="320" as="targetPoint" /> + </mxGeometry> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-31" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="826.87" y="176.93" width="20" height="326.16" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-39" value="true" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fontFamily=Courier New;strokeColor=none;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="20" y="360" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-32" value="VOTES AGGREGATION" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Courier New;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="90" y="354.01" width="570" height="40" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-40" value="$$ReEnc()$$" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="890" y="200" width="80" height="40" as="geometry" /> </mxCell> - <mxCell id="zN2cJIjQaCI12ElQYv9r-33" value="" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;pointerEvents=1;rotation=-90;" vertex="1" parent="zN2cJIjQaCI12ElQYv9r-1"> - <mxGeometry x="364.19" y="55" width="20" height="570" as="geometry" /> + <mxCell id="usbbzfsNIkUUJXwe7_7J-41" value="Old votes also need to be reencrypted! (at least, some)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffe6cc;strokeColor=#d79b00;fontFamily=Courier New;" parent="usbbzfsNIkUUJXwe7_7J-1" vertex="1"> + <mxGeometry x="710" y="250" width="400" height="20" as="geometry" /> </mxCell> - </root> - </mxGraphModel> - </diagram> - <diagram id="QHg5vFNSHn3RRpshBNeP" name="4. state-transition-circuit"> - <mxGraphModel dx="1434" dy="753" 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="0" /> - <mxCell id="1" parent="0" /> </root> </mxGraphModel> </diagram>
M v2/sections/vocdoni-protocol.tex → v2/sections/vocdoni-protocol.tex

@@ -164,7 +164,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: $(C_1, C_2) = \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} (\address \conc \processid \conc k)$. \end{itemize}

@@ -189,17 +189,20 @@ \begin{spacing}{1.25}

\vspace{0.3cm} \noi \textbf{Public inputs} \begin{itemize} - \item \public $\voteproof$: voter's proof. \item \public $\processid$: process identifier. \item \public $\ballotmode$: ballot protocol configuration. \item \public $\epk$ ($EPK$): encryption public key. \item \public $(C_1, C_2)$: encrypted ballot. \item \public $\voteid$: voter's identifier. - \item \public $\weight$: voter's weight. - \item \public $\censuspf$: census membership proof. \item \public $\censusroot$: census Merkle tree root. \item \public $\pk$: voter's public key. - \item \public $\signature$: voter's signature. + \end{itemize} + \textbf{Private inputs} + \begin{itemize} + \item \private $\voteproof$: voter's proof. + \item \private $\weight$: voter's weight. + \item \private $\censuspf$: census membership proof. + \item \private $\signature$: voter's signature. \end{itemize} \textbf{Constraints} \begin{itemize}

@@ -231,23 +234,22 @@ \begin{spacing}{1.25}

\vspace{0.3cm} \noi \textbf{Public inputs} \begin{itemize} - \item \public $\text{authenticationProof}_i$: set of authentication proofs. - \item \public $\text{voteProof}_i$: set of authentication proofs. \item \public $(C_1, C_2)$: list of voters' encrypted ballots. \item \public $\voteid_i$: set of vote's identifiers. \item \public $\pk_i$: list of voters' public keys. - \item \public $\weight_i$: Voters' weights. - \item \public $\text{censusProof}_i$: Voters' weights. - \item \public $\signature_i$: Voters' weights. \item \public $\processid$: process identifier. \item \public $\ballotmode$: ballot protocol configuration. \item \public $EPK$: encryption public key. \item \public $\censusroot$: census Merkle tree root. \end{itemize} + \textbf{Private inputs} + \begin{itemize} + \item \private $\authenticationproof_i$: set of authentication proofs. + \end{itemize} \textbf{Constraints} \\ \vspace{-0.4cm} \begin{itemize} \item \emph{Votes aggregation.} The accumulated authentication zkProofs are valid (for the given inputs). - \item \emph{Shared public inputs.} The \processid, \censusroot, \ballotmode and $EPK$ are the same for all of them. + \item \emph{Shared public inputs.} The public inputs \processid, \ballotmode, \epk, and \censusroot are the same for all proofs. \end{itemize} \vspace{-0.3cm} \end{spacing}

@@ -261,7 +263,7 @@

\newpage \subsubsection{State transition circuit} -- BN254. \\ -\noi Given the aggregated votes proof, this circuit verifies the correct inclusion of all new votes into the process's state Merkle tree. It generates the final state transition proof that will be validated by the Ethereum smart contract. +\noi Given the aggregated votes proof, this circuit verifies the correct inclusion of all new votes into the process's state Merkle tree. It generates the final state transition proof that will be validated by the Ethereum smart contract. // This circuit verifies that a batch of votes correctly updates the global Merkle state root, including ballots, commitments, and results. It also verifies that the state transition corresponds to a valid proof aggregation and that overwritten votes are properly accounted for. \paragraph{Assertions.}

@@ -271,10 +273,6 @@ \item \emph{Transition verification}: The MerkleTree transition witness proves every change between Root1 and Root2.

\item \emph{Public inputs integrity}: ProcessID, BallotMode, CensusRoot, EncryptionKey remain unchanged. \item \emph{Votes counting}: Ballots are correctly counted as new or overwrites, and added to results accumulators. \end{itemize} - -\martai{The corresponding circuit figure is not done yet.} - -\noi \textit{Old original text, I think it will help here:} When a new voting process begins, the Sequencer initializes a new State, represented by the root hash of a Merkle tree. This tree encapsulates all essential information about the voting process, including process parameters, voter registry (census), ballot configurations, and initial results.