Comments (5)
Oops, I made a mistake when pushing to the various branches. See if the latest commit solves it for you, as it should enable the KSS18 curve by default!
from relic.
Hi,
I still get the same error in the test for pc and in the benchmark, I'm not sure if this is normal.
I compile via the kss18-638 preset as:
$ /tmp/relic-target ../relic/preset/x64-pbc-kss18-638.sh ../relic
[...]
Then:
$ /tmp/relic-target/bin ./test_pc
-- Tests for the PC module:
ERROR THROWN in relic_ep_curve.c:141
-- Curve K18-P638:
-- Group G_1:
** Utilities:
Testing if memory can be allocated... [PASS]
Testing if comparison is consistent... [PASS]
Testing if copy and comparison are consistent... [FAIL]
(at /tmp/relic/test/test_pc.c:101)
$ /tmp/relic-target/bin ./bench_pc 1 ✘
-- RELIC 0.7.0 configuration:
** Allocation mode: AUTO
** Arithmetic backend: X64_ASM_10L
** Benchmarking options:
Number of times: 10000
** Multiple precision module options:
Precision: 1024 bits, 16 words
Arithmetic method: COMBA;COMBA;MONTY;SLIDE;BASIC;BASIC
** Prime field module options:
Prime size: 638 bits, 10 words
Arithmetic method: INTEG;INTEG;INTEG;MONTY;LOWER;LOWER;SLIDE
** Prime field extension module options:
Arithmetic method: INTEG;INTEG;LAZYR
** Prime elliptic curve module options:
Arithmetic method: PROJC;LWNAF;COMBS;INTER
** Bilinear pairing module options:
Arithmetic method: LAZYR;OATEP
** Binary field module options:
Polynomial size: 283 bits, 5 words
Arithmetic method: LODAH;QUICK;QUICK;QUICK;QUICK;QUICK;EXGCD;SLIDE;QUICK
** Binary elliptic curve module options:
Arithmetic method: PROJC;LWNAF;COMBS;INTER
** Elliptic Curve Cryptography module options:
Arithmetic method: PRIME
** Edwards Curve Cryptography module options:
Arithmetic method: PROJC;LWNAF;COMBS;INTER
** Hash function module options:
Chosen method: SH256
-- Benchmarks for the PC module:
ERROR THROWN in relic_ep_curve.c:141
I also run other tests this time, some seem to fail:
/tmp/relic-target/bin ./test_ep ✔
-- Tests for the EP module:
ERROR THROWN in relic_ep_curve.c:141
-- Curve K18-P638:
** Utilities:
Testing if memory can be allocated... [PASS]
Testing if copy and comparison are consistent... [FAIL]
(at /tmp/relic/test/test_ep.c:94)
/tmp/relic-target/bin ./test_epx 1 ✘
-- Tests for the EPX module
ERROR THROWN in relic_ep_curve.c:141
-- Curve K18-P638:
** Utilities:
Testing if memory can be allocated... [PASS]
Testing if copy and comparison are consistent... [FAIL]
(at /tmp/relic/test/test_epx.c:1243)
/tmp/relic-target/bin ./test_pp 1 ✘
-- Tests for the PP module
ERROR THROWN in relic_ep_curve.c:141
-- Curve K18-P638:
** Arithmetic
Testing if miller doubling is correct... [FAIL]
(at /tmp/relic/test/test_pp.c:1403)
from relic.
You're right and there were other errors that I hope to have just fixed. Can you try again?
from relic.
Yes, it works now. Thanks a lot.
from relic.
You're welcome, sorry for the partial commit ruining things on your side!
from relic.
Related Issues (20)
- RISCV64 Support HOT 1
- How to convert a fp12_t value into bn_t HOT 6
- Error thrown in Optimal Ate Pairing HOT 2
- bench_rand.c not compiling with RAND=CALL HOT 1
- Unable to install presets on M1 chip arm64 HOT 3
- Error in ep_param_set() HOT 8
- can not deduce the macro WSIZE on Apple M2 HOT 4
- BLS signatures with point compression HOT 2
- Want to use BN_254 curve HOT 1
- Build failure since recent commit HOT 1
- Compile failure on recent master HOT 4
- Compiling on M1 Mac HOT 1
- Compile Failue with x64-ecc-128 preset HOT 3
- cmake error the target not found HOT 2
- Homegaming HOT 1
- Leak the Secret Key of BBS Short Signature in Relic via Rowhammer HOT 4
- /demo/ers-etrs code running error HOT 3
- `bn_gcd_ext_binar` returns different Bezout coefficients HOT 2
- Problem while compiling HOT 12
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 relic.