BADA55-R-256
256-bit prime field Weierstrass curve.BADA55 curve from the https://bada55.cr.yp.to/bada55-20150927.pdf
Parameters
SAGE
p = 0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c03K = GF(p)a = K(0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c00)b = K(0xbada55bada55bada55bada55bada55bada55bada55bada55bada55bada55bd48)E = EllipticCurve(K, (a, b))# No generator definedE.set_order(0xf1fd178c0b3ad58f10126de8ce42435a1a8e3837861aa0efa0e52aec7379c967 * 0x01)
PARI/GP
p = 0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c03a = Mod(0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c00, p)b = Mod(0xbada55bada55bada55bada55bada55bada55bada55bada55bada55bada55bd48, p)E = ellinit([a, b])E[16][1] = 0xf1fd178c0b3ad58f10126de8ce42435a1a8e3837861aa0efa0e52aec7379c967 * 0x01\\ No generator defined
JSON
{"name": "BADA55-R-256","desc": "BADA55 curve from the https://bada55.cr.yp.to/bada55-20150927.pdf","form": "Weierstrass","field": {"type": "Prime","p": "0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c03","bits": 256},"params": {"a": {"raw": "0xf1fd178c0b3ad58f10126de8ce42435b3961adbcabc8ca6de8fcf353d86e9c00"},"b": {"raw": "0xbada55bada55bada55bada55bada55bada55bada55bada55bada55bada55bd48"}},"order": "0xf1fd178c0b3ad58f10126de8ce42435a1a8e3837861aa0efa0e52aec7379c967","cofactor": "0x01"}