Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemError occurs when adding and subtracting elements on GT #304

Open
xiale2015 opened this issue Apr 7, 2024 · 0 comments
Open

SystemError occurs when adding and subtracting elements on GT #304

xiale2015 opened this issue Apr 7, 2024 · 0 comments

Comments

@xiale2015
Copy link

xiale2015 commented Apr 7, 2024

the programma:

from charm.toolbox.pairinggroup import PairingGroup, ZR, G1, G2, GT, pair
groupObj = PairingGroup('MNT224') 
gt = groupObj.random(GT)
g2 = groupObj.random(GT)
result = gt -g2

the console outputs:

Traceback (most recent call last):
  File "/home/x/ex/scheme.py", line 284, in <module>
    main()
  File "/home/x/ex/scheme.py", line 252, in main
    gt - g2
SystemError: error return without exception set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant