davinci-paper/v2/sections/tmp.tex
v2/sections/tmp.texRaw
1% !TeX root = ../build/main.tex
2
3\subsection{Voter circuit}
4
5Figure~\ref{fig:circuit-voter}.
6
7\begin{figure}[H]
8 \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit-voter}}
9 \caption{Voter circuit. All public values are framed in green.}
10 \label{fig:circuit-voter}
11\end{figure}
12
13\textbf{Inputs}:
14
15\begin{itemize}
16 \setlength\itemsep{1em}
17 \item \public $\processid$: process identifier.
18 \item \public $\ballotmode$: ballot protocol configuration.
19 \item \public $EPK$: encryption public key.
20 \item \public voter's weight.
21 \item \public $C$: commitment.
22 \item \public $N$: nullifier.
23 \item \public $(C_1, C_2)$: encrypted ballot.
24%
25 \item \private $\address$: voter's address.
26 \item \private $ballot$: plaintext voter's voting choice.
27 \item \private $s$: blinder factor (secret).
28 \item \private $k$: random scalar.
29\end{itemize}
30
31
32\newpage
33\subsection{Authentication circuit}
34
35Figure~\ref{fig:circuit-authentication}.
36
37\begin{figure}[H]
38 \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit-authentication}}
39 \caption{Authentication circuit. All public values are framed in green.}
40 \label{fig:circuit-authentication}
41\end{figure}
42
43\textbf{Inputs}:
44
45\begin{itemize}
46 \setlength\itemsep{1em}
47 \item \public $\text{voteProof}$: voter's proof.
48 \item \public $\processid$: process identifier.
49 \item \public $\ballotmode$: ballot protocol configuration.
50 \item \public $EPK$: encryption public key.
51 \item \public $(C_1, C_2)$: encrypted ballot.
52 \item \public $C$: commitment.
53 \item \public $N$: nullifier.
54 \item \public Voter's weight.
55 \item \public $\text{censusProof}$: census membership proof.
56 \item \public $\text{censusRoot}$: census Merkle tree root.
57 \item \public $pk$: voter's address.
58 \item \public $\signature$: voter's signature.
59\end{itemize}
60
61\newpage
62\subsubsection{Aggregation circuit}
63
64Figure~\ref{fig:circuit-aggregate}.
65
66\begin{figure}[h]
67 \centerline{\includegraphics[width=400pt,draft=false]{\figs/circuit-aggregate}}
68 \caption{Aggregation circuit. All public values are framed in green.}
69 \label{fig:circuit-aggregate}
70\end{figure}
71
72\textbf{Inputs}:
73
74\begin{itemize}
75 \setlength\itemsep{1em}
76 \item \public $\text{authenticationProof}$: set of authentication proofs.
77 \item \public $C_i$: set of commitments.
78 \item \public $N_i$: set of nullifiers.
79 \item \public $\address_i$: list of voters' addresses.
80 \item \public $(C_1, C_2)$: list of voters' encrypted ballots.
81 \item \public $\weight_i$: Voters' weights.
82 \item \public $\processid$: process identifier.
83 \item \public $EPK$: encryption public key.
84 \item \public $\ballotmode$: ballot protocol configuration.
85 \item \public $\text{censusRoot}$: census Merkle tree root.
86\end{itemize}
87
88\newpage
89\subsubsection{State transition circuit}