#14 continued

Adds an assert for easier transitioning between the APIs, and renames `getECParams` to something more suitable.