Revert "temporary ec math abstracted API. once we migrate to non-openssl code, I suspect the API will change/improve."

This reverts commit 21204fb3ca1b5d6c6a2f7bb0523af02ffb36916e.