snucrypto / HEAAN

Other
359 stars 94 forks source link

help!help! #76

Open zzzhhhlll opened 1 year ago

zzzhhhlll commented 1 year ago

-------Size of RING---- -------Size of SK Ring---- 7831 -------Size of RING---- -------Size of SK Ring---- 7936 -------Size of RING---- -------Print the SK---- 0x7f98d26de018division by zero in _ntl_gdivdivision by zero in _ntl_gdiv

division by zero in _ntl_gdiv

I don't know how to solve "division by zero in _ntl_gdiv" ubuntu 18.04 gmp-6.12 ntl-11.5.1

I discover something as follows

ZZ qQ = ring.qpows[plain.logq + logQ]; plain.logq is 1200 logQ is 800

by testing ,qQ is 0 , why?