@@ -465,10 +465,11 @@ \subsubsection{Interactive Version of the Proof}
465
465
466
466
\item
467
467
\begin {inlineAlgorithm }
468
- \algoName {$ \prove {enc}((N_i, K), e; (\alpha , \mu , r, \gamma )) \to (z_1 , z_2 , z_3 )$ }
468
+ \algoName {$ \prove {enc}((N_i, K), e; \rho , (\alpha , \mu , r, \gamma )) \to (z_1 , z_2 , z_3 )$ }
469
469
\algoInputsList {
470
470
\item public data $ (N_i, K) \in (\Z , \Z )$
471
471
\item challenge $ e \in \Z $
472
+ \item secret nonce $ \rho \in \Z $
472
473
\item local secret commitment none $ (\alpha , \mu , r, \gamma ) \in (\Z , \Z , \Z , \Z )$
473
474
}
474
475
\algoOutputs {$ (z_1 , z_2 , z_3 ) \in (\Z , \Z , \Z )$ }
@@ -493,6 +494,7 @@ \subsubsection{Interactive Version of the Proof}
493
494
}
494
495
\algoOutputs {aborts if proof is invalid}
495
496
\begin {algorithmic }[1]
497
+ \State $ K \? \in \Z ^*_{N_i}$
496
498
\State $ A \oplus (e \odot K) \? = \enc _{N_i}(z_1 ; z_2 ) \bmod N_i^2 $
497
499
\State $ s_j^{z_1} t_j^{z_3} \? = C \cdot S^e \bmod N_j$ \Comment {use precomputed multiexp table to compute left part of equation}
498
500
\State $ z_1 \? \in \pm 2 ^{\ell + \varepsilon }$ .
@@ -507,14 +509,14 @@ \subsubsection{Non-Interactive Version of the Proof}
507
509
508
510
\item
509
511
\begin {inlineAlgorithm }
510
- \algoName {$ \proveni {enc}^L(\state , R_j, (N_i, K); k[, \sk _i]) \to ((S, A, C); (z_1 , z_2 , z_3 ))$ }
512
+ \algoName {$ \proveni {enc}^L(\state , R_j, (N_i, K); k, \rho [, \sk _i]) \to ((S, A, C); (z_1 , z_2 , z_3 ))$ }
511
513
\algoInputsList {
512
514
\item security level $ L = (Q, \dots )$ ,
513
515
\item shared state $ \state \in \Bit ^*$ ,
514
516
\item auxilary data $ R_j$ ,
515
517
\item public encryption key $ N_i \in \Z $ and, if known, corresponding secret key $ \sk _i$ ,
516
- \item plaintext $ K \in \Z $ ,
517
- \item secret plaintext $ k \in \Z $
518
+ \item public ciphertext $ K \in \Z $ ,
519
+ \item secret plaintext $ k \in \Z $ and secret nonce $ \rho \in \Z $
518
520
}
519
521
\algoOutputsList {
520
522
\item public commitment $ (S, A, C) \in (\Z , \Z , \Z )$ ,
@@ -525,7 +527,7 @@ \subsubsection{Non-Interactive Version of the Proof}
525
527
\Comment {generate commitment}
526
528
\State $ e \in \pm Q = \challengeni {enc}^L(\state , R_j, (N_i, K), (S, A, C))$
527
529
\Comment {deterministically derive challenge}
528
- \State $ (z_1 , z_2 , z_3 ) = \prove {enc}((N_i, K), e; (\alpha , \mu , r, \gamma ))$
530
+ \State $ (z_1 , z_2 , z_3 ) = \prove {enc}((N_i, K), e; \rho , (\alpha , \mu , r, \gamma ))$
529
531
\State \Return $ ((S, A, C), (z_1 , z_2 , z_3 ))$
530
532
\end {algorithmic }
531
533
\end {inlineAlgorithm }
@@ -539,8 +541,8 @@ \subsubsection{Non-Interactive Version of the Proof}
539
541
\item auxilary data $ R_j$ ,
540
542
\item public data:
541
543
\begin {itemize }
542
- \item public encryption key $ N_i \in \Z $ ,
543
- \item plaintext $ K \in \Z $ ,
544
+ \item encryption key $ N_i \in \Z $ ,
545
+ \item ciphertext $ K \in \Z $ ,
544
546
\end {itemize }
545
547
\item non-interactive proof $ ((S, A, C), (z_1 , z_2 , z_2 )) \in ((\Z , \Z , \Z ), (\Z , \Z , \Z ))$
546
548
}
0 commit comments