JHUISI / charm

Charm: A Framework for Rapidly Prototyping Cryptosystems
http://charm-crypto.io
GNU Lesser General Public License v3.0
541 stars 166 forks source link

[Req] How to generate BLS12-318 curve parameters #288

Open pietrotedeschi opened 1 year ago

pietrotedeschi commented 1 year ago

Do you know how to generate the parameters for the pairing curve BLS12-318 in PBC (and use them in charm crypto)? Which type of curve is this one? Type f?

PekeDevil commented 1 year ago

The part about pairing groups in the documentation may be useful for you.

However, according to this code: https://github.com/JHUISI/charm/blob/dev/charm/toolbox/pairingcurves.py#L79-L84 the only PBC curves supported by charm are SS512, SS1024, MNT159, MNT201, MNT224 and BN254.

Finally, regarding the question about curve type, it may be more useful for you to ask that in a crypto stack exchange like this one: https://crypto.stackexchange.com/questions/62183/understanding-bls12-381-curve