The error occurred at bn_mod_basic(output, output, q); and the error message is as follows:
ERROR in bn_grow() at /home/yang/relic-main/src/bn/relic_bn_mem.c,133: insufficient precision.
CAUGHT in bn_sub_imp() at /home/yang/relic-main/src/bn/relic_bn_add.c,111.
The error occurred at
bn_mod_basic(output, output, q);
and the error message is as follows: