unify .bib file entries
@@ -1,519 +1,459 @@
-@misc{todocitaton, - author = {{AAAATODOauthor}}, - title = {{TODOtitle remove it when cryptographic-primitives.tex "encryption key pair used for ballots encryption~\cite{todocitaton}." fixed}}, - url = {TODOurl}, - year = 9999 -} +@misc{todocitation, + author = {{AAAATODOauthor}}, + title = {{TODOtitle remove it when cryptographic-primitives.tex "encryption key pair used for ballots encryption~\cite{todocitation}." fixed}}, + url = {TODOurl}, + year = 9999} -@misc{nakamoto2012bitcoin, - author = {Nakamoto, Satoshi}, - title = {Bitcoin: A peer-to-peer electronic cash system}, - url = {http://www.bitcoin.org/bitcoin.pdf}, - year = 2009 -} +@article{diffie1976new, + author = {Diffie, Whitfield and Hellman, Martin}, + title = {New directions in cryptography}, + journal = {IEEE Transactions on Information Theory}, + publisher = {IEEE}, + volume = {22}, + number = {6}, + pages = {644--654}, + year = 1976} -@article{wood2014ethereum, - title={Ethereum: A secure decentralised generalised transaction ledger}, - author={Wood, Gavin and others}, - journal={Ethereum project yellow paper}, - volume={151}, - number={2014}, - pages={1--32}, - year={2014} -} +@article{elgamal1985public, + author = {ElGamal, Taher}, + title = {A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms}, + journal = {IEEE Transactions on Information Theory}, + volume = {31}, + number = {4}, + pages = {469--472}, + publisher = {IEEE}, + doi = {10.1109/TIT.1985.1057074}, + year = 1985} -@inproceedings{grassi21poseidon, - title={Poseidon: A New Hash Function for Zero-Knowledge Proof Systems}, - author={Grassi, Lorenzo and Khovratovich, Dmitry and Rechberger, Christian and Roy, Arnab and Schofnegger, Markus}, - booktitle={30th USENIX Security Symposium (USENIX Security 21)}, - pages={519--535}, - year={2021} -} +@inproceedings{fiat1986prove, + author = {Fiat, Amos and Shamir, Adi}, + title = {How to prove yourself: Practical solutions to identification and signature problems}, + booktitle = {Conference on the theory and application of cryptographic techniques}, + pages = {186--194}, + organization= {Springer}, + year = 1986} -@InProceedings{albrecht16mimc, - author="Albrecht, Martin - and Grassi, Lorenzo - and Rechberger, Christian - and Roy, Arnab - and Tiessen, Tyge", - editor="Cheon, Jung Hee - and Takagi, Tsuyoshi", - title="MiMC: Efficient Encryption and Cryptographic Hashing with Minimal Multiplicative Complexity", - booktitle="Advances in Cryptology -- ASIACRYPT 2016", - year="2016", - publisher="Springer Berlin Heidelberg", - address="Berlin, Heidelberg", - pages="191--219", - isbn="978-3-662-53887-6" -} +@inproceedings{merkle1987digital, + author = {Merkle, Ralph C}, + title = {A digital signature based on a conventional encryption function}, + booktitle = {Conference on the theory and application of cryptographic techniques}, + pages = {369--378}, + organization= {Springer}, + year = 1987} + +@inproceedings{schnorr1989efficient, + author = {Schnorr, Claus-Peter}, + title = {Efficient identification and signatures for smart cards}, + booktitle = {Conference on the Theory and Application of Cryptology}, + organization= {Springer}, + pages = {239--252}, + year = 1989} + +@inproceedings{pedersen1991noninteractive, + author = {Pedersen, Torben Pryds}, + title = {Non-interactive and information-theoretic secure verifiable secret sharing}, + booktitle = {Annual international cryptology conference}, + pages = {129--140}, + organization= {Springer}, + year = 1991} -@misc{bertoni11keccak, - author = {Bertoni, Guido and Daemen, Joan and Peeters, Michal and Van Assche, Gilles}, - title = {The {KECCAK SHA-3} submission}, - url = {https://keccak.team/files/Keccak-submission-3.pdf}, - year = 2011 -} +@book{blake1995elliptic, + author = {Blake, Ian F. and Seroussi, G. and Smart, N. P.}, + title = {Elliptic curves in cryptography}, + isbn = {0521653746}, + publisher = {Cambridge University Press}, + address = {USA}, + year = 1999} -@article{johnson01ecdsa, - author = {Johnson, Don and Menezes, Alfred and Vanstone, Scott}, - title = {The Elliptic Curve Digital Signature Algorithm ({ECDSA})}, - year = {2001}, - issue_date = {August 2001}, - publisher = {Springer - Verlag}, - address = {Berlin, Heidelberg}, - volume = {1}, - number = {1}, - issn = {1615-5262}, - url = {https://doi.org/10.1007/s102070100002}, - doi = {10.1007/s102070100002}, - journal = {Int. J. Inf. Secur.}, - month = {August}, - pages = {36--63}, - numpages = {28} -} +@inproceedings{jakobsson1996designated, + author = {Jakobsson, Markus and Sako, Kazue and Impagliazzo, Russell}, + title = {Designated Verifier Proofs and Their Applications}, + editor = {Maurer, Ueli}, + booktitle = {Advances in Cryptology --- EUROCRYPT '96}, + publisher = {Springer Berlin Heidelberg}, + address = {Berlin, Heidelberg}, + pages = {143--154}, + isbn = {978-3-540-68339-1}, + year = 1996} + +@inproceedings{pointcheval1996security, + author = {Pointcheval, David and Stern, Jacques}, + title = {Security proofs for signature schemes}, + booktitle = {International conference on the theory and applications of cryptographic techniques}, + organization= {Springer}, + pages = {387--398}, + year = 1996} -@article{gabizon2019plonk, - title={Plon{K}: Permutations over lagrange-bases for oecumenical noninteractive arguments of knowledge}, - author={Gabizon, Ariel and Williamson, Zachary J and Ciobotaru, Oana}, - journal={Cryptology ePrint Archive}, - year={2019} -} +@inproceedings{sutikno1998implementation, + author = {Sutikno, S. and Surya, A. and Effendi, R.}, + title = {An implementation of ElGamal elliptic curves cryptosystems}, + booktitle = {IEEE. APCCAS 1998. 1998 IEEE Asia-Pacific Conference on Circuits and Systems. Microelectronics and Integrating Systems. Proceedings (Cat. No.98EX242)}, + pages = {483-486}, + doi = {10.1109/APCCAS.1998.743829}, + year = 1998} -@inproceedings{kate2010constant, - title={Constant-size commitments to polynomials and their applications}, - author={Kate, Aniket and Zaverucha, Gregory M and Goldberg, Ian}, - booktitle={International conference on the theory and application of cryptology and information security}, - pages={177--194}, - year={2010}, - organization={Springer} -} +@inproceedings{damgaard2000practical, + author = {Damgård, Ivan and Koprowski, Maciej}, + title = {Practical Threshold RSA Signatures Without a Trusted Dealer}, + journal = {Lecture Notes in Computer Science}, + volume = {2045}, + isbn = {978-3-540-42070-5}, + doi = {10.1007/3-540-44987-6_10}, + month = {12}, + year = 2000} -@inproceedings{fuchsbauer2018algebraic, - title={The algebraic group model and its applications}, - author={Fuchsbauer, Georg and Kiltz, Eike and Loss, Julian}, - booktitle={Annual International Cryptology Conference}, - pages={33--62}, - year={2018}, - organization={Springer} -} +@article{johnson2001ecdsa, + author = {Johnson, Don and Menezes, Alfred and Vanstone, Scott}, + title = {The Elliptic Curve Digital Signature Algorithm ({ECDSA})}, + issue_date = {August 2001}, + publisher = {Springer - Verlag}, + address = {Berlin, Heidelberg}, + volume = {1}, + number = {1}, + issn = {1615-5262}, + url = {https://doi.org/10.1007/s102070100002}, + doi = {10.1007/s102070100002}, + journal = {Int. J. Inf. Secur.}, + pages = {36--63}, + numpages = {28}, + month = {August}, + year = 2001} -@INPROCEEDINGS{canetti2001universally, +@inproceedings{canetti2001universally, author = {Canetti, Ran}, - booktitle = {Proceedings 42nd IEEE Symposium on Foundations of Computer Science}, title = {Universally composable security: a new paradigm for cryptographic protocols}, - year = {2001}, - volume = {}, - number = {}, + booktitle = {Proceedings 42nd IEEE Symposium on Foundations of Computer Science}, pages = {136-145}, - doi = {10.1109/SFCS.2001.959888}} - -@misc{rfc7693, - series = {Request for Comments}, - number = 7693, - howpublished = {RFC 7693}, - publisher = {RFC Editor}, - note = {Available online: \url{ https://www.rfc-editor.org/info/rfc7693} (accessed on 1 June 2022)}, - author = {Markku-Juhani O. Saarinen and Jean-Philippe Aumasson}, - title = {{The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC)}}, - pagetotal = 30, - year = 2015, - month = nov, -} + doi = {10.1109/SFCS.2001.959888}, + year = 2001} -@article{diffie1976new, - title={New directions in cryptography}, - author={Diffie, Whitfield and Hellman, Martin}, - journal={IEEE Transactions on Information Theory}, - volume={22}, - number={6}, - pages={644--654}, - year={1976}, - publisher={IEEE} -} +@techreport{dworkin2007nist, + author = {Dworkin, Morris}, + title = {{NIST} Special Publication 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC}, + institution = {National Institute of Standards and Technology}, + url = {https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf}, + year = 2007} -@article{van2013cryptonote, - title={CryptoNote v 2.0}, - author={Van Saberhagen, Nicolas}, - year={2013} -} +@article{nakamoto2008bitcoin, + author = {Nakamoto, Satoshi}, + title = {Bitcoin: A peer-to-peer electronic cash system}, + journal = {Decentralized Business Review}, + year = 2008} + +@inproceedings{kate2010constant, + author = {Kate, Aniket and Zaverucha, Gregory M and Goldberg, Ian}, + title = {Constant-size commitments to polynomials and their applications}, + booktitle = {International conference on the theory and application of cryptology and information security}, + pages = {177--194}, + organization= {Springer}, + year = 2010} -@inproceedings{schnorr1989efficient, - title={Efficient identification and signatures for smart cards}, - author={Schnorr, Claus-Peter}, - booktitle={Conference on the Theory and Application of Cryptology}, - pages={239--252}, - year={1989}, - organization={Springer} -} +@misc{brown2010sec, + author = {Brown, Daniel~R.~L.}, + title = {{SEC 2}: Recommended Elliptic Curve Domain Parameters. {In}: Standards for Efficient Cryptography 2 ({SEC 2})}, + url = {https://www.secg.org/sec2-v2.pdf}, + year = 2010} -@inproceedings{fiat1986prove, - title={How to prove yourself: Practical solutions to identification and signature problems}, - author={Fiat, Amos and Shamir, Adi}, - booktitle={Conference on the theory and application of cryptographic techniques}, - pages={186--194}, - year={1986}, - organization={Springer} -} - -@inproceedings{pointcheval1996security, - title={Security proofs for signature schemes}, - author={Pointcheval, David and Stern, Jacques}, - booktitle={International conference on the theory and applications of cryptographic techniques}, - pages={387--398}, - year={1996}, - organization={Springer} -} - -@inproceedings{pedersen1991non, - title={Non-interactive and information-theoretic secure verifiable secret sharing}, - author={Pedersen, Torben Pryds}, - booktitle={Annual international cryptology conference}, - pages={129--140}, - year={1991}, - organization={Springer} -} +@misc{bertoni2011keccak, + author = {Bertoni, Guido and Daemen, Joan and Peeters, Michal and Van Assche, Gilles}, + title = {The {KECCAK SHA-3} submission}, + url = {https://keccak.team/files/Keccak-submission-3.pdf}, + year = 2011} @article{bertoni2011cryptographic, - title={Cryptographic sponges}, - author={Bertoni, Guido and Daemen, Joan and Peeters, Micha{\"e}l and Van Assche, Gilles}, - npte={Available online: \url{https://keccak.team/files/CSF-0.1.pdf} (accessed on 1 June 2022)}, - year={2011} -} - -@article{nakamoto2008bitcoin, - title={Bitcoin: A peer-to-peer electronic cash system}, - author={Nakamoto, Satoshi}, - journal={Decentralized Business Review}, - year={2008} -} - -@article{hopwood2016zcash, - title={Zcash protocol specification}, - author={Hopwood, Daira and Bowe, Sean and Hornby, Taylor and Wilcox, Nathan}, - journal={GitHub: San Francisco, CA, USA}, - pages={1}, - year={2016} -} - -@misc{cryptoeprint:2017/1066, - author = {Benedikt Bünz and Jonathan Bootle and Dan Boneh and Andrew Poelstra and Pieter Wuille and Greg Maxwell}, - title = {Bulletproofs: Short Proofs for Confidential Transactions and More}, - howpublished = {Cryptology ePrint Archive, Paper 2017/1066}, - year = {2017}, - note = {\url{https://eprint.iacr.org/2017/1066}}, - url = {https://eprint.iacr.org/2017/1066} -} + author = {Bertoni, Guido and Daemen, Joan and Peeters, Micha{\"e}l and Van Assche, Gilles}, + title = {Cryptographic sponges}, + note = {Available online: \url{https://keccak.team/files/CSF-0.1.pdf} (accessed on 1 June 2022)}, + year = 2011} + +@misc{nakamoto2012bitcoin, + author = {Nakamoto, Satoshi}, + title = {Bitcoin: A peer-to-peer electronic cash system}, + url = {http://www.bitcoin.org/bitcoin.pdf}, + year = 2009} + +@article{van2013cryptonote, + author = {Van Saberhagen, Nicolas}, + title = {CryptoNote v 2.0}, + year = 2013} -@inproceedings{sasson2014zerocash, - title={Zerocash: Decentralized anonymous payments from bitcoin}, - author={Sasson, Eli Ben and Chiesa, Alessandro and Garman, Christina and Green, Matthew and Miers, Ian and Tromer, Eran and Virza, Madars}, - booktitle={2014 IEEE symposium on security and privacy}, - pages={459--474}, - year={2014}, - organization={IEEE} -} +@incollection{reid2013analysis, + author = {Reid, Fergal and Harrigan, Martin}, + title = {An analysis of anonymity in the bitcoin system}, + booktitle = {Security and privacy in social networks}, + publisher = {Springer}, + pages = {197--223}, + year = 2013} -@misc{gdpr, - author = {}, - title = {Regulation ({EU}) 2016/679 of the {E}uropean {P}arliament and of the {C}ouncil of 27 {A}pril 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing {D}irective 95/46/{EC} ({G}eneral {D}ata {P}rotection {R}egulation) ({T}ext with {EEA} relevance)}, - note={Available online: \url{http://data.europa.eu/eli/reg/2016/679/oj} (accessed on 1 June 2022)} -} +@inproceedings{gennaro2013quadratic, + author = {Gennaro, Rosario and Gentry, Craig and Parno, Bryan and Raykova, Mariana}, + title = {Quadratic span programs and succinct NIZKs without PCPs}, + booktitle = {Annual International Conference on the Theory and Applications of Cryptographic Techniques}, + organization= {Springer}, + pages = {626--645}, + year = 2013} -@inproceedings{mixer, -author = {Tran, Muoi and Luu, Loi and Kang, Min Suk and Bentov, Iddo and Saxena, Prateek}, -title = {Obscuro: A Bitcoin Mixer Using Trusted Execution Environments}, -year = {2018}, -isbn = {9781450365697}, -publisher = {Association for Computing Machinery}, -address = {New York, NY, USA}, -url = {https://doi.org/10.1145/3274694.3274750}, -doi = {10.1145/3274694.3274750}, -booktitle = {Proceedings of the 34th Annual Computer Security Applications Conference}, -pages = {692–701}, -numpages = {10}, -keywords = {Trusted Execution Environments, Mixer, Intel SGX, Bitcoin, Anonymity}, -location = {San Juan, PR, USA}, -series = {ACSAC '18} -} +@inproceedings{danezis2014square, + author = {Danezis, George and Fournet, C{\'e}dric and Groth, Jens and Kohlweiss, Markulf}, + title = {Square span programs with applications to succinct NIZK arguments}, + booktitle = {International Conference on the Theory and Application of Cryptology and Information Security}, + pages = {532--550}, + organization= {Springer}, + year = 2014} -@misc{ccpa, - author = {}, - howpublished = {An act to add {T}itle 1.81.5 (commencing with {S}ection 1798.100) to {P}art 4 of {D}ivision 3 of the {C}ivil {C}ode, relating to privacy.}, - title = {{AB}-375 {P}rivacy: personal information: businesses.}, - year = {2018}, - note={Available online: \url{https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201720180AB375} (accessed on 1 June 2022)} -} +@incollection{herrera2014research, + author = {Herrera-Joancomart{\'\i}, Jordi}, + title = {Research and challenges on bitcoin anonymity}, + booktitle = {Data privacy management, autonomous spontaneous security, and security assurance}, + publisher = {Springer}, + pages = {3--16}, + year = 2014} -@misc{ethereum, - author = {Dr. Gavin Wood}, - title = {Ethereum: A Secure Decentralised Generalised Transaction Ledger - Berlin Version}, - year = {2022}, - url={https://ethereum.github.io/yellowpaper/paper.pdf} -} +@inproceedings{bonneau2014mixcoin, + author = {Bonneau, Joseph and Narayanan, Arvind and Miller, Andrew and Clark, Jeremy and Kroll, Joshua A and Felten, Edward W}, + title = {Mixcoin: Anonymity for bitcoin with accountable mixes}, + booktitle = {International Conference on Financial Cryptography and Data Security}, + organization= {Springer}, + pages = {486--504}, + year = 2014} -@incollection{reid2013analysis, - title={An analysis of anonymity in the bitcoin system}, - author={Reid, Fergal and Harrigan, Martin}, - booktitle={Security and privacy in social networks}, - pages={197--223}, - year={2013}, - publisher={Springer} -} +@article{wood2014ethereum, + author = {Wood, Gavin and others}, + title = {Ethereum: A secure decentralised generalised transaction ledger}, + journal = {Ethereum project yellow paper}, + volume = {151}, + number = {2014}, + pages = {1--32}, + year = 2014} -@incollection{herrera2014research, - title={Research and challenges on bitcoin anonymity}, - author={Herrera-Joancomart{\'\i}, Jordi}, - booktitle={Data privacy management, autonomous spontaneous security, and security assurance}, - pages={3--16}, - year={2014}, - publisher={Springer} -} +@inproceedings{sasson2014zerocash, + author = {Sasson, Eli Ben and Chiesa, Alessandro and Garman, Christina and Green, Matthew and Miers, Ian and Tromer, Eran and Virza, Madars}, + title = {Zerocash: Decentralized anonymous payments from bitcoin}, + booktitle = {2014 IEEE symposium on security and privacy}, + organization= {IEEE}, + pages = {459--474}, + year = 2014} -@inproceedings{bonneau2014mixcoin, - title={Mixcoin: Anonymity for bitcoin with accountable mixes}, - author={Bonneau, Joseph and Narayanan, Arvind and Miller, Andrew and Clark, Jeremy and Kroll, Joshua A and Felten, Edward W}, - booktitle={International Conference on Financial Cryptography and Data Security}, - pages={486--504}, - year={2014}, - organization={Springer} -} +@misc{rfc7693, + author = {Markku-Juhani O. Saarinen and Jean-Philippe Aumasson}, + title = {{The BLAKE2 Cryptographic Hash and Message Authentication Code (MAC)}}, + series = {Request for Comments}, + number = {7693}, + howpublished= {RFC 7693}, + publisher = {RFC Editor}, + note = {Available online: \url{ https://www.rfc-editor.org/info/rfc7693} (accessed on 1 June 2022)}, + pagetotal = {30}, + month = {nov}, + year = 2015} @inproceedings{groth2016size, - title={On the size of pairing-based non-interactive arguments}, - author={Groth, Jens}, - booktitle={Annual international conference on the theory and applications of cryptographic techniques}, - pages={305--326}, - year={2016}, - organization={Springer} -} + author = {Groth, Jens}, + title = {On the size of pairing-based non-interactive arguments}, + booktitle = {Annual international conference on the theory and applications of cryptographic techniques}, + organization= {Springer}, + pages = {305--326}, + year = 2016} @inproceedings{bootle2016efficient, - title={Efficient zero-knowledge arguments for arithmetic circuits in the discrete log setting}, - author={Bootle, Jonathan and Cerulli, Andrea and Chaidos, Pyrros and Groth, Jens and Petit, Christophe}, - booktitle={Annual International Conference on the Theory and Applications of Cryptographic Techniques}, - pages={327--357}, - year={2016}, - organization={Springer} -} + author = {Bootle, Jonathan and Cerulli, Andrea and Chaidos, Pyrros and Groth, Jens and Petit, Christophe}, + title = {Efficient zero-knowledge arguments for arithmetic circuits in the discrete log setting}, + booktitle = {Annual International Conference on the Theory and Applications of Cryptographic Techniques}, + organization= {Springer}, + pages = {327--357}, + year = 2016} -@inproceedings{gennaro2013quadratic, - title={Quadratic span programs and succinct NIZKs without PCPs}, - author={Gennaro, Rosario and Gentry, Craig and Parno, Bryan and Raykova, Mariana}, - booktitle={Annual International Conference on the Theory and Applications of Cryptographic Techniques}, - pages={626--645}, - year={2013}, - organization={Springer} -} - -@inproceedings{danezis2014square, - title={Square span programs with applications to succinct NIZK arguments}, - author={Danezis, George and Fournet, C{\'e}dric and Groth, Jens and Kohlweiss, Markulf}, - booktitle={International Conference on the Theory and Application of Cryptology and Information Security}, - pages={532--550}, - year={2014}, - organization={Springer} -} - -@article{goodell2019concise, - title={Concise Linkable Ring Signatures and Forgery Against Adversarial Keys}, - author={Goodell, Brandon and Noether, Sarang and Blue, Arthur}, - journal={Cryptology ePrint Archive}, - year={2019} -} +@inproceedings{albrecht2016mimc, + author = {Albrecht, Martin and Grassi, Lorenzo and Rechberger, Christian and Roy, Arnab and Tiessen, Tyge}, + title = {{MiMC}: Efficient Encryption and Cryptographic Hashing with Minimal Multiplicative Complexity}, + editor = {Cheon, Jung Hee and Takagi, Tsuyoshi}, + booktitle = {Advances in Cryptology -- ASIACRYPT 2016}, + publisher = {Springer Berlin Heidelberg}, + address = {Berlin, Heidelberg}, + pages = {191--219}, + isbn = {978-3-662-53887-6}, + year = 2016} + +@article{hopwood2016zcash, + author = {Hopwood, Daira and Bowe, Sean and Hornby, Taylor and Wilcox, Nathan}, + title = {Zcash protocol specification}, + journal = {GitHub: San Francisco, CA, USA}, + pages = {1}, + year = 2016} -@incollection{noether2020triptych, - title={Triptych: logarithmic-sized linkable ring signatures with applications}, - author={Noether, Sarang and Goodell, Brandon}, - booktitle={Data Privacy Management, Cryptocurrencies and Blockchain Technology}, - pages={337--354}, - year={2020}, - publisher={Springer} -} +@misc{gdpr, + author = {}, + title = {Regulation ({EU}) 2016/679 of the {E}uropean {P}arliament and of the {C}ouncil of 27 {A}pril 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing {D}irective 95/46/{EC} ({G}eneral {D}ata {P}rotection {R}egulation) ({T}ext with {EEA} relevance)}, + note = {Available online: \url{http://data.europa.eu/eli/reg/2016/679/oj}}, + year = 2016} -@article{zcashBLS, - title={Implementation of the {BLS}12-381 pairing-friendly elliptic curve construction}, - author={Bowe, Sean and Grigg, Jack}, - note={Available online: \url{https://github.com/zkcrypto/bls12_381} (accessed on 1 June 2022)} -} +@misc{bunz2017bulletproofs, + author = {Benedikt Bünz and Jonathan Bootle and Dan Boneh and Andrew Poelstra and Pieter Wuille and Greg Maxwell}, + title = {Bulletproofs: Short Proofs for Confidential Transactions and More}, + howpublished= {Cryptology ePrint Archive, Paper 2017/1066}, + note = {\url{https://eprint.iacr.org/2017/1066}}, + url = {https://eprint.iacr.org/2017/1066}, + year = 2017} -@article{zcashJubJub, - title={Implementation of the {J}ubjub elliptic curve group}, - author={Bowe, Sean and Ogilvie-Wigley, Eirik and and Grigg, Jack}, - note={Available online: \url{https://github.com/zkcrypto/jubjub} (accessed on 1 June 2022)} -} +@inproceedings{fuchsbauer2018algebraic, + author = {Fuchsbauer, Georg and Kiltz, Eike and Loss, Julian}, + title = {The algebraic group model and its applications}, + booktitle = {Annual International Cryptology Conference}, + pages = {33--62}, + organization= {Springer}, + year = 2018} -@book{katz2020introduction, - title={Introduction to modern cryptography}, - author={Katz, Jonathan and Lindell, Yehuda}, - year={2020}, - publisher={CRC press} -} +@inproceedings{muoi2018obscuro, + author = {Tran, Muoi and Luu, Loi and Kang, Min Suk and Bentov, Iddo and Saxena, Prateek}, + title = {Obscuro: A Bitcoin Mixer Using Trusted Execution Environments}, + isbn = {9781450365697}, + publisher = {Association for Computing Machinery}, + address = {New York, NY, USA}, + url = {https://doi.org/10.1145/3274694.3274750}, + doi = {10.1145/3274694.3274750}, + booktitle = {Proceedings of the 34th Annual Computer Security Applications Conference}, + pages = {692–701}, + numpages = {10}, + keywords = {Trusted Execution Environments, Mixer, Intel SGX, Bitcoin, Anonymity}, + location = {San Juan, PR, USA}, + series = {ACSAC '18}, + year = 2018} -@inproceedings{merkle1987digital, - title={A digital signature based on a conventional encryption function}, - author={Merkle, Ralph C}, - booktitle={Conference on the theory and application of cryptographic techniques}, - pages={369--378}, - year={1987}, - organization={Springer} -} +@misc{ccpa, + author = {}, + title = {{AB}-375 {P}rivacy: personal information: businesses.}, + howpublished= {An act to add {T}itle 1.81.5 (commencing with {S}ection 1798.100) to {P}art 4 of {D}ivision 3 of the {C}ivil {C}ode, relating to privacy.}, + note = {Available online: \url{https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201720180AB375}}, + year = 2018} -@techreport{dworkin2007nist, - title={{NIST} Special Publication 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC}, - author={Dworkin, Morris}, - year={2007}, - institution={National Institute of Standards and Technology}, - url={https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf} -} +@article{gabizon2019plonk, + author = {Gabizon, Ariel and Williamson, Zachary J and Ciobotaru, Oana}, + title = {Plon{K}: Permutations over lagrange-bases for oecumenical noninteractive arguments of knowledge}, + journal = {Cryptology ePrint Archive}, + year = 2019} -@article{elgamal1985public, - title={A Public Key Cryptosystem and a Signature Scheme Based on Discrete Logarithms}, - author={ElGamal, Taher}, - journal={IEEE Transactions on Information Theory}, - volume={31}, - number={4}, - pages={469--472}, - year={1985}, - publisher={IEEE}, - doi={10.1109/TIT.1985.1057074} -} +@misc{baylina2019sparse, + author = {Jordi Baylina and Marta Bellés}, + title = {Sparse {M}erkle Trees}, + url = {https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf}, + year = 2019} + +@article{goodell2019concise, + author = {Goodell, Brandon and Noether, Sarang and Blue, Arthur}, + title = {Concise Linkable Ring Signatures and Forgery Against Adversarial Keys}, + journal = {Cryptology ePrint Archive}, + year = 2019} +@misc{erc2494, + author = {Barry WhiteHat and Marta Bellés and Jordi Baylina}, + title = {{ERC-2494}: {B}aby {J}ubjub Elliptic Curve [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 2494, [Online serial]}, + url = {https://eips.ethereum.org/EIPS/eip-2494}, + month = {January}, + year = 2020} -@InProceedings{jakobsson1996designated, - author="Jakobsson, Markus and Sako, Kazue and Impagliazzo, Russell", - editor="Maurer, Ueli", - title="Designated Verifier Proofs and Their Applications", - booktitle="Advances in Cryptology --- EUROCRYPT '96", - year="1996", - publisher="Springer Berlin Heidelberg", - address="Berlin, Heidelberg", - pages="143--154", - isbn="978-3-540-68339-1" -} +@misc{eip3026, + author = {Youssef El Housni and Michael Connor and Aurore Guillevic}, + title = {{EIP-3026}: {BW6-761} curve operations [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 3026, [Online serial]}, + url = {https://eips.ethereum.org/EIPS/eip-3026}, + month = {October}, + year = 2020} -@inproceedings{damgaard2000practical, - author = {Damgård, Ivan and Koprowski, Maciej}, - year = {2000}, - month = {12}, - pages = {}, - title = {Practical Threshold RSA Signatures Without a Trusted Dealer}, - volume = {2045}, - isbn = {978-3-540-42070-5}, - journal = {Lecture Notes in Computer Science}, - doi = {10.1007/3-540-44987-6_10} -} +@misc{eip2539, + author = {Alex Vlasov and hujw77}, + title = {{EIP-2539}: {BLS12-377} curve operations [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 2539, [Online serial]}, + url = {https://eips.ethereum.org/EIPS/eip-2539}, + month = {February}, + year = 2020} +@misc{jancar2020bn256, + author = {Jancar, Jan}, + title = {Standard curve database: {BN254}}, + url = {https://neuromancer.sk/std/bn/bn254}, + year = 2020} + %BLS12-377 -@inproceedings{bowe20zexe, - author = {Sean Bowe and Alessandro Chiesa and Matthew Green and Ian Miers and Pratyush Mishra and Howard Wu}, - title = {{ZEXE:} Enabling Decentralized Private Computation}, - booktitle = {2020 {IEEE} Symposium on Security and Privacy, {SP} 2020, San Francisco, CA, USA, May 18-21, 2020}, - pages = {947--964}, - publisher = {{IEEE}}, - year = {2020}, - url = {https://doi.org/10.1109/SP40000.2020.00050}, - doi = {10.1109/SP40000.2020.00050}, - timestamp = {Mon, 03 Mar 2025 21:22:33 +0100}, - biburl = {https://dblp.org/rec/conf/sp/BoweC0MMW20.bib}, - bibsource = {dblp computer science bibliography, https://dblp.org} -} +@inproceedings{bowe2020zexe, + author = {Sean Bowe and Alessandro Chiesa and Matthew Green and Ian Miers and Pratyush Mishra and Howard Wu}, + title = {{ZEXE:} Enabling Decentralized Private Computation}, + booktitle = {2020 {IEEE} Symposium on Security and Privacy, {SP} 2020, San Francisco, CA, USA, May 18-21, 2020}, + pages = {947--964}, + publisher = {{IEEE}}, + url = {https://doi.org/10.1109/SP40000.2020.00050}, + doi = {10.1109/SP40000.2020.00050}, + timestamp = {Mon, 03 Mar 2025 21:22:33 +0100}, + biburl = {https://dblp.org/rec/conf/sp/BoweC0MMW20.bib}, + bibsource = {dblp computer science bibliography, https://dblp.org}, + year = 2020} + +@incollection{noether2020triptych, + author = {Noether, Sarang and Goodell, Brandon}, + title = {Triptych: logarithmic-sized linkable ring signatures with applications}, + booktitle = {Data Privacy Management, Cryptocurrencies and Blockchain Technology}, + pages = {337--354}, + publisher = {Springer}, + year = 2020} %BW6-761 -@InProceedings{elhousni20optimized, - author="El Housni, Youssef and Guillevic, Aurore", - editor="Krenn, Stephan - and Shulman, Haya - and Vaudenay, Serge", - title="Optimized and Secure Pairing-Friendly Elliptic Curves Suitable for One Layer Proof Composition", - booktitle="Cryptology and Network Security", - year="2020", - publisher="Springer International Publishing", - address="Cham", - pages="259--279", - isbn="978-3-030-65411-5" -} - -%BN254 -@misc{jancar20bn256, - author = {Jancar, Jan}, - title = {Standard curve database: {BN254}}, - url = {https://neuromancer.sk/std/bn/bn254}, - year = 2020 -} - -%BabyJubjub -@Article{belles21twisted, - AUTHOR = {Bellés-Muñoz, Marta and Whitehat, Barry and Baylina, Jordi and Daza, Vanesa and Muñoz-Tapia, Jose Luis}, - TITLE = {Twisted Edwards Elliptic Curves for Zero-Knowledge Circuits}, - JOURNAL = {Mathematics}, - VOLUME = {9}, - YEAR = {2021}, - NUMBER = {23}, - ARTICLE-NUMBER = {3022}, - URL = {https://www.mdpi.com/2227-7390/9/23/3022}, - ISSN = {2227-7390}, - DOI = {10.3390/math9233022} -} - -%SECP256K1 -@misc{brown10sec, - author = {Brown, Daniel~R.~L.}, - title = {{SEC 2}: Recommended Elliptic Curve Domain Parameters. {In}: Standards for Efficient Cryptography 2 ({SEC 2})}, - url = {https://www.secg.org/sec2-v2.pdf}, - year = 2010 -} +@inproceedings{elhousni2020optimized, + author = {El Housni, Youssef and Guillevic, Aurore}, + title = {Optimized and Secure Pairing-Friendly Elliptic Curves Suitable for One Layer Proof Composition}, + editor = {Krenn, Stephan and Shulman, Haya and Vaudenay, Serge}, + booktitle = {Cryptology and Network Security}, + publisher = {Springer International Publishing}, + address = {Cham}, + pages = {259--279}, + isbn = {978-3-030-65411-5}, + year = 2020} + +@book{katz2020introduction, + author = {Katz, Jonathan and Lindell, Yehuda}, + title = {Introduction to modern cryptography}, + publisher = {CRC press}, + year = 2020} + +@inproceedings{grassi2021poseidon, + author = {Grassi, Lorenzo and Khovratovich, Dmitry and Rechberger, Christian and Roy, Arnab and Schofnegger, Markus}, + title = {Poseidon: A New Hash Function for Zero-Knowledge Proof Systems}, + booktitle = {30th USENIX Security Symposium (USENIX Security 21)}, + pages = {519--535}, + year = 2021} -@misc{erc2494, - author = {Barry WhiteHat and Marta Bellés and Jordi Baylina}, - title = {{ERC-2494}: {B}aby {J}ubjub Elliptic Curve [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 2494, [Online serial]}, - url = {https://eips.ethereum.org/EIPS/eip-2494}, - year = {January 2020} -} +@article{belles2021twisted, + author = {Bellés-Muñoz, Marta and Whitehat, Barry and Baylina, Jordi and Daza, Vanesa and Muñoz-Tapia, Jose Luis}, + title = {Twisted Edwards Elliptic Curves for Zero-Knowledge Circuits}, + journal = {Mathematics}, + volume = {9}, + number = {23}, + article-number = {3022}, + url = {https://www.mdpi.com/2227-7390/9/23/3022}, + issn = {2227-7390}, + doi = {10.3390/math9233022}, + year = 2021} + +@misc{wood2022ethereum, + author = {Dr. Gavin Wood}, + title = {Ethereum: A Secure Decentralised Generalised Transaction Ledger - Berlin Version}, + url = {https://ethereum.github.io/yellowpaper/paper.pdf}, + year = 2022} -@misc{eip3026, - author = {Youssef El Housni and Michael Connor and Aurore Guillevic}, - title = {{EIP-3026}: {BW6-761} curve operations [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 3026, [Online serial]}, - url = {https://eips.ethereum.org/EIPS/eip-3026}, - year = {October 2020} -} +@misc{eip4844, + author = {Vitalik Buterin and Dankrad Feist and Diederik Loerakker and George Kadianakis and Matt Garnett and Mofi Taiwo and Ansgar Dietrichs}, + title = {{EIP-4844}: Shard Blob Transactions, {E}thereum {I}mprovement {P}roposals, no. 4844, [Online serial]}, + url = {https://eips.ethereum.org/EIPS/eip-4844}, + month = {February}, + year = 2022} -@misc{eip2539, - author = {Alex Vlasov and hujw77}, - title = {{EIP-2539}: {BLS12-377} curve operations [{DRAFT}], {E}thereum {I}mprovement {P}roposals, no. 2539, [Online serial]}, - url = {https://eips.ethereum.org/EIPS/eip-2539}, - year = {February 2020} -} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%% No year %%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -@misc{eip4844, - author = {Vitalik Buterin and Dankrad Feist and Diederik Loerakker and George Kadianakis and Matt Garnett and Mofi Taiwo and Ansgar Dietrichs}, - title = {{EIP-4844}: Shard Blob Transactions, {E}thereum {I}mprovement {P}roposals, no. 4844, [Online serial]}, - url = {https://eips.ethereum.org/EIPS/eip-4844}, - year = {February 2022} -} - -@misc{baylina19sparse, - author = {Jordi Baylina and Marta Bellés}, - title = {Sparse {M}erkle Trees}, - url = {https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf}, - year = {2019} +@misc{zcashBLS, + author = {Bowe, Sean and Grigg, Jack}, + title = {Implementation of the {BLS}12-381 pairing-friendly elliptic curve construction}, + note = {Available online: \url{https://github.com/zkcrypto/bls12_381} (accessed on 1 June 2022)} } -@book{blake95elliptic, - author = {Blake, Ian F. and Seroussi, G. and Smart, N. P.}, - title = {Elliptic curves in cryptography}, - year = {1999}, - isbn = {0521653746}, - publisher = {Cambridge University Press}, - address = {USA} +@misc{zcashJubJub, + author = {Bowe, Sean and Ogilvie-Wigley, Eirik and and Grigg, Jack}, + title = {Implementation of the {J}ubjub elliptic curve group}, + note = {Available online: \url{https://github.com/zkcrypto/jubjub} (accessed on 1 June 2022)} } - -@INPROCEEDINGS{sutikno98implementation, - author={Sutikno, S. and Surya, A. and Effendi, R.}, - booktitle={IEEE. APCCAS 1998. 1998 IEEE Asia-Pacific Conference on Circuits and Systems. Microelectronics and Integrating Systems. Proceedings (Cat. No.98EX242)}, - title={An implementation of ElGamal elliptic curves cryptosystems}, - year={1998}, - volume={}, - number={}, - pages={483-486}, - keywords={Public key cryptography}, - doi={10.1109/APCCAS.1998.743829}}
@@ -22,13 +22,10 @@
\institute{ Vocdoni Association -- \email{\{pau,painan,lucas\}@vocdoni.org} \and - Institution -- \email{email@email.com} + Pompeu Fabra University -- \email{marta.belles@upf.edu} \and Polytechnic University of Catalonia -- \email{\{roger.baig,jose.luis.munoz\}@upc.edu} -% \\ -% Last update: \today } -% election, vote, polling, ballot, selection, decision-making process \date{Last update: \today}
@@ -17,7 +17,7 @@ Ethereum is a decentralized blockchain platform that supports programmable transactions through its built-in execution environment, the \acf{EVM}. All interactions with the Ethereum network take the form of transactions, which must be broadcast to the network, validated by consensus, and permanently recorded on-chain. Every transaction requires the payment of a fee (gas), denominated in ETH, to compensate validators for computation and storage. This fee model ensures that resources are used efficiently and prevents denial-of-service attacks by making large or complex operations costly. In the context of \davinci, Ethereum serves as the settlement layer where critical commitments are published, ensuring transparency and immutability.
\paragraph{Smart contracts.} Smart contracts are programs deployed on the Ethereum blockchain that execute deterministically in response to transactions. Once deployed, they cannot be altered, and their execution is guaranteed by the consensus of the network. In \davinci, smart contracts orchestrate the voting process by managing state transitions and storing critical data such as the current state root and the encryption public key. They enforce the protocol rules in a trustless environment, ensuring that no single participant can manipulate the process. By anchoring these rules in Ethereum smart contracts, \davinci guarantees that the election logic is applied consistently and verifiably across all participants. -\paragraph{Data blobs.} Data availability is a key requirement for decentralized protocols. Ethereum’s recent EIP-4844~\cite{eip4844} introduces data blobs as a mechanism for publishing large volumes of off-chain data alongside transactions at a lower cost than traditional storage. These blobs are kept on-chain for 4096 epochs, approximately 18 days, after which they are pruned. For longer election periods, third-party solutions based on EIP-4844 can be used to extend data availability\cite{}. In \davinci, sequencers use data blobs to share state transition data efficiently. By publishing state updates in blobs, sequencers allow other participants to reconstruct and verify the evolution of the voting process without overloading Ethereum’s permanent storage. This ensures scalable, decentralized data availability while retaining verifiability. +\paragraph{Data blobs.} Data availability is a key requirement for decentralized protocols. Ethereum’s recent EIP-4844~\cite{eip4844} introduces data blobs as a mechanism for publishing large volumes of off-chain data alongside transactions at a lower cost than traditional storage. These blobs are kept on-chain for 4096 epochs, approximately 18 days, after which they are pruned. For longer election periods, third-party solutions based on EIP-4844 can be used to extend data availability~\cite{todocitation}. In \davinci, sequencers use data blobs to share state transition data efficiently. By publishing state updates in blobs, sequencers allow other participants to reconstruct and verify the evolution of the voting process without overloading Ethereum’s permanent storage. This ensures scalable, decentralized data availability while retaining verifiability. \subsection{Zero-knowledge proofs} \label{sec:background:zkp}@@ -37,7 +37,7 @@
%In general, zk-SNARKs for circuit satisfiability (CSAT) require arithmetic circuits to be expressed in a more algebraic form. A common representation is the rank-1 constraint system (R1CS) [GGPR13], which encodes computations as a set of quadratic constraints. A zk-SNARK proof then demonstrates, without revealing any private values, that the prover knows an assignment to all wires of the circuit that satisfies the R1CS. Tooling such as circom provides a high-level language to write arithmetic circuits while still exposing full control over the signals and constraints of the resulting R1CS. \paragraph{Arithmetic circuits.} In general, \acsp{ZK-SNARK} operate by proving the satisfiability of an arithmetic circuit. -An arithmetic circuit (from now on also called circuit or \ac{ZK} circuit) is a directed acyclic graph where nodes represent addition or multiplication gates over a finite field. The inputs and outputs of the circuit correspond to the public inputs and private witnesses of the computation, while the intermediate wires carry intermediate values. Any deterministic computation, from verifying an encryption to checking Merkle proofs, can be compiled into an arithmetic circuit \cite{todocitation}. +An arithmetic circuit (from now on also called circuit or \ac{ZK} circuit) is a directed acyclic graph where nodes represent addition or multiplication gates over a finite field. The inputs and outputs of the circuit correspond to the public inputs and private witnesses of the computation, while the intermediate wires carry intermediate values. Any deterministic computation, from verifying an encryption to checking Merkle proofs, can be compiled into an arithmetic circuit \cite{gennaro2013quadratic}. %The most widely studied language in the context of ZK-SNARK proofs is the NP-complete language of circuit satisfiability [BCC+ 16, PHGR13, BSCTV14b]. %zk-SNARKs prove statements about the satisfiability of arithmetic circuits. An arithmetic circuit is a directed acyclic graph consisting of addition and multiplication gates defined over a finite field. Such circuits are a convenient model for computation: any program or verification logic can be compiled into an arithmetic circuit, with its inputs, outputs, and intermediate constraints expressed as field operations. In practice, proving with \acsp{ZK-SNARK} means showing knowledge of a secret witness (e.g., a plaintext ballot or encryption randomness) that satisfies all the equations encoded in the circuit. For example, the ballot circuit in \davinci encodes the constraints that a ciphertext is well-formed, that the vote identifier is correctly derived, and that the ballot complies with the rules of the voting mode. The prover generates a proof of satisfiability, while the verifier only checks the proof against the public inputs, without learning the secret witness.
@@ -15,7 +15,7 @@
\subsection{Elliptic curves} \label{sec:cryptographic-primitives:elliptic-curves} -\Davinci relies on multiple elliptic curves to ensure interoperability with Ethereum, compatibility with available cryptographic primitives, and efficient in-circuit operations. On the one hand, SECP256K1~\cite{brown10sec} is used because Ethereum public keys are elements of this curve. As \Davinci assumes each voter holds a standard Ethereum address, cryptographic operations such as digital signatures and identity verification rely on SECP256K1 to match the Ethereum ecosystem. On the other hand, BN254~\cite{jancar20bn256} is chosen because it is the curve supported by Ethereum's precompiled contracts for ZK proof verification, which makes it the optimal choice for verifying SNARK proofs on-chain with minimal gas cost. Then, BabyJubjub~\cite{belles21twisted} is used as an inner curve for elliptic curve operations within arithmetic circuits. Finally, BLS12-377~\cite{bowe20zexe} and BW6-761~\cite{elhousni20optimized} are used to enable recursive proof composition. More specifically, BLS12-377 acts as the inner curve for constructing proofs, while BW6-761 serves as the outer curve that verifies those proofs within larger ZK-SNARK circuits. This pairing enables succinct verification and composability of ZK-SNARKs within other ZK-SNARKs, which we use for \davinci’s aggregation and state transition logic. Below, we give the details of these curves. +\Davinci relies on multiple elliptic curves to ensure interoperability with Ethereum, compatibility with available cryptographic primitives, and efficient in-circuit operations. On the one hand, SECP256K1~\cite{brown2010sec} is used because Ethereum public keys are elements of this curve. As \Davinci assumes each voter holds a standard Ethereum address, cryptographic operations such as digital signatures and identity verification rely on SECP256K1 to match the Ethereum ecosystem. On the other hand, BN254~\cite{jancar2020bn256} is chosen because it is the curve supported by Ethereum's precompiled contracts for ZK proof verification, which makes it the optimal choice for verifying SNARK proofs on-chain with minimal gas cost. Then, BabyJubjub~\cite{belles2021twisted} is used as an inner curve for elliptic curve operations within arithmetic circuits. Finally, BLS12-377~\cite{bowe2020zexe} and BW6-761~\cite{elhousni2020optimized} are used to enable recursive proof composition. More specifically, BLS12-377 acts as the inner curve for constructing proofs, while BW6-761 serves as the outer curve that verifies those proofs within larger ZK-SNARK circuits. This pairing enables succinct verification and composability of ZK-SNARKs within other ZK-SNARKs, which we use for \davinci’s aggregation and state transition logic. Below, we give the details of these curves. \paragraph{Parameters.}@@ -68,7 +68,7 @@ \end{itemize}
\paragraph{Generators.}\mbox{}\\ -\noi We denote by $\hlget{\SEC{G}}$ the generator of $\SEC{\G}$ as defined in~\cite{brown10sec}, $\hlget{\BN{G}}$ the generator of $\BN{\G}_1$ as defined in~\cite{wood2014ethereum}, $\hlget{\BJ{G}}$ the generator of $\BJ{\G}$ as defined in~\cite{erc2494}, $\hlget{\BW{G}}$ the generator of $\BW{\G}_1$ as defined in~\cite{eip3026}, and $\hlget{\BLS{G}}$ the generator of $\BLS{\G}_1$ as defined in~\cite{eip2539}. +\noi We denote by $\hlget{\SEC{G}}$ the generator of $\SEC{\G}$ as defined in~\cite{brown2010sec}, $\hlget{\BN{G}}$ the generator of $\BN{\G}_1$ as defined in~\cite{wood2014ethereum}, $\hlget{\BJ{G}}$ the generator of $\BJ{\G}$ as defined in~\cite{erc2494}, $\hlget{\BW{G}}$ the generator of $\BW{\G}_1$ as defined in~\cite{eip3026}, and $\hlget{\BLS{G}}$ the generator of $\BLS{\G}_1$ as defined in~\cite{eip2539}. \begin{itemize} \item@@ -160,7 +160,7 @@
\subsection{Hash functions} \label{sec:cryptographic-primitives:hash} -\Davinci uses different hash functions. On the one side, we use Keccak256~\cite{bertoni11keccak} for Ethereum address derivation, and Poseidon~\cite{grassi21poseidon}, MiMC and MiMC-7~\cite{albrecht16mimc} for arithmetic circuits within zero-knowledge proofs. +\Davinci uses different hash functions. On the one side, we use Keccak256~\cite{bertoni2011keccak} for Ethereum address derivation, and Poseidon~\cite{grassi2021poseidon}, MiMC and MiMC-7~\cite{albrecht2016mimc} for arithmetic circuits within zero-knowledge proofs. \paragraph{Keccak256.} Keccak256 is the standard hash function used by Ethereum and is employed in \davinci to compress messages for signing and deriving Ethereum addresses from public keys over $\SEC{\G}$. Keccak256 takes arbitrary-length bitstrings and outputs 256-bit digests: $\hlset{\Keccak} : \{0,1\}^* \rightarrow \{0,1\}^{256}$. This function is not SNARK-friendly and it is used exclusively in the authentication circuit, where the verification of Ethereum-compatible signatures requires reproducing the original message hash computed by Ethereum clients (see Section~\ref{sec:vocdoni-protocol:circuits:verifier}).@@ -186,7 +186,7 @@ \label{sec:cryptographic-primitives:merkle-trees}
{\color{blue}\textbf{TODO}: Add description of Incremental Merkle trees.}\\ -The \davinci protocol uses sparse Merkle Trees (SMTs) as its primary data structure for maintaining off-chain state. Following the construction in~\cite{baylina19sparse}, these are full binary trees of fixed depth in which each leaf encodes a key-value pair and empty leaves are explicitly represented, allowing for both inclusion and non-inclusion proofs. A key property of SMTs is that the hash of each key determines a unique traversal path from the root to the leaf, regardless of insertion order. When inserting a new key, the tree descends until it encounters either an empty node or a leaf. In case of a path collision, the algorithm splits at the first differing bit, creating intermediate nodes accordingly. +The \davinci protocol uses sparse Merkle Trees (SMTs) as its primary data structure for maintaining off-chain state. Following the construction in~\cite{baylina2019sparse}, these are full binary trees of fixed depth in which each leaf encodes a key-value pair and empty leaves are explicitly represented, allowing for both inclusion and non-inclusion proofs. A key property of SMTs is that the hash of each key determines a unique traversal path from the root to the leaf, regardless of insertion order. When inserting a new key, the tree descends until it encounters either an empty node or a leaf. In case of a path collision, the algorithm splits at the first differing bit, creating intermediate nodes accordingly. %SMTs support efficient membership and non‑membership proofs, enabling a party to prove that a given key-value is (or is not) present in the tree without revealing the content. In \davinci, SMTs are used to represent two core data structures: the census tree, which encodes the list of eligible voters along with their respective voting weights, and the state tree, which encodes the current status of submitted votes. Both trees have fixed depth 64. The census tree is instantiated with the MiMC hash function over the BLS12-377 scalar field, while the state tree uses Poseidon over the BN254 scalar field. Only the root hash of each tree is published on-chain, ensuring verifiability with minimal on-chain storage.@@ -207,7 +207,7 @@
\subsection{Digital signature schemes} \label{sec:cryptographic-primitives:signatures} -\Davinci uses the {elliptic curve digital signature algorithm} (ECDSA)~\cite{johnson01ecdsa} over the SECP256K1 curve to ensure compatibility with standard Ethereum wallets. %, such as MetaMask~\ref{} or Ledger~\ref{}, +\Davinci uses the {elliptic curve digital signature algorithm} (ECDSA)~\cite{johnson2001ecdsa} over the SECP256K1 curve to ensure compatibility with standard Ethereum wallets. %, such as MetaMask~\ref{} or Ledger~\ref{}, % %\Davinci uses the elliptic curve digital signature algorithm (ECDSA)~\cite{johnson01ecdsa} over the SECP256K1 curve for user authentication and vote authorization. This decision is taken to ensure that \davinci is compatible with standard Ethereum wallets, such as MetaMask~\ref{} or Ledger~\ref{}, without requiring users to generate or manage additional cryptographic keys. %@@ -256,7 +256,7 @@
\subsection{Encryption schemes} \label{sec:cryptographic-primitives:encryption} -To preserve ballot secrecy while enabling tallying, \davinci employs a threshold variant of the ElGamal cryptosystem instantiated over the BabyJubjub curve~\cite{sutikno98implementation}. This scheme offers two properties crucial for the protocol: \emph{additive homomorphism}, which allows the aggregation of encrypted votes without decryption, and \emph{re-encryption}, which enables ciphertext randomization without altering the underlying plaintext. Together, these properties allow sequencers to tally votes while preventing voters from producing receipts that could be used for coercion or vote selling. The corresponding public key is generated collectively by the sequencers via the distributed key generation protocol described in Section~\ref{sec:cryptographic-primitives:dkg}, ensuring that no single entity can decrypt ballots unilaterally. +To preserve ballot secrecy while enabling tallying, \davinci employs a threshold variant of the ElGamal cryptosystem instantiated over the BabyJubjub curve~\cite{sutikno1998implementation}. This scheme offers two properties crucial for the protocol: \emph{additive homomorphism}, which allows the aggregation of encrypted votes without decryption, and \emph{re-encryption}, which enables ciphertext randomization without altering the underlying plaintext. Together, these properties allow sequencers to tally votes while preventing voters from producing receipts that could be used for coercion or vote selling. The corresponding public key is generated collectively by the sequencers via the distributed key generation protocol described in Section~\ref{sec:cryptographic-primitives:dkg}, ensuring that no single entity can decrypt ballots unilaterally. \paragraph{Encryption and decryption.} Given a message $m$, the ElGamal encryption algorithm maps it into a group element $M$ of $\BJ{\G}$ and outputs a ciphertext as follows:@@ -285,7 +285,7 @@ \end{itemize}
\end{minipage} \end{mdframed} -Since the plaintext message space is typically small, recovering $m$ from $M$ is efficient: although the mapping $m \mapsto M$ is not generally invertible, it can be reversed by brute-force search or optimized techniques such as baby-step giant-step~\cite{blake95elliptic}.%Blake: section V.4. +Since the plaintext message space is typically small, recovering $m$ from $M$ is efficient: although the mapping $m \mapsto M$ is not generally invertible, it can be reversed by brute-force search or optimized techniques such as baby-step giant-step~\cite{blake1995elliptic}.%Blake: section V.4. \paragraph{Homomorphic addition and reencryption.} ElGamal encryption is additively homomorphic. Given two ciphertexts $(C_1, C_2)$ and $(C_1', C_2')$, their component-wise addition yields another valid ciphertext $(C_1 + C_1',\, C_2 + C_2')$. The resulting ciphertext decrypts to the sum of the two underlying messages. This property allows sequencers to aggregate encrypted ballots directly. Moreover, to prevent linkability and ensure receipt-freeness, sequencers also re-randomize ciphertexts. Re-encryption exploits this property by adding to a ciphertext an encryption of zero. This operation yields a fresh ciphertext of the same message under new randomness, making it computationally infeasible to link the re-encrypted ballot with the original submission.