alinush / libpolycrypto Goto Github PK
View Code? Open in Web Editor NEW(Towards) Scalable Threshold Crypto: BLS threshold signatures with millions of signers and a scalable Distributed Key Generation (and VSS) protocol
License: MIT License
(Towards) Scalable Threshold Crypto: BLS threshold signatures with millions of signers and a scalable Distributed Key Generation (and VSS) protocol
License: MIT License
The writeup here states:
Our work also address how to scale the necessary distributed key generation (DKG) protocol needed to bootstrap a BLS threshold signature scheme. We present these results in another post.
Unfortunately the link https://alinush.github.io/2020/03/12/2020/03/12/towards-scalable-vss.html to the other post is a 404.
When build the project by running make.sh, there is an [-Werror=sign-conversion] error.
Please see the detail:
ubuntu@ip-172-31-5-148:~/libpolycrypto$ make.sh
Making in '/home/ubuntu/builds/polycrypto/master/release' ...
[ 1%] Building CXX object libpolycrypto/src/CMakeFiles/polycrypto.dir/FFThresh.cpp.o
[ 2%] Building CXX object libpolycrypto/src/CMakeFiles/polycrypto.dir/KateDkg.cpp.o
[ 4%] Building CXX object libpolycrypto/src/CMakeFiles/polycrypto.dir/AmtDkg.cpp.o
[ 5%] Building CXX object libpolycrypto/src/CMakeFiles/polycrypto.dir/PolyCrypto.cpp.o
/home/ubuntu/libpolycrypto/libpolycrypto/src/PolyCrypto.cpp: In function ‘std::size_t boost::hash_value(const Fr&)’:
/home/ubuntu/libpolycrypto/libpolycrypto/src/PolyCrypto.cpp:114:68: error: conversion to ‘long int’ from ‘size_t {aka long unsigned int}’ may change the sign of the result [-Werror=sign-conversion]
auto h = boost::hash_range<unsigned char*>(buf, buf + buf.size());
^
cc1plus: all warnings being treated as errors
libpolycrypto/src/CMakeFiles/polycrypto.dir/build.make:75: recipe for target 'libpolycrypto/src/CMakeFiles/polycrypto.dir/PolyCrypto.cpp.o' failed
make[2]: *** [libpolycrypto/src/CMakeFiles/polycrypto.dir/PolyCrypto.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:120: recipe for target 'libpolycrypto/src/CMakeFiles/polycrypto.dir/all' failed
make[1]: *** [libpolycrypto/src/CMakeFiles/polycrypto.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Thank you for this effort :) What is the code licensed under? (MIT and/or Apache 2.0 would be fantastic.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.