Comments (6)
Value m_size
should be the length of m
, not its size.
from relic.
bn_t output
uint8_t output_hash[RLC_MD_LEN_SH256];
md_map_sh256(output_hash, input, input_len);
bn_read_bin(output, output_hash, RLC_MD_LEN_SH256);
bn_mod_basic(output, output, q);
Hello, I have modified my code, but I am encountering this error here.
ERROR in dv_zero() at /home/yang/relic-main/src/dv/relic_dv_util.c,57: insufficient precision.
from relic.
You should initialize output
with bn_new()
and finalize it too. Have you initialized q
as well with some group order?
from relic.
Thank you for your answer. My question has been resolved
from relic.
Another question, does the current Relic library support Merkle tree generation calculation?
from relic.
Nope, not implemented!
from relic.
Related Issues (20)
- 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
- Error generating lib file HOT 2
- Alerts for errors HOT 4
- ep_curve_set_map() HOT 13
- How to flexibly utilize bilinear mappings? HOT 29
- ERROR in bn_mod_basic(); HOT 2
- Dose it support SGX(Software Guard Extensions )? HOT 1
- Compatibility Inquiry: Bare Metal ARM Cortex-M0+ (Raspberry Pi Pico) with RELIC Library
- Solved compiling for android with Mac m1
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.