add elliptic curve parameters (done)
bellesmarta belles.mm@gmail.com
Fri, 09 May 2025 18:42:16 +0200
4 files changed,
15 insertions(+),
10 deletions(-)
M
v2/build/preamble-macros.tex
→
v2/build/preamble-macros.tex
@@ -46,6 +46,11 @@ \newcommand{\G}{\ensuremath{\mathbb{G}}\xspace}
\newcommand{\F}{\ensuremath{\mathbb{F}}\xspace} \newcommand{\J}{\ensuremath{\mathbb{J}}\xspace} +% Elliptic curves +\newcommand{\BW}[1]{\ensuremath{{#1}^{\text{\tiny \sf BW}}}\xspace} +\newcommand{\BLS}[1]{\ensuremath{{#1}^{\text{\tiny \sf BLS}}}\xspace} +\newcommand{\BN}[1]{\ensuremath{{#1}^{\text{\tiny \sf BN}}}\xspace} + % Ballot protocol \newcommand{\ballotstyle}[1]{\texttt{#1}\xspace} \newcommand{\maxcount}{\ballotstyle{maxCount}}
M
v2/sections/cryptographic-primitives.tex
→
v2/sections/cryptographic-primitives.tex
@@ -40,18 +40,18 @@ \end{itemize}
\paragraph{Elliptic curve groups.} \begin{itemize} - \item BW6-761 curve: $E_1/\F_p$ defined by equation $E_1: y^2 = x^3 - 1$, with subgroups $\G_1, \G_2$ of prime order $q$, and an efficiently computable pairing \(e:\G_1\times\G_2 \rightarrow \G_T,\) where $\G_T \subset \F_{q^{6}}$ and has order $q$ as well. - \item BLS12-377 curve: $E_2/\F_q$ defined by equation \(E_2: y^2 = x^3 + 1,\) with subgroups $\G_1, \G_2$ of prime order $r$, and an efficiently computable pairing \(e:\G_1\times\G_2 \rightarrow \G_T,\) where $\G_T \subset \F_{q^{12}}$ and has order $r$ as well. - \item BN254 curve: $E_3/\F_s$ defined by equation \( E_3: y^2 = x^3 + 3\), where with subgroups $\G_1, \G_2$ of prime order $t$, and an efficiently computable pairing \(e:\G_1\times\G_2 \rightarrow \G_T,\) where $\G_T \subset \F_{q^{12}}$ and has order $t$ as well. + \item BW6-761 curve: $\BW{E}/\F_p$ defined by equation $\BW{E}: y^2 = x^3 - 1$, with subgroups $\BW{\G}_1, \BW{\G}_2$ of prime order $q$, and an efficiently computable pairing \({e}:\BW{\G}_1\times\BW{\G}_2 \rightarrow \BW{\G}_T,\) where $\BW{\G}_T \subset \F_{q^{6}}$ and has order $q$ as well. + \item BLS12-377 curve: $\BLS{E}/\F_q$ defined by equation \(\BLS{E}: y^2 = x^3 + 1,\) with subgroups $\BLS{\G}_1, \BLS{\G}_2$ of prime order $r$, and an efficiently computable pairing \({e}:\BLS{\G}_1\times\BLS{\G}_2 \rightarrow \BLS{\G}_T,\) where $\BLS{\G}_T \subset \F_{q^{12}}$ and has order $r$. + \item BN254 curve: $\BN{E}/\F_s$ defined by equation \( \BN{E}: y^2 = x^3 + 3\), where with subgroups $\BN{\G}_1, \BN{\G}_2$ of prime order $t$, and an efficiently computable pairing \(e:\BN{\G}_1\times\BN{\G}_2 \rightarrow \BN{\G}_T,\) where $\BN{\G}_T \subset \F_{q^{12}}$ and has order $t$. \end{itemize} \paragraph{Finite fields.} \begin{itemize} \item $\F_p$: base field of the BW6-761 curve. - \item $\F_q$: scalar field of $\G_1, \G_2, \G_T$ and base field of the BLS12-377 curve. - \item $\F_r$: scalar field of XXX. - \item $\F_s$: scalar field of XXX. - \item $\F_t$: scalar field of XXX. + \item $\F_q$: scalar field of $\BW{\G}_1, \BW{\G}_2, \BW{\G}_T$ and base field of the BLS12-377 curve. + \item $\F_r$: scalar field of $\BLS{\G}_1, \BLS{\G}_2, \BLS{\G}_T$. + \item $\F_s$: base field of the BN254 curve. + \item $\F_t$: scalar field of $\BN{\G}_1, \BN{\G}_2, \BN{\G}_T$. \end{itemize} %The primes and groups defined here will be used through the rest of the document.
M
v2/sections/vocdoni-protocol.tex
→
v2/sections/vocdoni-protocol.tex
@@ -123,9 +123,9 @@
The \textbf{Nullifier} $N$ is a 32-byte hash used to: \begin{itemize} - \item \textbf{Prevent Double Voting}: Ensures each voter can cast only one vote or overwrite their previous vote. - \item \textbf{Allow Vote Overwriting}: Voters can submit a new vote with the same nullifier to replace their previous vote. - \item \textbf{Provide Anonymity}: Cannot be linked back to the voter's identity without knowledge of the secret $s$. + \item \textbf{Prevent double voting}: Ensures each voter can cast only one vote or overwrite their previous vote. + \item \textbf{Allow vote overwrite}: Voters can submit a new vote with the same nullifier to replace their previous vote. + \item \textbf{Provide anonymity}: Cannot be linked back to the voter's identity without knowledge of the secret $s$. \end{itemize} $$ N = \text{Hash}(\text{C} || s) $$