Tweedledee
255-bit prime field Weierstrass curve.Tweedledee pairing friendly curve from https://github.com/daira/tweedle.
Parameters
SAGE
p = 0x40000000000000000000000000000000038aa127696286c9842cafd400000001K = GF(p)a = K(0x00)b = K(0x05)E = EllipticCurve(K, (a, b))G = E(0x40000000000000000000000000000000038aa127696286c9842cafd400000000, 0x02)E.set_order(0x40000000000000000000000000000000038aa1276c3f59b9a14064e200000001 * 0x01)
PARI/GP
p = 0x40000000000000000000000000000000038aa127696286c9842cafd400000001a = Mod(0x00, p)b = Mod(0x05, p)E = ellinit([a, b])E[16][1] = 0x40000000000000000000000000000000038aa1276c3f59b9a14064e200000001 * 0x01G = [Mod(0x40000000000000000000000000000000038aa127696286c9842cafd400000000, p), Mod(0x02, p)]
JSON
{"name": "Tweedledee","desc": "Tweedledee pairing friendly curve from <https://github.com/daira/tweedle>.","form": "Weierstrass","field": {"type": "Prime","p": "0x40000000000000000000000000000000038aa127696286c9842cafd400000001","bits": 255},"params": {"a": {"raw": "0x00"},"b": {"raw": "0x05"}},"generator": {"x": {"raw": "0x40000000000000000000000000000000038aa127696286c9842cafd400000000"},"y": {"raw": "0x02"}},"order": "0x40000000000000000000000000000000038aa1276c3f59b9a14064e200000001","cofactor": "0x01"}