[PATCH 3/6] eccdata: switch to using curve name instead of just bits