support elliptic curve class