While trying to run in cocks_pinch_example.py the first example cp.gen_params_from_r(r,k) using large values for r, for example a 256-bit long integer, I run into this issue :
5361 """
5362 if isinstance(b, int):
-> 5363 return mpz_kronecker_si(self.value, b)
5364 if not isinstance(b, Integer):
5365 b = Integer(b)
OverflowError: Python int too large to convert to C long
Have you run into this issue before ? If yes, how can you handle large integers that fit the standard recommandation of 128-bit level ?
Hello,
While trying to run in
cocks_pinch_example.py
the first examplecp.gen_params_from_r(r,k)
using large values forr
, for example a 256-bit long integer, I run into this issue :Have you run into this issue before ? If yes, how can you handle large integers that fit the standard recommandation of 128-bit level ?
Thanks !