Closed Salterwater23 closed 4 months ago
If you're using 2048-bit Paillier, change the configuration option with BN_PRECI=2048
.
As per your suggestion, I changed the configuration options, but it still reports the error
Did you rebuild the library and your binaries?
The error you receive, and which I cannot reproduce, is exactly because the code is trying to allocate integers larger than the build-time configuration.
Closing in hope that the issue is solved.
The above is my code, which reports an error after running the ERROR in bn_make() at D:\evn\relic-main\src\bn\relic_bn_mem.c,81: (null). CAUGHT in bn_mul_comba() at D:\evn\relic-main\src\bn\relic_bn_mul.c,232. Encryption result: 1 Assertion failed: result == RLC_OK, file D:\vsproject\ProjectTestRelic\ProjectTestRelic\ProjectTestRelic.c, line 53 What is the cause of the following