JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
541 stars 166 forks source link

Cannot build Charm with Relic 0.5 #273

Open lrusso96 opened 3 years ago

lrusso96 commented 3 years ago

Despite #262, when I try to enable the Relic pairing module, the compilation process fails:

error: conflicting types for ‘fp_write_bin’
charm/core/math/pairing/relic/relic_interface.c:48:6: error: conflicting types for ‘fp_write_bin’
48    |void fp_write_bin(unsigned char *str, int len, fp_t a)

previous declaration of ‘fp_write_bin’ was here
 709 | void fp_write_bin(uint8_t *bin, int len, const fp_t a);