Comments (5)
Ah - due to the deterministic nature of circuits, even when aIsInfinity == 1
, the usage of the circuit requires that a
is a point on the curve (you can put in a random point, as long as it is on E
). (See documentation: https://github.com/yi-sun/circom-pairing/tree/master/docs#ellipticcurveaddn-k-p).
Does that solve your issue?
from circom-pairing.
For now, I think I solved my problem by removing this thing. As for aggregating public keys, I don't need the double I think. Though I am not sure if this is 100% correct
from circom-pairing.
In your test case, is it (incorrectly) returning that out
is infinity?
The intended logic is that doub
should be ignored if aIsInfinity == 1
.
from circom-pairing.
It just throws an error when I calculate the witness.
This is the error I get
Error: Error: Assert Failed. Error in template Num2Bits_40 line: 38
I am ussing [[1, 0, 0, 0, 0, 0, 0], [1, 0, 0, 0, 0, 0, 0]]
for point at inifinity
from circom-pairing.
Yes, it does. Thanks
from circom-pairing.
Related Issues (16)
- Build scripts are failing HOT 5
- Potential edge case HOT 1
- Question about hash_to_field HOT 1
- Circomspect static analysis warnings HOT 1
- demo site failed to generate proof HOT 2
- c++ compiled code can not run in centos HOT 2
- RuntimeError: memory access out of bounds HOT 2
- Failing tests
- ./build_tatepairing.sh: line 46: /data/node/out/Release/node: No such file or directory
- how to generate inputs for optimalate circuit?
- how does the public.json is formated?
- PrimeReduce not leading to the correct result.
- create an node package
- Avoiding 0 signatures / public keys HOT 1
- Demo link seems to be broken from README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from circom-pairing.