why doesn't charm work with user defined curves

49 views
Skip to first unread message

suneeth yadav

unread,
Sep 15, 2022, 2:04:54 AM9/15/22
to Charm-Crypto Help
How can i use user defined curves for ex: type A curve with 1024 bit, 2048 bit, 3072 bit .
By default charm provides "SS512" Type A curve it means r=159 and q=512 
For my purpose i want to en cooperate Type A curve with following properties
1. " SS1024" (r=160,q=1024)
2.  "SS2048" (r=224,q=2048)
3. "SS3072" (r=256, q=3072)
4. "SS7680" (r=384, q =7680)

mpor...@gmail.com

unread,
Sep 19, 2022, 1:51:42 PM9/19/22
to Charm-Crypto Help
Verify how the SS512 curve is implemented (how the object is described, etc.) and then attempt to define new ones by changing the parameters that describe the curve.

suneeth yadav

unread,
Sep 20, 2022, 1:31:22 AM9/20/22
to Charm-Crypto Help
Yes, sir, we did that, but it's not working by changing the parameters of curves.
There is a file in the charm toolbox (pairingcurves.py) where we need to add the required curve parameters.
We accessed those curves in our code by changing the curve name, but the results showed an error when we compiled the code after adding the user curves; however, it still takes SS512 as the default.
We also gave the file's path (user-defined curve parameters file) as an argument in the code and tried to access the curves defined in it, but it's still not working.
Reply all
Reply to author
Forward
0 new messages